Home
last modified time | relevance | path

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

/freebsd/sys/nfs/
H A Dkrpc_subr.c160 sdata->prog = txdr_unsigned(prog); in krpc_portmap()
161 sdata->vers = txdr_unsigned(vers); in krpc_portmap()
162 sdata->proto = txdr_unsigned(IPPROTO_UDP); in krpc_portmap()
283 call->rp_xid = txdr_unsigned(xid); in krpc_call()
285 call->rp_rpcvers = txdr_unsigned(2); in krpc_call()
286 call->rp_prog = txdr_unsigned(prog); in krpc_call()
287 call->rp_vers = txdr_unsigned(vers); in krpc_call()
288 call->rp_proc = txdr_unsigned(func); in krpc_call()
290 call->rpc_auth.authtype = txdr_unsigned(AUTH_UNIX); in krpc_call()
291 call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix)); in krpc_call()
[all …]
H A Dxdr_subs.h50 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dbootp_subr.c1184 ifctx->call.xid = txdr_unsigned(ifctx->xid); in bootpc_compose_query()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c329 *tl = txdr_unsigned(mode); in nfsrpc_accessrpc()
335 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrpc_accessrpc()
565 *tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid); in nfsrpc_openrpc()
566 *tl++ = txdr_unsigned(mode & (NFSV4OPEN_ACCESSBOTH | in nfsrpc_openrpc()
568 *tl++ = txdr_unsigned((mode >> NFSLCK_SHIFT) & NFSV4OPEN_DENYBOTH); in nfsrpc_openrpc()
574 *tl++ = txdr_unsigned(NFSV4OPEN_NOCREATE); in nfsrpc_openrpc()
576 *tl = txdr_unsigned(NFSV4OPEN_CLAIMPREVIOUS); in nfsrpc_openrpc()
578 *tl = txdr_unsigned(delegtype); in nfsrpc_openrpc()
582 *tl = txdr_unsigned( in nfsrpc_openrpc()
585 *tl = txdr_unsigned(NFSV4OPEN_CLAIMDELEGATECUR); in nfsrpc_openrpc()
[all …]
H A Dnfs_clstate.c3929 *tl++ = txdr_unsigned(seqid); in nfscl_docb()
3930 *tl++ = txdr_unsigned(slotid); in nfscl_docb()
3931 *tl++ = txdr_unsigned(NFSV4_CBSLOTS - 1); in nfscl_docb()
3932 *tl = txdr_unsigned(NFSV4_CBSLOTS - 1); in nfscl_docb()
4044 *retopsp = txdr_unsigned(retops); in nfscl_docb()
5248 return (txdr_unsigned(nd->nd_repstat & 0xffff)); in nfscl_errmap()
5250 return (txdr_unsigned(NFSERR_BADXDR)); in nfscl_errmap()
5253 return (txdr_unsigned(nd->nd_repstat)); in nfscl_errmap()
5257 return (txdr_unsigned(nd->nd_repstat)); in nfscl_errmap()
5262 return (txdr_unsigned(nd->nd_repstat)); in nfscl_errmap()
[all …]
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdsubs.c1431 fp->fa_nlink = txdr_unsigned(nvap->na_nlink); in nfsrv_fillattr()
1432 fp->fa_uid = txdr_unsigned(nvap->na_uid); in nfsrv_fillattr()
1433 fp->fa_gid = txdr_unsigned(nvap->na_gid); in nfsrv_fillattr()
1439 fp->fa3_rdev.specdata1 = txdr_unsigned(NFSMAJOR(nvap->na_rdev)); in nfsrv_fillattr()
1440 fp->fa3_rdev.specdata2 = txdr_unsigned(NFSMINOR(nvap->na_rdev)); in nfsrv_fillattr()
1442 fp->fa3_fsid.nfsuquad[1] = txdr_unsigned(nvap->na_fsid); in nfsrv_fillattr()
1450 fp->fa2_size = txdr_unsigned(nvap->na_size); in nfsrv_fillattr()
1451 fp->fa2_blocksize = txdr_unsigned(nvap->na_blocksize); in nfsrv_fillattr()
1455 fp->fa2_rdev = txdr_unsigned(nvap->na_rdev); in nfsrv_fillattr()
1456 fp->fa2_blocks = txdr_unsigned(nvap->na_bytes / NFS_FABLKSIZE); in nfsrv_fillattr()
[all …]
H A Dnfs_nfsdserv.c221 *tl++ = txdr_unsigned(supported); in nfsrvd_access()
224 *tl = txdr_unsigned(nfsmode); in nfsrvd_access()
802 *tl = txdr_unsigned(len); in nfsrvd_readlink()
999 *tl++ = txdr_unsigned(cnt); in nfsrvd_read()
1007 *tl = txdr_unsigned(cnt); in nfsrvd_read()
1182 *tl++ = txdr_unsigned(retlen); in nfsrvd_write()
1190 *tl++ = txdr_unsigned(stable); in nfsrvd_write()
1192 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC); in nfsrvd_write()
1198 *tl++ = txdr_unsigned(nfsboottime.tv_sec); in nfsrvd_write()
1199 *tl = txdr_unsigned(nfsboottime.tv_usec); in nfsrvd_write()
[all …]
H A Dnfs_nfsdstate.c4523 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrv_docallback()
4543 *tl++ = txdr_unsigned(laytype); in nfsrv_docallback()
4544 *tl++ = txdr_unsigned(NFSLAYOUTIOMODE_ANY); in nfsrv_docallback()
4549 *tl = txdr_unsigned(NFSV4LAYOUTRET_FILE); in nfsrv_docallback()
4556 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrv_docallback()
4710 *tl++ = txdr_unsigned(NFSV42_MINORVERSION); in nfsrv_cbcallargs()
4712 *tl++ = txdr_unsigned(NFSV41_MINORVERSION); in nfsrv_cbcallargs()
4713 *tl++ = txdr_unsigned(callback); in nfsrv_cbcallargs()
4714 *tl++ = txdr_unsigned(2); in nfsrv_cbcallargs()
4715 *tl = txdr_unsigned(NFSV4OP_CBSEQUENC in nfsrv_cbcallargs()
[all...]
H A Dnfs_nfsdsocket.c871 *repp = txdr_unsigned(op); in nfsrvd_compound()
879 *repp = txdr_unsigned(op); in nfsrvd_compound()
887 *repp++ = txdr_unsigned(NFSV4OP_OPILLEGAL); in nfsrvd_compound()
1403 *retopsp = txdr_unsigned(retops); in nfsrvd_compound()
H A Dnfs_nfsdport.c2403 *tl = txdr_unsigned(dp->d_fileno); in nfsrvd_readdir()
2411 *tl = txdr_unsigned(*cookiep); in nfsrvd_readdir()
5544 *(tl + 2) = txdr_unsigned(len); in nfsrv_readdsrpc()
5670 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC); in nfsrv_writedsdorpc()
5671 *tl = txdr_unsigned(len); in nfsrv_writedsdorpc()
5692 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_writedsdorpc()
5890 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_allocatedsdorpc()
6058 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_deallocatedsdorpc()
6222 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_setattrdsdorpc()
6604 *tl = txdr_unsigned(conten in nfsrv_seekdsrpc()
[all...]
/freebsd/sys/fs/nfs/
H A Dnfs_commonsubs.c413 *tl++ = txdr_unsigned(NFSV42_MINORVERSION); in nfscl_reqstart()
415 *tl++ = txdr_unsigned(NFSV41_MINORVERSION); in nfscl_reqstart()
417 *tl++ = txdr_unsigned(NFSV4_MINORVERSION); in nfscl_reqstart()
420 *tl = txdr_unsigned(opcnt); in nfscl_reqstart()
427 *tl = txdr_unsigned(NFSV4OP_SEQUENCE); in nfscl_reqstart()
444 *tl = txdr_unsigned(NFSV4OP_PUTFH); in nfscl_reqstart()
450 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfscl_reqstart()
473 *tl = txdr_unsigned(nfsv4_opmap[procnum].op); in nfscl_reqstart()
538 sp->sa_uid = txdr_unsigned(vap->va_uid); in nfscl_fillsattr()
542 sp->sa_gid = txdr_unsigned(vap->va_gid); in nfscl_fillsattr()
[all …]
H A Dnfs_commonacl.c305 *tl++ = txdr_unsigned(acetype); in nfsrv_buildace()
324 *tl++ = txdr_unsigned(aceflag); in nfsrv_buildace()
357 *tl++ = txdr_unsigned(acemask); in nfsrv_buildace()
358 *tl++ = txdr_unsigned(namelen); in nfsrv_buildace()
460 *entrycntp = txdr_unsigned(entrycnt); in nfsrv_buildacl()
H A Dnfsproto.h769 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
771 #define vtonfsv34_mode(m) txdr_unsigned((m) & 07777)
773 #define vtonfsv2_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
774 txdr_unsigned(newnfsv2_type[((u_int32_t)(a))]))
775 #define vtonfsv34_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
776 txdr_unsigned(nfsv34_type[((u_int32_t)(a))]))
H A Dxdr_subs.h50 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
H A Dnfs_commonkrpc.c1292 *tl++ = txdr_unsigned(slotseq); in newnfs_request()
1293 *tl++ = txdr_unsigned(slotpos); in newnfs_request()
1294 *tl = txdr_unsigned(maxslot); in newnfs_request()
1352 *nd->nd_slotseq = txdr_unsigned( in newnfs_request()
/freebsd/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))])