smb_netconnectinfo_encode
rc = smb_netconnectinfo_encode(&info, buf, buflen, nbytes);
int smb_netconnectinfo_encode(smb_netconnectinfo_t *, uint8_t *, uint32_t,