Home
last modified time | relevance | path

Searched refs:txdr_unsigned (Results 1 – 13 of 13) sorted by relevance

/dragonfly/sys/vfs/nfs/
H A Dkrpc_subr.c157 sdata->prog = txdr_unsigned(prog); in krpc_portmap()
158 sdata->vers = txdr_unsigned(vers); in krpc_portmap()
159 sdata->proto = txdr_unsigned(IPPROTO_UDP); in krpc_portmap()
284 call->rp_xid = txdr_unsigned(xid); in krpc_call()
286 call->rp_rpcvers = txdr_unsigned(2); in krpc_call()
287 call->rp_prog = txdr_unsigned(prog); in krpc_call()
288 call->rp_vers = txdr_unsigned(vers); in krpc_call()
289 call->rp_proc = txdr_unsigned(func); in krpc_call()
291 call->rpc_auth.authtype = txdr_unsigned(RPCAUTH_UNIX); in krpc_call()
380 if (reply->rp_xid != txdr_unsigned(xid)) in krpc_call()
[all …]
H A Dnfsm_subs.c168 *tl++ = txdr_unsigned(NFS_PROG); in nfsm_rpchead()
170 *tl++ = txdr_unsigned(NFS_VER3); in nfsm_rpchead()
172 *tl++ = txdr_unsigned(NFS_VER2); in nfsm_rpchead()
174 *tl++ = txdr_unsigned(procid); in nfsm_rpchead()
181 *tl++ = txdr_unsigned(auth_type); in nfsm_rpchead()
182 *tl = txdr_unsigned(authsiz); in nfsm_rpchead()
191 *tl++ = txdr_unsigned(grpsiz); in nfsm_rpchead()
226 *tl = txdr_unsigned(verf_len); in nfsm_rpchead()
857 *tl++ = txdr_unsigned(len); in nfsm_strtom()
1406 *tl++ = txdr_unsigned(siz); in nfsm_strtmbuf()
[all …]
H A Dnfs_subs.c569 rpc_vers = txdr_unsigned(RPC_VER2); in nfs_init()
570 rpc_call = txdr_unsigned(RPC_CALL); in nfs_init()
571 rpc_reply = txdr_unsigned(RPC_REPLY); in nfs_init()
572 rpc_msgdenied = txdr_unsigned(RPC_MSGDENIED); in nfs_init()
574 rpc_mismatch = txdr_unsigned(RPC_MISMATCH); in nfs_init()
575 rpc_autherr = txdr_unsigned(RPC_AUTHERR); in nfs_init()
576 rpc_auth_unix = txdr_unsigned(RPCAUTH_UNIX); in nfs_init()
578 nfs_prog = txdr_unsigned(NFS_PROG); in nfs_init()
579 nfs_true = txdr_unsigned(TRUE); in nfs_init()
580 nfs_false = txdr_unsigned(FALSE); in nfs_init()
[all …]
H A Dnfs_serv.c266 *tl = txdr_unsigned(nfsmode); in nfsrv3_access()
776 *tl = txdr_unsigned(len); in nfsrv_readlink()
979 *tl++ = txdr_unsigned(cnt); in nfsrv_read()
985 *tl = txdr_unsigned(cnt); in nfsrv_read()
1180 *tl++ = txdr_unsigned(retlen); in nfsrv_write()
1185 *tl++ = txdr_unsigned(stable); in nfsrv_write()
3165 *tl = txdr_unsigned(dp->d_ino); in nfsrv_readdir()
3168 *tl = txdr_unsigned(nlen); in nfsrv_readdir()
3197 *tl = txdr_unsigned(*cookiep); in nfsrv_readdir()
3504 *tl = txdr_unsigned(dp->d_ino); in nfsrv_readdirplus()
[all …]
H A Dnfsproto.h228 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
230 #define vtonfsv3_mode(m) txdr_unsigned((m) & ALLPERMS)
232 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])
233 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])
H A Dnfs_vnops.c282 *tl = txdr_unsigned(wmode); in nfs3_access_otw()
1406 *(tl + 2) = txdr_unsigned(len); in nfs_readrpc_uio()
1409 *tl++ = txdr_unsigned(len); in nfs_readrpc_uio()
1491 *tl++ = txdr_unsigned(len); in nfs_writerpc_uio()
1492 *tl++ = txdr_unsigned(*iomode); in nfs_writerpc_uio()
1493 *tl = txdr_unsigned(len); in nfs_writerpc_uio()
1502 x = txdr_unsigned(len); in nfs_writerpc_uio()
1598 rmajor = txdr_unsigned(vap->va_rmajor); in nfs_mknodrpc()
1623 *tl = txdr_unsigned(vap->va_rminor); in nfs_mknodrpc()
2787 *tl = txdr_unsigned(nmp->nm_rsize); in nfs_readdirplusrpc_uio()
[all …]
H A Dnfs_bio.c1358 *(tl + 2) = txdr_unsigned(len); in nfs_readrpc_bio()
1360 *tl++ = txdr_unsigned(bio->bio_offset); in nfs_readrpc_bio()
1361 *tl++ = txdr_unsigned(len); in nfs_readrpc_bio()
1501 *tl++ = txdr_unsigned(len); in nfs_writerpc_bio()
1502 *tl++ = txdr_unsigned(iomode); in nfs_writerpc_bio()
1503 *tl = txdr_unsigned(len); in nfs_writerpc_bio()
1509 x = txdr_unsigned((u_int32_t)offset); in nfs_writerpc_bio()
1512 x = txdr_unsigned(len); in nfs_writerpc_bio()
1705 *tl = txdr_unsigned(bp->b_dirtyend - bp->b_dirtyoff); in nfs_commitrpc_bio()
H A Dnfs_socket.c1612 *tl++ = txdr_unsigned(nd->nd_retxid); in nfs_rephead()
1618 *tl = txdr_unsigned(err & ~NFSERR_AUTHERR); in nfs_rephead()
1623 *tl++ = txdr_unsigned(RPC_VER2); in nfs_rephead()
1624 *tl = txdr_unsigned(RPC_VER2); in nfs_rephead()
1657 *tl++ = txdr_unsigned(3 * NFSX_UNSIGNED); in nfs_rephead()
1672 *tl = txdr_unsigned(RPC_PROGUNAVAIL); in nfs_rephead()
1675 *tl = txdr_unsigned(RPC_PROGMISMATCH); in nfs_rephead()
1677 *tl++ = txdr_unsigned(2); in nfs_rephead()
1678 *tl = txdr_unsigned(3); in nfs_rephead()
1681 *tl = txdr_unsigned(RPC_PROCUNAVAIL); in nfs_rephead()
[all …]
H A Dxdr_subs.h53 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dnfs_syscalls.c1116 *nickp++ = txdr_unsigned(RPCAKN_NICKNAME); in nfs_getnickauth()
1117 *nickp = txdr_unsigned(nuidp->nu_nickname); in nfs_getnickauth()
1125 *verfp++ = txdr_unsigned(RPCAKN_NICKNAME); in nfs_getnickauth()
H A Dnfs_mountrpc.c237 *mtod(m, u_int32_t *) = txdr_unsigned(*fhsizep); in md_lookup_swap()
H A Dbootp_subr.c1196 ifctx->call.xid = txdr_unsigned(ifctx->xid); in bootpc_compose_query()
/dragonfly/contrib/tcpdump/
H A Dnfs.h236 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
238 #define vtonfsv3_mode(m) txdr_unsigned((m) & 07777)
240 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])
241 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])