Home
last modified time | relevance | path

Searched refs:xdrm (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c170 XDR xdrm; variable
190 xdrmem_create(&xdrm, addr, len, XDR_DECODE); in xdr_init()
232 if (xdr_char(&xdrm, &s)) in getxdr_char()
254 if (xdr_u_char(&xdrm, &s)) in getxdr_u_char()
277 if (xdr_short(&xdrm, &s)) in getxdr_short()
299 if (xdr_u_short(&xdrm, &s)) in getxdr_u_short()
322 if (xdr_long(&xdrm, &l)) in getxdr_long()
344 if (xdr_u_long(&xdrm, &l)) in getxdr_u_long()
367 if (xdr_longlong_t(&xdrm, &l)) in getxdr_longlong()
389 if (xdr_u_longlong_t(&xdrm, &l)) in getxdr_u_longlong()
[all …]
H A Dsnoop_rpc.c689 XDR xdrm; in valid_rpc() local
695 xdrmem_create(&xdrm, rpc, rpclen, XDR_DECODE); in valid_rpc()
696 if (xdr_u_int(&xdrm, &msg.rm_xid) && in valid_rpc()
697 xdr_u_int(&xdrm, (uint_t *)&msg.rm_direction)) { in valid_rpc()
700 if (xdr_rpcvers(&xdrm, &msg.rm_call.cb_rpcvers) && in valid_rpc()
705 if (xdr_u_int(&xdrm, in valid_rpc()
H A Dsnoop_nfs4.c64 extern XDR xdrm;
709 if (!xdr_utf8string(&xdrm, &tag)) in interpret_nfs4_cb()
765 nfs4_pkt_start = xdr_getpos(&xdrm); in interpret_nfs4()
779 if (!xdr_utf8string(&xdrm, &tag)) in interpret_nfs4()
854 if (!xdr_uint32_t(&xdrm, &minor_version)) in sum_compound4args()
864 if (!xdr_nfs_argop4(&xdrm, &one_op)) { in sum_compound4args()
901 cur_pos = xdr_getpos(&xdrm); in nfs4_xdr_skip()
935 xdr_setpos(&xdrm, new_pos); in nfs4_xdr_skip()
966 if (!xdr_uint32_t(&xdrm, &minor_version)) in sum_cb_compound4args()
970 if (!xdr_uint32_t(&xdrm, &callback_ident)) in sum_cb_compound4args()
[all …]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauth_kern.c122 XDR xdrm; in authkern_marshal() local
205 xdrmem_create(&xdrm, sercred, MAX_AUTH_BYTES, XDR_ENCODE); in authkern_marshal()
206 startpos = XDR_GETPOS(&xdrm); in authkern_marshal()
207 if (!xdr_authkern(&xdrm, cr)) { in authkern_marshal()
218 auth->ah_cred.oa_length = XDR_GETPOS(&xdrm) - startpos; in authkern_marshal()
231 XDR_DESTROY(&xdrm); in authkern_marshal()
H A Dauth_loopb.c124 XDR xdrm; in authloopback_marshal() local
210 xdrmem_create(&xdrm, sercred, MAX_AUTH_BYTES, XDR_ENCODE); in authloopback_marshal()
211 startpos = XDR_GETPOS(&xdrm); in authloopback_marshal()
212 if (!xdr_authloopback(&xdrm, cr)) { in authloopback_marshal()
223 auth->ah_cred.oa_length = XDR_GETPOS(&xdrm) - startpos; in authloopback_marshal()
236 XDR_DESTROY(&xdrm); in authloopback_marshal()