Searched refs:ixdr (Results 1 – 2 of 2) sorted by relevance
/freebsd/lib/libc/rpc/ |
H A D | svc_auth_des.c | 111 long *ixdr; in _svcauth_des() local 138 ixdr = (long *)msg->rm_call.cb_cred.oa_base; in _svcauth_des() 139 cred->adc_namekind = IXDR_GET_ENUM(ixdr, enum authdes_namekind); in _svcauth_des() 142 namelen = IXDR_GET_U_LONG(ixdr); in _svcauth_des() 147 bcopy((char *)ixdr, cred->adc_fullname.name, in _svcauth_des() 150 ixdr += (RNDUP(namelen) / BYTES_PER_XDR_UNIT); in _svcauth_des() 151 cred->adc_fullname.key.key.high = (u_long)*ixdr++; in _svcauth_des() 152 cred->adc_fullname.key.key.low = (u_long)*ixdr++; in _svcauth_des() 153 cred->adc_fullname.window = (u_long)*ixdr++; in _svcauth_des() 156 cred->adc_nickname = (u_long)*ixdr++; in _svcauth_des() [all …]
|
H A D | auth_des.c | 277 rpc_inline_t *ixdr; in authdes_marshal() local 295 ixdr = (rpc_inline_t *)cryptbuf; in authdes_marshal() 296 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_sec); in authdes_marshal() 297 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_usec); in authdes_marshal() 299 IXDR_PUT_U_INT32(ixdr, ad->ad_window); in authdes_marshal() 300 IXDR_PUT_U_INT32(ixdr, ad->ad_window - 1); in authdes_marshal() 333 if ((ixdr = xdr_inline(xdrs, 2*BYTES_PER_XDR_UNIT))) { in authdes_marshal() 334 IXDR_PUT_INT32(ixdr, AUTH_DES); in authdes_marshal() 335 IXDR_PUT_INT32(ixdr, len); in authdes_marshal() 343 if ((ixdr = xdr_inline(xdrs, 2*BYTES_PER_XDR_UNIT))) { in authdes_marshal() [all …]
|