Searched refs:txdr_unsigned (Results 1 – 16 of 16) sorted by relevance
162 sdata->prog = txdr_unsigned(prog); in krpc_portmap()163 sdata->vers = txdr_unsigned(vers); in krpc_portmap()164 sdata->proto = txdr_unsigned(IPPROTO_UDP); in krpc_portmap()285 call->rp_xid = txdr_unsigned(xid); in krpc_call()287 call->rp_rpcvers = txdr_unsigned(2); in krpc_call()288 call->rp_prog = txdr_unsigned(prog); in krpc_call()289 call->rp_vers = txdr_unsigned(vers); in krpc_call()290 call->rp_proc = txdr_unsigned(func); in krpc_call()292 call->rpc_auth.authtype = txdr_unsigned(AUTH_UNIX); in krpc_call()293 call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix)); in krpc_call()[all …]
52 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
1184 ifctx->call.xid = txdr_unsigned(ifctx->xid); in bootpc_compose_query()
326 *tl = txdr_unsigned(mode); in nfsrpc_accessrpc()332 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrpc_accessrpc()561 *tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid); in nfsrpc_openrpc()562 *tl++ = txdr_unsigned(mode & (NFSV4OPEN_ACCESSBOTH | in nfsrpc_openrpc()564 *tl++ = txdr_unsigned((mode >> NFSLCK_SHIFT) & NFSV4OPEN_DENYBOTH); in nfsrpc_openrpc()570 *tl++ = txdr_unsigned(NFSV4OPEN_NOCREATE); in nfsrpc_openrpc()572 *tl = txdr_unsigned(NFSV4OPEN_CLAIMPREVIOUS); in nfsrpc_openrpc()574 *tl = txdr_unsigned(delegtype); in nfsrpc_openrpc()578 *tl = txdr_unsigned( in nfsrpc_openrpc()581 *tl = txdr_unsigned(NFSV4OPEN_CLAIMDELEGATECUR); in nfsrpc_openrpc()[all …]
3938 *tl++ = txdr_unsigned(seqid); in nfscl_docb()3939 *tl++ = txdr_unsigned(slotid); in nfscl_docb()3940 *tl++ = txdr_unsigned(NFSV4_CBSLOTS - 1); in nfscl_docb()3941 *tl = txdr_unsigned(NFSV4_CBSLOTS - 1); in nfscl_docb()4053 *retopsp = txdr_unsigned(retops); in nfscl_docb()5257 return (txdr_unsigned(nd->nd_repstat & 0xffff)); in nfscl_errmap()5259 return (txdr_unsigned(NFSERR_BADXDR)); in nfscl_errmap()5262 return (txdr_unsigned(nd->nd_repstat)); in nfscl_errmap()5266 return (txdr_unsigned(nd->nd_repstat)); in nfscl_errmap()5271 return (txdr_unsigned(nd->nd_repstat)); in nfscl_errmap()[all …]
220 *tl++ = txdr_unsigned(supported); in nfsrvd_access()223 *tl = txdr_unsigned(nfsmode); in nfsrvd_access()729 *tl = txdr_unsigned(len); in nfsrvd_readlink()926 *tl++ = txdr_unsigned(cnt); in nfsrvd_read()934 *tl = txdr_unsigned(cnt); in nfsrvd_read()1109 *tl++ = txdr_unsigned(retlen); in nfsrvd_write()1117 *tl++ = txdr_unsigned(stable); in nfsrvd_write()1119 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC); in nfsrvd_write()1125 *tl++ = txdr_unsigned(nfsboottime.tv_sec); in nfsrvd_write()1126 *tl = txdr_unsigned(nfsboottime.tv_usec); in nfsrvd_write()[all …]
1431 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 …]
4516 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrv_docallback()4536 *tl++ = txdr_unsigned(laytype); in nfsrv_docallback()4537 *tl++ = txdr_unsigned(NFSLAYOUTIOMODE_ANY); in nfsrv_docallback()4542 *tl = txdr_unsigned(NFSV4LAYOUTRET_FILE); in nfsrv_docallback()4549 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrv_docallback()4703 *tl++ = txdr_unsigned(NFSV42_MINORVERSION); in nfsrv_cbcallargs()4705 *tl++ = txdr_unsigned(NFSV41_MINORVERSION); in nfsrv_cbcallargs()4706 *tl++ = txdr_unsigned(callback); in nfsrv_cbcallargs()4707 *tl++ = txdr_unsigned(2); in nfsrv_cbcallargs()4708 *tl = txdr_unsigned(NFSV4OP_CBSEQUENCE); in nfsrv_cbcallargs()[all …]
871 *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()
2292 *tl = txdr_unsigned(dp->d_fileno); in nfsrvd_readdir()2300 *tl = txdr_unsigned(*cookiep); in nfsrvd_readdir()5369 *(tl + 2) = txdr_unsigned(len); in nfsrv_readdsrpc()5495 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC); in nfsrv_writedsdorpc()5496 *tl = txdr_unsigned(len); in nfsrv_writedsdorpc()5517 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_writedsdorpc()5713 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_allocatedsdorpc()5880 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_deallocatedsdorpc()6042 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrv_setattrdsdorpc()6422 *tl = txdr_unsigned(content); in nfsrv_seekdsrpc()
409 *tl++ = txdr_unsigned(NFSV42_MINORVERSION); in nfscl_reqstart()411 *tl++ = txdr_unsigned(NFSV41_MINORVERSION); in nfscl_reqstart()413 *tl++ = txdr_unsigned(NFSV4_MINORVERSION); in nfscl_reqstart()416 *tl = txdr_unsigned(opcnt); in nfscl_reqstart()423 *tl = txdr_unsigned(NFSV4OP_SEQUENCE); in nfscl_reqstart()440 *tl = txdr_unsigned(NFSV4OP_PUTFH); in nfscl_reqstart()446 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfscl_reqstart()469 *tl = txdr_unsigned(nfsv4_opmap[procnum].op); in nfscl_reqstart()534 sp->sa_uid = txdr_unsigned(vap->va_uid); in nfscl_fillsattr()538 sp->sa_gid = txdr_unsigned(vap->va_gid); in nfscl_fillsattr()[all …]
305 *tl++ = txdr_unsigned(acetype); in nfsrv_buildace()324 *tl++ = txdr_unsigned(aceflag); in nfsrv_buildace()382 *tl++ = txdr_unsigned(acemask); in nfsrv_buildace()383 *tl++ = txdr_unsigned(namelen); in nfsrv_buildace()448 *entrycntp = txdr_unsigned(entrycnt); in nfsrv_buildacl()
761 txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \763 #define vtonfsv34_mode(m) txdr_unsigned((m) & 07777)765 #define vtonfsv2_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \766 txdr_unsigned(newnfsv2_type[((u_int32_t)(a))]))767 #define vtonfsv34_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \768 txdr_unsigned(nfsv34_type[((u_int32_t)(a))]))
50 #define txdr_unsigned(v) (htonl((int32_t)(v))) macro
1291 *tl++ = txdr_unsigned(slotseq); in newnfs_request()1292 *tl++ = txdr_unsigned(slotpos); in newnfs_request()1293 *tl = txdr_unsigned(maxslot); in newnfs_request()1351 *nd->nd_slotseq = txdr_unsigned( in newnfs_request()
236 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))])