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

12

/netbsd-current/sys/nfs/
H A Dkrpc_subr.c163 sdata->prog = txdr_unsigned(prog);
164 sdata->vers = txdr_unsigned(vers);
165 sdata->proto = txdr_unsigned(proto);
202 if (reply->rp_direction != txdr_unsigned(RPC_REPLY))
205 if (reply->rp_xid != txdr_unsigned(*(u_int32_t*)context))
289 call->rp_xid = txdr_unsigned(xid);
291 call->rp_rpcvers = txdr_unsigned(2);
292 call->rp_prog = txdr_unsigned(prog);
293 call->rp_vers = txdr_unsigned(vers);
294 call->rp_proc = txdr_unsigned(fun
[all...]
H A Dnfs_subs.c638 *tl++ = txdr_unsigned(NFS_PROG);
640 *tl++ = txdr_unsigned(NFS_VER3);
642 *tl++ = txdr_unsigned(NFS_VER2);
644 *tl++ = txdr_unsigned(procid);
646 *tl++ = txdr_unsigned(nfsv2_procid[procid]);
651 *tl++ = txdr_unsigned(auth_type);
652 *tl = txdr_unsigned(authsiz);
658 *tl++ = txdr_unsigned(kauth_cred_geteuid(cr));
659 *tl++ = txdr_unsigned(kauth_cred_getegid(cr));
661 *tl++ = txdr_unsigned(grpsi
[all...]
H A Dnfsm_subs.h114 *tl++ = txdr_unsigned((n)->n_fhsize); \
132 *tl++ = txdr_unsigned(NFSRVFH_SIZE(f)); \
144 *tl++ = txdr_unsigned(NFSRVFH_SIZE(f)); \
309 *tl = txdr_unsigned((a)->va_mode); \
317 *tl = txdr_unsigned((a)->va_uid); \
325 *tl = txdr_unsigned((a)->va_gid); \
341 *tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT); \
345 *tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER); \
349 *tl = txdr_unsigned(NFSV3SATTRTIME_DONTCHANGE); \
354 *tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIEN
[all...]
H A Dnfs_socket.c577 *tl++ = txdr_unsigned(nd->nd_retxid);
583 *tl = txdr_unsigned(err & ~NFSERR_AUTHERR);
588 *tl++ = txdr_unsigned(RPC_VER2);
589 *tl = txdr_unsigned(RPC_VER2);
616 txdr_unsigned(nuidp->nu_timestamp.tv_sec
619 txdr_unsigned(nuidp->nu_timestamp.tv_usec);
632 *tl++ = txdr_unsigned(3 * NFSX_UNSIGNED);
636 *tl++ = txdr_unsigned(
648 *tl = txdr_unsigned(RPC_PROGUNAVAIL);
651 *tl = txdr_unsigned(RPC_PROGMISMATC
[all...]
H A Dnfsproto.h225 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
227 #define vtonfsv3_mode(m) txdr_unsigned((m) & ALLPERMS)
229 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])
230 #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 Dnfs_bootparam.c323 call->call_prog = txdr_unsigned(BOOTPARAM_PROG);
324 call->call_vers = txdr_unsigned(BOOTPARAM_VERS);
325 call->call_proc = txdr_unsigned(BOOTPARAM_WHOAMI);
331 call->call_arglen = txdr_unsigned(m->m_next->m_len);
H A Dnfs_iod.c365 *nickp++ = txdr_unsigned(RPCAKN_NICKNAME);
366 *nickp = txdr_unsigned(nuidp->nu_nickname);
374 *verfp++ = txdr_unsigned(RPCAKN_NICKNAME);
383 ktvin.tv_sec = txdr_unsigned(nuidp->nu_timestamp.tv_sec);
384 ktvin.tv_usec = txdr_unsigned(nuidp->nu_timestamp.tv_usec);
H A Dnfs_serv.c218 *tl = txdr_unsigned(outmode);
613 *tl = txdr_unsigned(len);
831 *tl++ = txdr_unsigned(len);
838 *tl = txdr_unsigned(len);
999 *tl++ = txdr_unsigned(retlen);
1001 *tl++ = txdr_unsigned(stable);
1003 *tl++ = txdr_unsigned(NFSV3WRITE_FILESYNC);
1011 *tl++ = txdr_unsigned(btv.tv_sec);
1012 *tl = txdr_unsigned(btv.tv_usec);
1305 *tl++ = txdr_unsigned(nfs
[all...]
H A Dnfs_vnops.c340 *tl = txdr_unsigned(mode);
696 sp->sa_uid = txdr_unsigned(vap->va_uid);
700 sp->sa_gid = txdr_unsigned(vap->va_gid);
701 sp->sa_size = txdr_unsigned(vap->va_size);
1151 *(tl + 2) = txdr_unsigned(len);
1155 *tl++ = txdr_unsigned(uiop->uio_offset);
1156 *tl++ = txdr_unsigned(len);
1277 *tl++ = txdr_unsigned(len);
1278 *tl++ = txdr_unsigned(*iomode);
1279 *tl = txdr_unsigned(le
[all...]
/netbsd-current/sys/fs/nfs/common/
H A Dkrpc_subr.c158 sdata->prog = txdr_unsigned(prog);
159 sdata->vers = txdr_unsigned(vers);
160 sdata->proto = txdr_unsigned(IPPROTO_UDP);
283 call->rp_xid = txdr_unsigned(xid);
285 call->rp_rpcvers = txdr_unsigned(2);
286 call->rp_prog = txdr_unsigned(prog);
287 call->rp_vers = txdr_unsigned(vers);
288 call->rp_proc = txdr_unsigned(func);
290 call->rpc_auth.authtype = txdr_unsigned(AUTH_UNIX);
291 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 Dold_xdr_subs.h54 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dxdr_subs.h52 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dnfs_commonacl.c305 *tl++ = txdr_unsigned(acetype);
324 *tl++ = txdr_unsigned(aceflag);
382 *tl++ = txdr_unsigned(acemask);
383 *tl++ = txdr_unsigned(namelen);
448 *entrycntp = txdr_unsigned(entrycnt);
H A Dnfs_commonsubs.c407 *tl = txdr_unsigned(siz);
462 newnfs_true = txdr_unsigned(TRUE);
463 newnfs_false = txdr_unsigned(FALSE);
464 newnfs_xdrneg1 = txdr_unsigned(-1);
2160 *tl = txdr_unsigned(NFSV4FHTYPE_PERSISTENT);
2197 *tl++ = txdr_unsigned(mp->mnt_stat.f_fsid.val[0]);
2199 *tl = txdr_unsigned(mp->mnt_stat.f_fsid.val[1]);
2209 *tl = txdr_unsigned(nfsrv_lease);
2214 *tl = txdr_unsigned(rderror);
2225 *tl = txdr_unsigned(NFSV4ACE_SUPTYPE
[all...]
H A Dnfsproto.h641 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
643 #define vtonfsv34_mode(m) txdr_unsigned((m) & 07777)
645 #define vtonfsv2_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
646 txdr_unsigned(newnfsv2_type[((u_int32_t)(a))]))
647 #define vtonfsv34_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
648 txdr_unsigned(nfsv34_type[((u_int32_t)(a))]))
/netbsd-current/sys/fs/nfs/server/
H A Dnfs_nfsdsubs.c1396 fp->fa_nlink = txdr_unsigned(nvap->na_nlink);
1397 fp->fa_uid = txdr_unsigned(nvap->na_uid);
1398 fp->fa_gid = txdr_unsigned(nvap->na_gid);
1404 fp->fa3_rdev.specdata1 = txdr_unsigned(NFSMAJOR(nvap->na_rdev));
1405 fp->fa3_rdev.specdata2 = txdr_unsigned(NFSMINOR(nvap->na_rdev));
1407 fp->fa3_fsid.nfsuquad[1] = txdr_unsigned(nvap->na_fsid);
1409 fp->fa3_fileid.nfsuquad[1] = txdr_unsigned(nvap->na_fileid);
1416 fp->fa2_size = txdr_unsigned(nvap->na_size);
1417 fp->fa2_blocksize = txdr_unsigned(nvap->na_blocksize);
1421 fp->fa2_rdev = txdr_unsigned(nva
[all...]
H A Dnfs_nfsdserv.c162 *tl++ = txdr_unsigned(supported);
165 *tl = txdr_unsigned(nfsmode);
624 *tl = txdr_unsigned(len);
770 *tl++ = txdr_unsigned(cnt);
778 *tl = txdr_unsigned(cnt);
940 *tl++ = txdr_unsigned(retlen);
948 *tl++ = txdr_unsigned(stable);
950 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC);
956 *tl++ = txdr_unsigned(nfsboottime.tv_sec);
957 *tl = txdr_unsigned(nfsboottim
[all...]
H A Dnfs_nfsdstate.c4158 *tl++ = txdr_unsigned(stateidp->seqid);
4285 *tl++ = txdr_unsigned(NFSV41_MINORVERSION);
4286 *tl++ = txdr_unsigned(callback);
4287 *tl++ = txdr_unsigned(2);
4288 *tl = txdr_unsigned(NFSV4OP_CBSEQUENCE);
4293 *tl = txdr_unsigned(op);
4295 *tl++ = txdr_unsigned(NFSV4_MINORVERSION);
4296 *tl++ = txdr_unsigned(callback);
4297 *tl++ = txdr_unsigned(1);
4298 *tl = txdr_unsigned(o
[all...]
/netbsd-current/sys/fs/nfs/client/
H A Dnfs_clrpcops.c215 *tl = txdr_unsigned(mode);
221 *tl = txdr_unsigned(NFSV4OP_GETATTR);
396 *tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid);
397 *tl++ = txdr_unsigned(mode & NFSV4OPEN_ACCESSBOTH);
398 *tl++ = txdr_unsigned((mode >> NFSLCK_SHIFT) & NFSV4OPEN_DENYBOTH);
403 *tl++ = txdr_unsigned(NFSV4OPEN_NOCREATE);
405 *tl = txdr_unsigned(NFSV4OPEN_CLAIMPREVIOUS);
407 *tl = txdr_unsigned(delegtype);
410 *tl = txdr_unsigned(NFSV4OPEN_CLAIMDELEGATECUR);
420 *tl = txdr_unsigned(NFSV4OPEN_CLAIMNUL
[all...]
H A Dnfs_clcomsubs.c197 *tl++ = txdr_unsigned(NFSV41_MINORVERSION);
199 *tl++ = txdr_unsigned(NFSV4_MINORVERSION);
202 *tl = txdr_unsigned(opcnt);
206 *tl = txdr_unsigned(NFSV4OP_SEQUENCE);
217 *tl = txdr_unsigned(NFSV4OP_PUTFH);
223 *tl = txdr_unsigned(NFSV4OP_GETATTR);
241 *tl = txdr_unsigned(nfsv4_opmap[procnum].op);
H A Dnfs_clport.c844 sp->sa_uid = txdr_unsigned(vap->va_uid);
848 sp->sa_gid = txdr_unsigned(vap->va_gid);
854 sp->sa_size = txdr_unsigned(rdev);
856 sp->sa_size = txdr_unsigned(vap->va_size);
864 *tl = txdr_unsigned(vap->va_mode);
872 *tl = txdr_unsigned(vap->va_uid);
880 *tl = txdr_unsigned(vap->va_gid);
896 *tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT);
900 *tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER);
904 *tl = txdr_unsigned(NFSV3SATTRTIME_DONTCHANG
[all...]
H A Dnfs_clstate.c3498 *tl++ = txdr_unsigned(seqid);
3499 *tl++ = txdr_unsigned(slotid);
3500 *tl++ = txdr_unsigned(NFSV4_CBSLOTS - 1);
3501 *tl = txdr_unsigned(NFSV4_CBSLOTS - 1);
3542 *retopsp = txdr_unsigned(retops);
4657 return (txdr_unsigned(nd->nd_repstat & 0xffff));
4659 return (txdr_unsigned(NFSERR_BADXDR));
4662 return (txdr_unsigned(nd->nd_repstat));
4666 return (txdr_unsigned(nd->nd_repstat));
4671 return (txdr_unsigned(n
[all...]
/netbsd-current/external/bsd/tcpdump/dist/
H A Dnfs.h232 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
234 #define vtonfsv3_mode(m) txdr_unsigned((m) & 07777)
236 #define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])
237 #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])

Completed in 824 milliseconds

12