Lines Matching defs:objp

83 smb_id_xdr(XDR *xdrs, smb_id_t *objp)
88 len = smb_sid_len(objp->i_sid);
90 if (!xdr_uint32_t(xdrs, &objp->i_attrs))
96 if (!xdr_pointer(xdrs, (char **)&objp->i_sid, len,
100 if (!xdr_uint32_t(xdrs, (uint32_t *)&objp->i_id))
107 smb_ids_xdr(XDR *xdrs, smb_ids_t *objp)
109 if (!xdr_array(xdrs, (char **)&objp->i_ids, (uint32_t *)&objp->i_cnt,
117 smb_posix_grps_xdr(XDR *xdrs, smb_posix_grps_t *objp)
119 if (!xdr_uint32_t(xdrs, &objp->pg_ngrps))
121 if (!xdr_vector(xdrs, (char *)objp->pg_grps, objp->pg_ngrps,
160 smb_logon_xdr(XDR *xdrs, smb_logon_t *objp)
162 if (!xdr_uint16_t(xdrs, &objp->lg_level))
164 if (!xdr_string(xdrs, &objp->lg_username, ~0))
166 if (!xdr_string(xdrs, &objp->lg_domain, ~0))
168 if (!xdr_string(xdrs, &objp->lg_e_username, ~0))
170 if (!xdr_string(xdrs, &objp->lg_e_domain, ~0))
172 if (!xdr_string(xdrs, &objp->lg_workstation, ~0))
174 if (!smb_inaddr_xdr(xdrs, &objp->lg_clnt_ipaddr))
176 if (!smb_inaddr_xdr(xdrs, &objp->lg_local_ipaddr))
178 if (!xdr_uint16_t(xdrs, &objp->lg_local_port))
180 if (!smb_buf32_xdr(xdrs, &objp->lg_challenge_key))
182 if (!smb_buf32_xdr(xdrs, &objp->lg_nt_password))
184 if (!smb_buf32_xdr(xdrs, &objp->lg_lm_password))
186 if (!xdr_uint32_t(xdrs, &objp->lg_ntlm_flags))
188 if (!xdr_int(xdrs, &objp->lg_native_os))
190 if (!xdr_int(xdrs, &objp->lg_native_lm))
192 if (!xdr_uint32_t(xdrs, &objp->lg_flags))
194 if (!xdr_uint32_t(xdrs, &objp->lg_logon_id))
196 if (!xdr_uint32_t(xdrs, &objp->lg_domain_type))
198 if (!xdr_uint32_t(xdrs, &objp->lg_secmode))
200 if (!xdr_uint32_t(xdrs, &objp->lg_status))
206 smb_sid_xdr(XDR *xdrs, smb_sid_t *objp)
208 if (!xdr_uint8_t(xdrs, &objp->sid_revision))
210 if (!xdr_uint8_t(xdrs, &objp->sid_subauthcnt))
212 if (!xdr_vector(xdrs, (char *)objp->sid_authority, NT_SID_AUTH_MAX,
215 if (!xdr_vector(xdrs, (char *)objp->sid_subauth, objp->sid_subauthcnt,
222 smb_luid_xdr(XDR *xdrs, smb_luid_t *objp)
224 if (!xdr_uint32_t(xdrs, &objp->lo_part))
226 if (!xdr_uint32_t(xdrs, &objp->hi_part))
232 smb_luid_attrs_xdr(XDR *xdrs, smb_luid_attrs_t *objp)
234 if (!smb_luid_xdr(xdrs, &objp->luid))
236 if (!xdr_uint32_t(xdrs, &objp->attrs))
242 smb_privset_xdr(XDR *xdrs, smb_privset_t *objp)
244 if (!xdr_uint32_t(xdrs, &objp->priv_cnt))
246 if (!xdr_uint32_t(xdrs, &objp->control))
248 if (!xdr_vector(xdrs, (char *)objp->priv, objp->priv_cnt,
256 smb_token_xdr(XDR *xdrs, smb_token_t *objp)
258 if (!smb_id_xdr(xdrs, &objp->tkn_user))
260 if (!smb_id_xdr(xdrs, &objp->tkn_owner))
262 if (!smb_id_xdr(xdrs, &objp->tkn_primary_grp))
264 if (!smb_ids_xdr(xdrs, &objp->tkn_win_grps))
266 if (!smb_privset_helper_xdr(xdrs, (char **)&objp->tkn_privileges))
268 if (!xdr_string(xdrs, &objp->tkn_account_name, ~0))
270 if (!xdr_string(xdrs, &objp->tkn_domain_name, ~0))
272 if (!xdr_uint32_t(xdrs, &objp->tkn_flags))
274 if (!xdr_uint32_t(xdrs, &objp->tkn_audit_sid))
276 if (!smb_buf32_xdr(xdrs, &objp->tkn_ssnkey))
278 if (!smb_posix_grps_helper_xdr(xdrs, (char **)&objp->tkn_posix_grps))