Home
last modified time | relevance | path

Searched refs:ixdr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c139 int32_t *ixdr; in _svcauth_des() local
173 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_des()
174 cred->adc_namekind = IXDR_GET_ENUM(ixdr, enum authdes_namekind); in _svcauth_des()
177 namelen = IXDR_GET_U_INT32(ixdr); in _svcauth_des()
181 bcopy(ixdr, cred->adc_fullname.name, namelen); in _svcauth_des()
183 ixdr += (RNDUP(namelen) / BYTES_PER_XDR_UNIT); in _svcauth_des()
184 cred->adc_fullname.key.key.high = (uint32_t)*ixdr++; in _svcauth_des()
185 cred->adc_fullname.key.key.low = (uint32_t)*ixdr++; in _svcauth_des()
186 cred->adc_fullname.window = (uint32_t)*ixdr++; in _svcauth_des()
190 cred->adc_nickname = (uint32_t)*ixdr++; in _svcauth_des()
[all …]
H A Dauth_des.c233 int32_t *ixdr; in authdes_marshal() local
251 ixdr = (int32_t *)cryptbuf; in authdes_marshal()
252 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_sec); in authdes_marshal()
253 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_usec); in authdes_marshal()
255 IXDR_PUT_U_INT32(ixdr, ad->ad_window); in authdes_marshal()
256 IXDR_PUT_U_INT32(ixdr, ad->ad_window - 1); in authdes_marshal()
287 if (ixdr = xdr_inline(xdrs, 2 * BYTES_PER_XDR_UNIT)) { in authdes_marshal()
288 IXDR_PUT_INT32(ixdr, AUTH_DES); in authdes_marshal()
289 IXDR_PUT_INT32(ixdr, len); in authdes_marshal()
298 if (ixdr = xdr_inline(xdrs, 2 * BYTES_PER_XDR_UNIT)) { in authdes_marshal()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c134 int32_t *ixdr; in __svcauth_des() local
171 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_des()
172 cred->adc_namekind = IXDR_GET_ENUM(ixdr, enum authdes_namekind); in __svcauth_des()
175 namelen = IXDR_GET_U_INT32(ixdr); in __svcauth_des()
179 (void) memcpy(cred->adc_fullname.name, ixdr, (uint_t)namelen); in __svcauth_des()
181 ixdr += (RNDUP(namelen) / BYTES_PER_XDR_UNIT); in __svcauth_des()
182 cred->adc_fullname.key.key.high = (uint32_t)*ixdr++; in __svcauth_des()
183 cred->adc_fullname.key.key.low = (uint32_t)*ixdr++; in __svcauth_des()
184 cred->adc_fullname.window = (uint32_t)*ixdr++; in __svcauth_des()
188 cred->adc_nickname = (uint32_t)*ixdr++; in __svcauth_des()
[all …]
H A Dauth_des.c254 rpc_inline_t *ixdr; in authdes_marshal() local
272 ixdr = (rpc_inline_t *)cryptbuf; in authdes_marshal()
273 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_sec); in authdes_marshal()
274 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_usec); in authdes_marshal()
276 IXDR_PUT_U_INT32(ixdr, ad->ad_window); in authdes_marshal()
277 IXDR_PUT_U_INT32(ixdr, ad->ad_window - 1); in authdes_marshal()
310 if (ixdr = xdr_inline(xdrs, 2*BYTES_PER_XDR_UNIT)) { in authdes_marshal()
311 IXDR_PUT_INT32(ixdr, AUTH_DES); in authdes_marshal()
312 IXDR_PUT_INT32(ixdr, len); in authdes_marshal()
323 if (ixdr = xdr_inline(xdrs, 2*BYTES_PER_XDR_UNIT)) { in authdes_marshal()
[all …]