Searched refs:txdr_unsigned (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/sys/nfs/
H A Dkrpc_subr.c164 sdata->prog = txdr_unsigned(prog);
165 sdata->vers = txdr_unsigned(vers);
166 sdata->proto = txdr_unsigned(IPPROTO_UDP);
287 call->rp_xid = txdr_unsigned(xid);
289 call->rp_rpcvers = txdr_unsigned(2);
290 call->rp_prog = txdr_unsigned(prog);
291 call->rp_vers = txdr_unsigned(vers);
292 call->rp_proc = txdr_unsigned(func);
294 call->rpc_auth.authtype = txdr_unsigned(AUTH_UNIX);
295 call->rpc_auth.authlen = txdr_unsigned(sizeo
[all...]
H A Dnfs_common.h45 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : MAKEIMODE((t), (m)))
48 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])
H A Dxdr_subs.h53 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dbootp_subr.c1188 ifctx->call.xid = txdr_unsigned(ifctx->xid);
/freebsd-13-stable/sys/fs/nfsserver/
H A Dnfs_nfsdsubs.c1429 fp->fa_nlink = txdr_unsigned(nvap->na_nlink);
1430 fp->fa_uid = txdr_unsigned(nvap->na_uid);
1431 fp->fa_gid = txdr_unsigned(nvap->na_gid);
1437 fp->fa3_rdev.specdata1 = txdr_unsigned(NFSMAJOR(nvap->na_rdev));
1438 fp->fa3_rdev.specdata2 = txdr_unsigned(NFSMINOR(nvap->na_rdev));
1440 fp->fa3_fsid.nfsuquad[1] = txdr_unsigned(nvap->na_fsid);
1448 fp->fa2_size = txdr_unsigned(nvap->na_size);
1449 fp->fa2_blocksize = txdr_unsigned(nvap->na_blocksize);
1453 fp->fa2_rdev = txdr_unsigned(nvap->na_rdev);
1454 fp->fa2_blocks = txdr_unsigned(nva
[all...]
H A Dnfs_nfsdserv.c203 *tl++ = txdr_unsigned(supported);
206 *tl = txdr_unsigned(nfsmode);
707 *tl = txdr_unsigned(len);
904 *tl++ = txdr_unsigned(cnt);
912 *tl = txdr_unsigned(cnt);
1087 *tl++ = txdr_unsigned(retlen);
1095 *tl++ = txdr_unsigned(stable);
1097 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC);
1103 *tl++ = txdr_unsigned(nfsboottime.tv_sec);
1104 *tl = txdr_unsigned(nfsboottim
[all...]
H A Dnfs_nfsdstate.c4512 *tl++ = txdr_unsigned(stateidp->seqid);
4532 *tl++ = txdr_unsigned(laytype);
4533 *tl++ = txdr_unsigned(NFSLAYOUTIOMODE_ANY);
4538 *tl = txdr_unsigned(NFSV4LAYOUTRET_FILE);
4545 *tl++ = txdr_unsigned(stateidp->seqid);
4699 *tl++ = txdr_unsigned(NFSV42_MINORVERSION);
4701 *tl++ = txdr_unsigned(NFSV41_MINORVERSION);
4702 *tl++ = txdr_unsigned(callback);
4703 *tl++ = txdr_unsigned(2);
4704 *tl = txdr_unsigned(NFSV4OP_CBSEQUENC
[all...]
H A Dnfs_nfsdport.c2175 *tl = txdr_unsigned(dp->d_fileno);
2182 *tl = txdr_unsigned(*cookiep);
2667 *tl = txdr_unsigned(dp->d_fileno);
2671 *tl = txdr_unsigned(*cookiep);
2681 *tl = txdr_unsigned(*cookiep);
5143 *(tl + 2) = txdr_unsigned(len);
5269 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC);
5270 *tl = txdr_unsigned(len);
5291 *tl = txdr_unsigned(NFSV4OP_GETATTR);
5487 *tl = txdr_unsigned(NFSV4OP_GETATT
[all...]
H A Dnfs_nfsdsocket.c862 *repp++ = txdr_unsigned(NFSV4OP_OPILLEGAL);
1249 *retopsp = txdr_unsigned(retops);
/freebsd-13-stable/sys/fs/nfsclient/
H A Dnfs_clrpcops.c307 *tl = txdr_unsigned(mode);
313 *tl = txdr_unsigned(NFSV4OP_GETATTR);
505 *tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid);
506 *tl++ = txdr_unsigned(mode & NFSV4OPEN_ACCESSBOTH);
507 *tl++ = txdr_unsigned((mode >> NFSLCK_SHIFT) & NFSV4OPEN_DENYBOTH);
513 *tl++ = txdr_unsigned(NFSV4OPEN_NOCREATE);
515 *tl = txdr_unsigned(NFSV4OPEN_CLAIMPREVIOUS);
517 *tl = txdr_unsigned(delegtype);
520 *tl = txdr_unsigned(NFSV4OPEN_CLAIMDELEGATECUR);
530 *tl = txdr_unsigned(NFSV4OPEN_CLAIMNUL
[all...]
H A Dnfs_clstate.c3767 *tl++ = txdr_unsigned(seqid);
3768 *tl++ = txdr_unsigned(slotid);
3769 *tl++ = txdr_unsigned(NFSV4_CBSLOTS - 1);
3770 *tl = txdr_unsigned(NFSV4_CBSLOTS - 1);
3811 *retopsp = txdr_unsigned(retops);
4910 return (txdr_unsigned(nd->nd_repstat & 0xffff));
4912 return (txdr_unsigned(NFSERR_BADXDR));
4915 return (txdr_unsigned(nd->nd_repstat));
4919 return (txdr_unsigned(nd->nd_repstat));
4924 return (txdr_unsigned(n
[all...]
/freebsd-13-stable/contrib/tcpdump/
H A Dnfs.h238 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
240 #define vtonfsv3_mode(m) txdr_unsigned((m) & 07777)
242 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])
243 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])
/freebsd-13-stable/sys/fs/nfs/
H A Dxdr_subs.h52 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dnfs_commonacl.c303 *tl++ = txdr_unsigned(acetype);
322 *tl++ = txdr_unsigned(aceflag);
380 *tl++ = txdr_unsigned(acemask);
381 *tl++ = txdr_unsigned(namelen);
446 *entrycntp = txdr_unsigned(entrycnt);
H A Dnfs_commonsubs.c399 *tl++ = txdr_unsigned(NFSV42_MINORVERSION);
401 *tl++ = txdr_unsigned(NFSV41_MINORVERSION);
403 *tl++ = txdr_unsigned(NFSV4_MINORVERSION);
406 *tl = txdr_unsigned(opcnt);
413 *tl = txdr_unsigned(NFSV4OP_SEQUENCE);
424 *tl = txdr_unsigned(NFSV4OP_PUTFH);
430 *tl = txdr_unsigned(NFSV4OP_GETATTR);
448 *tl = txdr_unsigned(nfsv4_opmap[procnum].op);
512 sp->sa_uid = txdr_unsigned(vap->va_uid);
516 sp->sa_gid = txdr_unsigned(va
[all...]
H A Dnfsproto.h732 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
734 #define vtonfsv34_mode(m) txdr_unsigned((m) & 07777)
736 #define vtonfsv2_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
737 txdr_unsigned(newnfsv2_type[((u_int32_t)(a))]))
738 #define vtonfsv34_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
739 txdr_unsigned(nfsv34_type[((u_int32_t)(a))]))
H A Dnfs_commonkrpc.c1042 *tl++ = txdr_unsigned(slotseq);
1043 *tl++ = txdr_unsigned(slotpos);
1044 *tl = txdr_unsigned(maxslot);
1092 *nd->nd_slotseq = txdr_unsigned(

Completed in 300 milliseconds