mbuf_chain_t
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t *mbc;
mbuf_chain_t mbc, mbc2;
mbuf_chain_t *mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t *mbc;
mbuf_chain_t mbc;
mbuf_chain_t mbc;
mbuf_chain_t *mbcin, mbuf_chain_t *mbcout)
mbuf_chain_t *, mbuf_chain_t *);
mbuf_chain_t *mbcin,
mbuf_chain_t *mbcout)
mbuf_chain_t *mbc = &sr->raw_data;
smb2_encode_create_ctx_elem(mbuf_chain_t *out_mbc,
mbuf_chain_t cce_mbc;
mbuf_chain_t cc_in_mbc;
mbuf_chain_t *in_mbc = &cc->cc_in_mbc;
mbuf_chain_t name_mbc;
mbuf_chain_t *, smb2_create_ctx_elem_t *, uint32_t);
smb2sr_put_error_data(smb_request_t *sr, uint32_t status, mbuf_chain_t *mbc)
mbuf_chain_t *mbc)
smb2sr_put_error_ctx0(smb_request_t *sr, uint32_t status, mbuf_chain_t *mbc)
smb2_fsctl_copychunk_decode(smb_request_t *sr, mbuf_chain_t *mbc)
static uint32_t smb2_fsctl_copychunk_decode(smb_request_t *, mbuf_chain_t *);
static int smb_odx_get_token(mbuf_chain_t *, smb_odx_token_t *);
static int smb_odx_get_token_native1(mbuf_chain_t *, struct tok_native1 *);
static int smb_odx_put_token(mbuf_chain_t *, smb_odx_token_t *);
static int smb_odx_put_token_native1(mbuf_chain_t *, struct tok_native1 *);
smb_odx_get_token(mbuf_chain_t *mbc, smb_odx_token_t *tok)
mbuf_chain_t tok_mbc;
smb_odx_get_token_native1(mbuf_chain_t *mbc, struct tok_native1 *tn1)
smb_odx_put_token(mbuf_chain_t *mbc, smb_odx_token_t *tok)
smb_odx_put_token_native1(mbuf_chain_t *mbc, struct tok_native1 *tn1)
mbuf_chain_t in_mbc;
smb_dfs_encode_hdr(mbuf_chain_t *mbc, dfs_info_t *referrals)
smb_dfs_encode_refv1(smb_request_t *sr, mbuf_chain_t *mbc,
smb_dfs_encode_refv2(smb_request_t *sr, mbuf_chain_t *mbc,
smb_dfs_encode_refv3x(smb_request_t *sr, mbuf_chain_t *mbc,
smb_dfs_encode_targets(mbuf_chain_t *mbc, dfs_info_t *referrals)
static void smb_dfs_encode_hdr(mbuf_chain_t *, dfs_info_t *);
static uint32_t smb_dfs_encode_refv1(smb_request_t *, mbuf_chain_t *,
static uint32_t smb_dfs_encode_refv2(smb_request_t *, mbuf_chain_t *,
static uint32_t smb_dfs_encode_refv3x(smb_request_t *, mbuf_chain_t *,
static void smb_dfs_encode_targets(mbuf_chain_t *, dfs_info_t *);
mbc_marshal_store_byte(mbuf_chain_t *mbc, uint8_t data)
mbc_marshal_put_char(mbuf_chain_t *mbc, uint8_t data)
mbc_marshal_put_short(mbuf_chain_t *mbc, uint16_t data)
mbc_marshal_put_long(mbuf_chain_t *mbc, uint32_t data)
mbc_marshal_put_long_long(mbuf_chain_t *mbc, uint64_t data)
mbc_marshal_put_oem_string(mbuf_chain_t *mbc, char *mbs, int repc)
mbc_marshal_put_unicode_string(mbuf_chain_t *mbc, char *mbs, int repc)
mbc_marshal_put_uio(mbuf_chain_t *mbc, struct uio *uio)
mbc_marshal_put_mbufs(mbuf_chain_t *mbc, mbuf_t *mbuf)
mbc_marshal_put_mbuf_chain(mbuf_chain_t *mbc, mbuf_chain_t *nmbc)
mbc_marshal_fetch_byte(mbuf_chain_t *mbc)
mbc_marshal_get_char(mbuf_chain_t *mbc, uint8_t *data)
mbc_marshal_get_short(mbuf_chain_t *mbc, uint16_t *data)
mbc_marshal_get_long(mbuf_chain_t *mbc, uint32_t *data)
mbc_marshal_get_odd_long_long(mbuf_chain_t *mbc, uint64_t *data)
smb_mbc_vdecodef(mbuf_chain_t *mbc, const char *fmt, va_list ap)
mbc_marshal_get_long_long(mbuf_chain_t *mbc, uint64_t *data)
mbuf_chain_t *mbc, char **strpp, int max_bytes)
mbuf_chain_t *mbc, char **strpp, int max_bytes)
mbc_marshal_get_mbufs(mbuf_chain_t *mbc, int32_t bytes, mbuf_t **m)
mbc_marshal_get_mbuf_chain(mbuf_chain_t *mbc, int32_t bytes, mbuf_chain_t *nmbc)
mbc_marshal_get_uio(mbuf_chain_t *mbc, struct uio *uio)
mbc_marshal_get_skip(mbuf_chain_t *mbc, uint_t skip)
va_arg(ap, mbuf_chain_t *)) != 0)
smb_mbc_decodef(mbuf_chain_t *mbc, const char *fmt, ...)
smb_mbc_peek(mbuf_chain_t *mbc, int offset, const char *fmt, ...)
mbuf_chain_t tmp;
static int mbc_marshal_make_room(mbuf_chain_t *, int32_t);
static void mbc_marshal_store_byte(mbuf_chain_t *, uint8_t);
static int mbc_marshal_put_char(mbuf_chain_t *mbc, uint8_t);
static int mbc_marshal_put_short(mbuf_chain_t *mbc, uint16_t);
static int mbc_marshal_put_long(mbuf_chain_t *mbc, uint32_t);
static int mbc_marshal_put_long_long(mbuf_chain_t *mbc, uint64_t);
static int mbc_marshal_put_oem_string(mbuf_chain_t *, char *, int);
static int mbc_marshal_put_unicode_string(mbuf_chain_t *, char *, int);
static int mbc_marshal_put_uio(mbuf_chain_t *, struct uio *);
static int mbc_marshal_put_mbufs(mbuf_chain_t *mbc, mbuf_t *m);
smb_mbc_vencodef(mbuf_chain_t *mbc, const char *fmt, va_list ap)
static int mbc_marshal_put_mbuf_chain(mbuf_chain_t *mbc, mbuf_chain_t *nmbc);
static uint8_t mbc_marshal_fetch_byte(mbuf_chain_t *mbc);
static int mbc_marshal_get_char(mbuf_chain_t *mbc, uint8_t *data);
static int mbc_marshal_get_short(mbuf_chain_t *mbc, uint16_t *data);
static int mbc_marshal_get_long(mbuf_chain_t *mbc, uint32_t *data);
va_arg(ap, mbuf_chain_t *)) != 0)
static int mbc_marshal_get_odd_long_long(mbuf_chain_t *mbc, uint64_t *data);
static int mbc_marshal_get_long_long(mbuf_chain_t *mbc, uint64_t *data);
static int mbc_marshal_get_oem_string(smb_request_t *, mbuf_chain_t *,
static int mbc_marshal_get_unicode_string(smb_request_t *, mbuf_chain_t *,
static int mbc_marshal_get_mbufs(mbuf_chain_t *, int32_t, mbuf_t **);
static int mbc_marshal_get_mbuf_chain(mbuf_chain_t *, int32_t, mbuf_chain_t *);
static int mbc_marshal_get_uio(mbuf_chain_t *, struct uio *);
static int mbc_marshal_get_skip(mbuf_chain_t *, uint_t);
smb_mbc_encodef(mbuf_chain_t *mbc, const char *fmt, ...)
smb_mbc_poke(mbuf_chain_t *mbc, int offset, const char *fmt, ...)
mbuf_chain_t tmp;
smb_mbc_copy(mbuf_chain_t *dst_mbc, const mbuf_chain_t *src_mbc,
smb_mbc_put_mem(mbuf_chain_t *mbc, void *vmem, int mem_len)
smb_mbc_put_align(mbuf_chain_t *mbc, int align)
mbc_marshal_make_room(mbuf_chain_t *mbc, int32_t bytes_needed)
mbuf_chain_t *
mbuf_chain_t *mbc;
smb_mbc_free(mbuf_chain_t *mbc)
sizeof (mbuf_chain_t), 8, NULL, NULL, NULL, NULL, NULL, 0);
mbuf_chain_t *mbc;
mbuf_chain_t tmp_mbc;
smb_encode_sd(mbuf_chain_t *mbc, smb_sd_t *sd, uint32_t secinfo)
smb_encode_sid(mbuf_chain_t *mbc, smb_sid_t *sid)
static void smb_encode_sacl(mbuf_chain_t *, smb_acl_t *);
static void smb_encode_dacl(mbuf_chain_t *, smb_acl_t *);
smb_encode_sacl(mbuf_chain_t *mbc, smb_acl_t *acl)
static smb_acl_t *smb_decode_acl(mbuf_chain_t *, uint32_t);
smb_encode_dacl(mbuf_chain_t *mbc, smb_acl_t *acl)
smb_decode_sd(mbuf_chain_t *mbc, smb_sd_t *sd)
smb_decode_sid(mbuf_chain_t *mbc, uint32_t offset)
smb_decode_acl(mbuf_chain_t *mbc, uint32_t offset)
smb_query_stream_info(smb_request_t *sr, mbuf_chain_t *mbc,
smb_quota_decode_sids(mbuf_chain_t *mbc, list_t *list)
smb_quota_max_quota(mbuf_chain_t *mbc, smb_quota_query_t *request)
smb_quota_decode_quotas(mbuf_chain_t *mbc, list_t *list)
smb_quota_encode_quotas(mbuf_chain_t *mbc, smb_quota_query_t *request,
smb_quota_init_sids(mbuf_chain_t *mbc, smb_quota_query_t *request,
smb_session_send(smb_session_t *session, uint8_t nbt_type, mbuf_chain_t *mbc)
mbuf_chain_t *smb_mbc_alloc(uint32_t);
void smb_mbc_free(mbuf_chain_t *);
mbuf_chain_t *, mbuf_chain_t *);
void smb2sr_put_error_data(smb_request_t *, uint32_t, mbuf_chain_t *);
void smb2sr_put_error_ctx(smb_request_t *, uint32_t, uint32_t, mbuf_chain_t *);
void smb2sr_put_error_ctx0(smb_request_t *, uint32_t, mbuf_chain_t *);
uint32_t smb_query_stream_info(smb_request_t *, mbuf_chain_t *,
uint32_t smb_quota_init_sids(mbuf_chain_t *, smb_quota_query_t *,
uint32_t smb_quota_decode_sids(mbuf_chain_t *, list_t *);
void smb_quota_max_quota(mbuf_chain_t *, smb_quota_query_t *);
uint32_t smb_quota_decode_quotas(mbuf_chain_t *, list_t *);
uint32_t smb_quota_encode_quotas(mbuf_chain_t *, smb_quota_query_t *,
int smb_mbc_vencodef(mbuf_chain_t *, const char *, va_list);
int smb_mbc_vdecodef(mbuf_chain_t *, const char *, va_list);
int smb_mbc_decodef(mbuf_chain_t *, const char *, ...);
int smb_mbc_encodef(mbuf_chain_t *, const char *, ...);
int smb_mbc_peek(mbuf_chain_t *, int, const char *, ...);
int smb_mbc_poke(mbuf_chain_t *, int, const char *, ...);
int smb_mbc_put_mem(mbuf_chain_t *, void *, int);
int smb_mbc_copy(mbuf_chain_t *, const mbuf_chain_t *, int, int);
int smb_mbc_put_align(mbuf_chain_t *, int);
void smb_encode_sd(mbuf_chain_t *, smb_sd_t *, uint32_t);
void smb_encode_sid(mbuf_chain_t *, smb_sid_t *);
smb_sid_t *smb_decode_sid(mbuf_chain_t *, uint32_t);
uint32_t smb_decode_sd(mbuf_chain_t *, smb_sd_t *);
void smb_sign_reply(smb_request_t *, mbuf_chain_t *);
int smb_session_send(smb_session_t *, uint8_t type, mbuf_chain_t *);
mbuf_chain_t in_data;
mbuf_chain_t si_data;
mbuf_chain_t *in_mbc;
mbuf_chain_t *out_mbc;
mbuf_chain_t nc_buffer;