txdr_unsigned
*tl++ = txdr_unsigned(NFSV41_MINORVERSION);
*tl++ = txdr_unsigned(NFSV4_MINORVERSION);
*tl = txdr_unsigned(opcnt);
*tl = txdr_unsigned(NFSV4OP_SEQUENCE);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(nfsv4_opmap[procnum].op);
sp->sa_uid = txdr_unsigned(vap->va_uid);
sp->sa_gid = txdr_unsigned(vap->va_gid);
sp->sa_size = txdr_unsigned(rdev);
sp->sa_size = txdr_unsigned(vap->va_size);
*tl = txdr_unsigned(vap->va_mode);
*tl = txdr_unsigned(vap->va_uid);
*tl = txdr_unsigned(vap->va_gid);
*tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT);
*tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER);
*tl = txdr_unsigned(NFSV3SATTRTIME_DONTCHANGE);
*tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT);
*tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER);
*tl = txdr_unsigned(NFSV3SATTRTIME_DONTCHANGE);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl++ = txdr_unsigned(NFSV4OP_GETFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl++ = txdr_unsigned(uiop->uio_offset);
*tl++ = txdr_unsigned(len);
*(tl + 2) = txdr_unsigned(len);
*tl++ = txdr_unsigned(*iomode);
*tl = txdr_unsigned(len);
*tl++ = txdr_unsigned(len);
*tl++ = txdr_unsigned(*iomode);
*tl = txdr_unsigned(len);
x = txdr_unsigned((u_int32_t)uiop->uio_offset);
x = txdr_unsigned(len);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl++ = txdr_unsigned(NFSMAJOR(rdev));
*tl = txdr_unsigned(NFSMINOR(rdev));
*tl++ = txdr_unsigned(NFSMAJOR(rdev));
*tl = txdr_unsigned(NFSMINOR(rdev));
*tl++ = txdr_unsigned(NFSV4OP_GETFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSCREATE_EXCLUSIVE);
*tl = txdr_unsigned(NFSCREATE_UNCHECKED);
*tl++ = txdr_unsigned(owp->nfsow_seqid);
*tl++ = txdr_unsigned(NFSV4OPEN_ACCESSWRITE |
*tl++ = txdr_unsigned(NFSV4OPEN_DENYNONE);
*tl++ = txdr_unsigned(NFSV4OPEN_CREATE);
*tl = txdr_unsigned(NFSCREATE_GUARDED);
*tl = txdr_unsigned(NFSCREATE_EXCLUSIVE41);
*tl = txdr_unsigned(NFSCREATE_EXCLUSIVE);
*tl = txdr_unsigned(NFSCREATE_UNCHECKED);
*tl = txdr_unsigned(NFSV4OPEN_CLAIMNULL);
*tl++ = txdr_unsigned(NFSV4OP_GETFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(mode);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_REMOVE);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_DELEGRETURN);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_SAVEFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_RENAME);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_LINK);
*tl = txdr_unsigned(NFLNK);
*tl = txdr_unsigned(NFDIR);
*tl++ = txdr_unsigned(NFSV4OP_GETFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_PUTFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl++ = txdr_unsigned(NFSV4OP_GETFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(readsize);
*tl++ = txdr_unsigned(readsize);
*tl = txdr_unsigned(readsize);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(readsize);
*tl++ = txdr_unsigned(NFSV4OP_GETFH);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl++ = txdr_unsigned(nmp->nm_readdirsize);
*tl = txdr_unsigned(nmp->nm_readdirsize);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(cnt);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl++ = txdr_unsigned(NFSV4LOCKT_READ);
*tl++ = txdr_unsigned(NFSV4LOCKT_WRITE);
*tl++ = txdr_unsigned(type);
*tl = txdr_unsigned(lp->nfsl_seqid);
*tl = txdr_unsigned(lp->nfsl_seqid + 1);
*tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid);
*tl++ = txdr_unsigned(mode & NFSV4OPEN_ACCESSBOTH);
*tl++ = txdr_unsigned(NFSV4LOCKT_READ);
*tl++ = txdr_unsigned(NFSV4LOCKT_WRITE);
*tl++ = txdr_unsigned(reclaim);
*tl++ = txdr_unsigned((mode >> NFSLCK_SHIFT) & NFSV4OPEN_DENYBOTH);
*tl++ = txdr_unsigned(lp->nfsl_open->nfso_own->nfsow_seqid);
*tl++ = txdr_unsigned(lp->nfsl_seqid);
*tl = txdr_unsigned(lp->nfsl_seqid);
*tl = txdr_unsigned(lp->nfsl_seqid + 1);
*tl++ = txdr_unsigned(NFSV4OPEN_NOCREATE);
*tl = txdr_unsigned(NFSV4OPEN_CLAIMPREVIOUS);
*tl = txdr_unsigned(delegtype);
*tl = txdr_unsigned(NFSV4OPEN_CLAIMDELEGATECUR);
*tl = txdr_unsigned(NFSV4OPEN_CLAIMNULL);
*tl = txdr_unsigned(NFSV4OP_GETATTR);
*tl = txdr_unsigned(NFSV4OP_LOOKUP);
*opcntp = txdr_unsigned(3 + cnt);
*opcntp = txdr_unsigned(2 + cnt);
*tl = txdr_unsigned(NFSV4OP_GETFH);
*tl++ = txdr_unsigned(nfsboottime.tv_sec); /* Client owner */
*tl = txdr_unsigned(clp->nfsc_rev);
*tl++ = txdr_unsigned(exchflags);
*tl++ = txdr_unsigned(NFSV4EXCH_SP4NONE);
*tl = txdr_unsigned(1);
*tl++ = txdr_unsigned(sequenceid);
*tl = txdr_unsigned(crflags);
*tl++ = txdr_unsigned(100000); /* Max request size */
*tl++ = txdr_unsigned(100000); /* Max response size */
*tl++ = txdr_unsigned(4096); /* Max response size cached */
*tl++ = txdr_unsigned(20); /* Max operations */
*tl++ = txdr_unsigned(64); /* Max slots */
*tl++ = txdr_unsigned(10000); /* Max request size */
*tl++ = txdr_unsigned(10000); /* Max response size */
*tl++ = txdr_unsigned(4096); /* Max response size cached */
*tl++ = txdr_unsigned(4); /* Max operations */
*tl++ = txdr_unsigned(NFSV4_CBSLOTS); /* Max slots */
*tl++ = txdr_unsigned(NFS_CALLBCKPROG); /* Call back prog # */
*tl++ = txdr_unsigned(1); /* Auth_sys only */
*tl++ = txdr_unsigned(AUTH_SYS); /* AUTH_SYS type */
*tl++ = txdr_unsigned(nfsboottime.tv_sec); /* time stamp */
*tl++ = txdr_unsigned(NFSLAYOUT_NFSV4_1_FILES);
*tl++ = txdr_unsigned(iomode);
*tl++ = txdr_unsigned(stateidp->seqid);
*tl = txdr_unsigned(layoutlen);
*tl++ = txdr_unsigned(layouttype);
*tl++ = txdr_unsigned(100000);
*tl = txdr_unsigned(1); /* One word of bits. */
*tl = txdr_unsigned(*notifybitsp);
*tl = txdr_unsigned(0);
*tl++ = txdr_unsigned(stateidp->seqid);
*tl++ = txdr_unsigned(layouttype);
*tl = txdr_unsigned(layoutupdatecnt);
*tl++ = txdr_unsigned(layouttype);
*tl++ = txdr_unsigned(iomode);
*tl = txdr_unsigned(layoutreturn);
*tl++ = txdr_unsigned(stateidp->seqid);
*tl = txdr_unsigned(layoutcnt);
*(tl + 2) = txdr_unsigned(len);
*tl++ = txdr_unsigned(*iomode);
*tl = txdr_unsigned(len);
*tl = txdr_unsigned(cnt);
*tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid);
*tl++ = txdr_unsigned(mode & NFSV4OPEN_ACCESSBOTH);
*tl = txdr_unsigned((mode >> NFSLCK_SHIFT) & NFSV4OPEN_DENYBOTH);
*tl++ = txdr_unsigned(op->nfso_own->nfsow_seqid);
*tl = txdr_unsigned(op->nfso_own->nfsow_seqid);
*tl++ = txdr_unsigned(nfsboottime.tv_sec);
*tl = txdr_unsigned(clp->nfsc_rev);
*tl = txdr_unsigned(NFS_CALLBCKPROG);
*tl = txdr_unsigned(clp->nfsc_cbident);
*tl++ = txdr_unsigned(seqid);
*tl++ = txdr_unsigned(slotid);
*tl++ = txdr_unsigned(NFSV4_CBSLOTS - 1);
*tl = txdr_unsigned(NFSV4_CBSLOTS - 1);
*retopsp = txdr_unsigned(retops);
return (txdr_unsigned(nd->nd_repstat & 0xffff));
return (txdr_unsigned(NFSERR_BADXDR));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(*defaulterrp));
ifctx->call.xid = txdr_unsigned(ifctx->xid);
sdata->prog = txdr_unsigned(prog);
sdata->vers = txdr_unsigned(vers);
sdata->proto = txdr_unsigned(IPPROTO_UDP);
call->rp_xid = txdr_unsigned(xid);
call->rp_rpcvers = txdr_unsigned(2);
call->rp_prog = txdr_unsigned(prog);
call->rp_vers = txdr_unsigned(vers);
call->rp_proc = txdr_unsigned(func);
call->rpc_auth.authtype = txdr_unsigned(AUTH_UNIX);
call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix));
if (reply->rp_direction != txdr_unsigned(REPLY))
if (reply->rp_xid != txdr_unsigned(xid))
xs->len = txdr_unsigned(len);
txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : MAKEIMODE((t), (m)))
#define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])
*tl++ = txdr_unsigned(acetype);
*tl++ = txdr_unsigned(aceflag);
*tl++ = txdr_unsigned(acemask);
*tl++ = txdr_unsigned(namelen);
*entrycntp = txdr_unsigned(entrycnt);
*nd->nd_slotseq = txdr_unsigned(
*tl = txdr_unsigned(NFSV4FHTYPE_PERSISTENT);
*tl++ = txdr_unsigned(mp->mnt_stat.f_fsid.val[0]);
*tl = txdr_unsigned(mp->mnt_stat.f_fsid.val[1]);
*tl = txdr_unsigned(nfsrv_lease);
*tl = txdr_unsigned(rderror);
*tl = txdr_unsigned(NFSV4ACE_SUPTYPES);
*tl = txdr_unsigned(vap->va_fileid);
*tl = txdr_unsigned(freenum);
*tl = txdr_unsigned(fs.f_ffree);
*tl = txdr_unsigned(fs.f_files);
*tl = txdr_unsigned(LINK_MAX);
*tl = txdr_unsigned(NFS_MAXNAMLEN);
*tl = txdr_unsigned(fsinf.fs_rtmax);
*tl = txdr_unsigned(fsinf.fs_wtmax);
*tl = txdr_unsigned(vap->va_nlink);
*tl++ = txdr_unsigned(NFSMAJOR(vap->va_rdev));
*tl = txdr_unsigned(NFSMINOR(vap->va_rdev));
*tl++ = txdr_unsigned(NFSV4SATTRTIME_TOCLIENT);
*tl = txdr_unsigned(NFSV4SATTRTIME_TOSERVER);
*tl++ = txdr_unsigned(NFSV4SATTRTIME_TOCLIENT);
*tl = txdr_unsigned(NFSV4SATTRTIME_TOSERVER);
*retnump = txdr_unsigned(retnum);
*tl++ = txdr_unsigned(cnt);
*tl++ = txdr_unsigned(attrbitp->bits[i]);
*tl = txdr_unsigned(uid);
*tl = txdr_unsigned(gid);
*tl = txdr_unsigned(siz);
*tl++ = txdr_unsigned(slotseq);
*tl++ = txdr_unsigned(slotpos);
*tl++ = txdr_unsigned(maxslot);
newnfs_true = txdr_unsigned(TRUE);
newnfs_false = txdr_unsigned(FALSE);
newnfs_xdrneg1 = txdr_unsigned(-1);
txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
#define vtonfsv34_mode(m) txdr_unsigned((m) & 07777)
#define vtonfsv2_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
txdr_unsigned(newnfsv2_type[((u_int32_t)(a))]))
#define vtonfsv34_type(a) (((u_int32_t)(a)) >= 9 ? txdr_unsigned(NFNON) : \
txdr_unsigned(nfsv34_type[((u_int32_t)(a))]))
*tl = txdr_unsigned(dp->d_fileno);
*tl = txdr_unsigned(*cookiep);
*tl = txdr_unsigned(dp->d_fileno);
*tl = txdr_unsigned(*cookiep);
*tl = txdr_unsigned(*cookiep);
*tl++ = txdr_unsigned(supported);
*tl = txdr_unsigned(nfsmode);
*tl++ = txdr_unsigned(nfsboottime.tv_sec);
*tl = txdr_unsigned(nfsboottime.tv_usec);
*tl++ = txdr_unsigned(NFS_V2MAXDATA);
*tl++ = txdr_unsigned(sf->f_bsize);
*tl++ = txdr_unsigned(sf->f_blocks);
*tl++ = txdr_unsigned(sf->f_bfree);
*tl = txdr_unsigned(sf->f_bavail);
*tl++ = txdr_unsigned(fs.fs_rtmax);
*tl++ = txdr_unsigned(fs.fs_rtpref);
*tl++ = txdr_unsigned(fs.fs_rtmult);
*tl++ = txdr_unsigned(fs.fs_wtmax);
*tl++ = txdr_unsigned(fs.fs_wtpref);
*tl++ = txdr_unsigned(fs.fs_wtmult);
*tl++ = txdr_unsigned(fs.fs_dtpref);
*tl = txdr_unsigned(fs.fs_properties);
pc->pc_linkmax = txdr_unsigned(linkmax);
pc->pc_namemax = txdr_unsigned(namemax);
pc->pc_notrunc = txdr_unsigned(notrunc);
pc->pc_chownrestricted = txdr_unsigned(chownres);
*tl++ = txdr_unsigned(stateid.seqid);
*tl++ = txdr_unsigned(NFSV4LOCKT_WRITE);
*tl++ = txdr_unsigned(NFSV4LOCKT_READ);
*tl++ = txdr_unsigned(NFSV4LOCKT_WRITE);
*tl++ = txdr_unsigned(NFSV4LOCKT_READ);
*tl++ = txdr_unsigned(stateid.seqid);
*tl++ = txdr_unsigned(stateid.seqid);
*tl = txdr_unsigned(rflags & NFSV4OPEN_RFLAGS);
*tl = txdr_unsigned(NFSV4OPEN_DELEGATEREAD);
*tl = txdr_unsigned(NFSV4OPEN_DELEGATEWRITE);
*tl = txdr_unsigned(NFSV4OPEN_DELEGATENONEEXT);
*tl++ = txdr_unsigned(NFSV4OPEN_CONTENTION);
*tl++ = txdr_unsigned(NFSV4OPEN_RESOURCE);
*tl = txdr_unsigned(NFSV4OPEN_NOTWANTED);
*tl = txdr_unsigned(NFSV4OPEN_DELEGATENONE);
*tl++ = txdr_unsigned(delegstateid.seqid);
*tl++ = txdr_unsigned(NFSV4OPEN_LIMITSIZE);
*tl++ = txdr_unsigned(NFSV4ACE_ALLOWEDTYPE);
*tl++ = txdr_unsigned(0x0);
*tl = txdr_unsigned(acemask);
*tl++ = txdr_unsigned(stateid.seqid);
*tl++ = txdr_unsigned(stateid.seqid);
*tl++ = txdr_unsigned(stateid.seqid);
*tl = txdr_unsigned(RPCAUTH_UNIX);
*tl++ = txdr_unsigned(RPCAUTH_GSS);
*tl++ = txdr_unsigned(GSS_KERBV_QOP);
*tl = txdr_unsigned(RPCAUTHGSS_SVCNONE);
*tl++ = txdr_unsigned(RPCAUTH_GSS);
*tl++ = txdr_unsigned(GSS_KERBV_QOP);
*tl = txdr_unsigned(RPCAUTHGSS_SVCINTEGRITY);
*tl++ = txdr_unsigned(RPCAUTH_GSS);
*tl++ = txdr_unsigned(GSS_KERBV_QOP);
*tl = txdr_unsigned(RPCAUTHGSS_SVCPRIVACY);
*sizp = txdr_unsigned(len);
*tl++ = txdr_unsigned(confirm.lval[0]); /* SequenceID */
*tl++ = txdr_unsigned(v41flags); /* Exch flags */
*tl++ = txdr_unsigned(NFSV4EXCH_SP4NONE); /* No SSV */
*tl++ = txdr_unsigned(NFSX_UNSIGNED);
*tl = txdr_unsigned(1);
*tl++ = txdr_unsigned(confirm.lval[0]); /* sequenceid */
*tl++ = txdr_unsigned(sep->sess_crflags);
*tl++ = txdr_unsigned(sep->sess_maxreq);
*tl++ = txdr_unsigned(sep->sess_maxresp);
*tl++ = txdr_unsigned(sep->sess_maxrespcached);
*tl++ = txdr_unsigned(sep->sess_maxops);
*tl++ = txdr_unsigned(sep->sess_maxslots);
*tl++ = txdr_unsigned(1);
*tl++ = txdr_unsigned(0); /* No RDMA. */
*tl++ = txdr_unsigned(sep->sess_cbmaxreq);
*tl++ = txdr_unsigned(sep->sess_cbmaxresp);
*tl++ = txdr_unsigned(sep->sess_cbmaxrespcached);
*tl++ = txdr_unsigned(sep->sess_cbmaxops);
*tl++ = txdr_unsigned(sep->sess_cbsess.nfsess_foreslots);
*tl++ = txdr_unsigned(1);
*tl = txdr_unsigned(0); /* No RDMA. */
*tl++ = txdr_unsigned(sequenceid);
*tl++ = txdr_unsigned(nd->nd_slotid);
*tl++ = txdr_unsigned(highest_slotid);
*tl++ = txdr_unsigned(target_highest_slotid);
*tl = txdr_unsigned(sflags);
*tl = txdr_unsigned(len);
*tl++ = txdr_unsigned(cnt);
*tl = txdr_unsigned(cnt);
*tl++ = txdr_unsigned(retlen);
*tl++ = txdr_unsigned(stable);
*tl++ = txdr_unsigned(NFSWRITE_FILESYNC);
*tl++ = txdr_unsigned(nfsboottime.tv_sec);
*tl = txdr_unsigned(nfsboottime.tv_usec);
*retopsp = txdr_unsigned(retops);
*repp++ = txdr_unsigned(NFSV4OP_OPILLEGAL);
*tl++ = txdr_unsigned(stateidp->seqid);
*tl++ = txdr_unsigned(NFSV41_MINORVERSION);
*tl++ = txdr_unsigned(callback);
*tl++ = txdr_unsigned(2);
*tl = txdr_unsigned(NFSV4OP_CBSEQUENCE);
*tl = txdr_unsigned(op);
*tl++ = txdr_unsigned(NFSV4_MINORVERSION);
*tl++ = txdr_unsigned(callback);
*tl++ = txdr_unsigned(1);
*tl = txdr_unsigned(op);
*tl++ = txdr_unsigned(slotseq);
*tl++ = txdr_unsigned(slotpos);
*tl++ = txdr_unsigned(maxslot);
fp->fa_nlink = txdr_unsigned(nvap->na_nlink);
fp->fa_uid = txdr_unsigned(nvap->na_uid);
fp->fa_gid = txdr_unsigned(nvap->na_gid);
fp->fa3_rdev.specdata1 = txdr_unsigned(NFSMAJOR(nvap->na_rdev));
fp->fa3_rdev.specdata2 = txdr_unsigned(NFSMINOR(nvap->na_rdev));
fp->fa3_fsid.nfsuquad[1] = txdr_unsigned(nvap->na_fsid);
fp->fa3_fileid.nfsuquad[1] = txdr_unsigned(nvap->na_fileid);
fp->fa2_size = txdr_unsigned(nvap->na_size);
fp->fa2_blocksize = txdr_unsigned(nvap->na_blocksize);
fp->fa2_rdev = txdr_unsigned(nvap->na_rdev);
fp->fa2_blocks = txdr_unsigned(nvap->na_bytes / NFS_FABLKSIZE);
fp->fa2_fsid = txdr_unsigned(nvap->na_fsid);
fp->fa2_fileid = txdr_unsigned(nvap->na_fileid);
return (txdr_unsigned(nd->nd_repstat & 0xffff));
return (txdr_unsigned(NFSERR_BADXDR));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(nd->nd_repstat));
return (txdr_unsigned(*defaulterrp));
return (txdr_unsigned(nfsrv_v2errmap[nd->nd_repstat - 1]));
return (txdr_unsigned(NFSERR_IO));
*tl = txdr_unsigned(NFDIR);
*tl++ = txdr_unsigned(NFSV4ROOT_FSID0);
*tl = txdr_unsigned(NFSV4ROOT_REFERRAL);
*tl = txdr_unsigned(NFSERR_MOVED);
*tl = txdr_unsigned(refp->nfr_srvcnt);
*tl = txdr_unsigned(1);
*tl = txdr_unsigned(refp->nfr_dfileno);
*retnump = txdr_unsigned(retnum);
sdata->prog = txdr_unsigned(prog);
sdata->vers = txdr_unsigned(vers);
sdata->proto = txdr_unsigned(proto);
if (reply->rp_direction != txdr_unsigned(RPC_REPLY))
if (reply->rp_xid != txdr_unsigned(*(u_int32_t*)context))
call->rp_xid = txdr_unsigned(xid);
call->rp_rpcvers = txdr_unsigned(2);
call->rp_prog = txdr_unsigned(prog);
call->rp_vers = txdr_unsigned(vers);
call->rp_proc = txdr_unsigned(func);
call->rpc_auth.authtype = txdr_unsigned(RPCAUTH_UNIX);
call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix));
xs->len = txdr_unsigned(len);
xi->atype = txdr_unsigned(1);
*ip++ = txdr_unsigned(*cp++);
*ip++ = txdr_unsigned(*cp++);
*ip++ = txdr_unsigned(*cp++);
*ip++ = txdr_unsigned(*cp++);
if (xi->atype != txdr_unsigned(1)) {
call->call_prog = txdr_unsigned(BOOTPARAM_PROG);
call->call_vers = txdr_unsigned(BOOTPARAM_VERS);
call->call_proc = txdr_unsigned(BOOTPARAM_WHOAMI);
call->call_arglen = txdr_unsigned(m->m_next->m_len);
*nickp++ = txdr_unsigned(RPCAKN_NICKNAME);
*nickp = txdr_unsigned(nuidp->nu_nickname);
*verfp++ = txdr_unsigned(RPCAKN_NICKNAME);
ktvin.tv_sec = txdr_unsigned(nuidp->nu_timestamp.tv_sec);
ktvin.tv_usec = txdr_unsigned(nuidp->nu_timestamp.tv_usec);
*tl++ = txdr_unsigned(stable);
*tl++ = txdr_unsigned(NFSV3WRITE_FILESYNC);
*tl++ = txdr_unsigned(btv.tv_sec);
*tl = txdr_unsigned(btv.tv_usec);
*tl++ = txdr_unsigned(nfsd->nd_len);
*tl++ = txdr_unsigned(swp->nd_stable);
*tl++ = txdr_unsigned(btv.tv_sec);
*tl = txdr_unsigned(btv.tv_usec);
*tl = txdr_unsigned(outmode);
*tl = txdr_unsigned(dp->d_fileno >> 32);
*tl = txdr_unsigned(dp->d_fileno);
*tl = txdr_unsigned(nlen);
fl.fl_fhsize = txdr_unsigned(NFSX_V3FH);
*tl = txdr_unsigned(dp->d_fileno >> 32);
*tl = txdr_unsigned(dp->d_fileno);
*tl = txdr_unsigned(nlen);
*tl++ = txdr_unsigned(btv.tv_sec);
*tl = txdr_unsigned(btv.tv_usec);
sfp->sf_tsize = txdr_unsigned(NFS_MAXDGRAMDATA);
sfp->sf_bsize = txdr_unsigned(NFS_V2CLAMP16(sf->f_frsize));
sfp->sf_blocks = txdr_unsigned(NFS_V2CLAMP32(sf->f_blocks));
sfp->sf_bfree = txdr_unsigned(NFS_V2CLAMP32(sf->f_bfree));
sfp->sf_bavail = txdr_unsigned(NFS_V2CLAMP32(sf->f_bavail));
sip->fs_rtmax = txdr_unsigned(maxdata);
sip->fs_rtpref = txdr_unsigned(maxdata);
sip->fs_rtmult = txdr_unsigned(NFS_FABLKSIZE);
sip->fs_wtmax = txdr_unsigned(maxdata);
sip->fs_wtpref = txdr_unsigned(maxdata);
sip->fs_wtmult = txdr_unsigned(NFS_FABLKSIZE);
sip->fs_dtpref = txdr_unsigned(maxdata);
sip->fs_timedelta.nfsv3_nsec = txdr_unsigned(1);
sip->fs_properties = txdr_unsigned(NFSV3FSINFO_LINK |
pc->pc_linkmax = txdr_unsigned(linkmax);
pc->pc_namemax = txdr_unsigned(namemax);
pc->pc_notrunc = txdr_unsigned(notrunc);
pc->pc_chownrestricted = txdr_unsigned(chownres);
*tl = txdr_unsigned(len);
*tl++ = txdr_unsigned(len);
*tl = txdr_unsigned(len);
*tl++ = txdr_unsigned(retlen);
*tl++ = txdr_unsigned(nd->nd_retxid);
*tl = txdr_unsigned(err & ~NFSERR_AUTHERR);
*tl++ = txdr_unsigned(RPC_VER2);
*tl = txdr_unsigned(RPC_VER2);
txdr_unsigned(nuidp->nu_timestamp.tv_sec
txdr_unsigned(nuidp->nu_timestamp.tv_usec);
*tl++ = txdr_unsigned(3 * NFSX_UNSIGNED);
*tl++ = txdr_unsigned(
*tl = txdr_unsigned(RPC_PROGUNAVAIL);
*tl = txdr_unsigned(RPC_PROGMISMATCH);
*tl++ = txdr_unsigned(2);
*tl = txdr_unsigned(3);
*tl = txdr_unsigned(RPC_PROCUNAVAIL);
*tl = txdr_unsigned(RPC_GARBAGE);
*tl = txdr_unsigned(nfsrv_errmap(nd, err));
*tl++ = txdr_unsigned(siz);
*tl++ = txdr_unsigned(siz);
rpc_vers = txdr_unsigned(RPC_VER2);
rpc_call = txdr_unsigned(RPC_CALL);
rpc_reply = txdr_unsigned(RPC_REPLY);
rpc_msgdenied = txdr_unsigned(RPC_MSGDENIED);
rpc_msgaccepted = txdr_unsigned(RPC_MSGACCEPTED);
rpc_mismatch = txdr_unsigned(RPC_MISMATCH);
rpc_autherr = txdr_unsigned(RPC_AUTHERR);
rpc_auth_unix = txdr_unsigned(RPCAUTH_UNIX);
rpc_auth_kerb = txdr_unsigned(RPCAUTH_KERB4);
nfs_prog = txdr_unsigned(NFS_PROG);
nfs_true = txdr_unsigned(true);
nfs_false = txdr_unsigned(false);
nfs_xdrneg1 = txdr_unsigned(-1);
fp->fa_nlink = txdr_unsigned(vap->va_nlink);
fp->fa_uid = txdr_unsigned(vap->va_uid);
fp->fa_gid = txdr_unsigned(vap->va_gid);
fp->fa3_rdev.specdata1 = txdr_unsigned(major(vap->va_rdev));
fp->fa3_rdev.specdata2 = txdr_unsigned(minor(vap->va_rdev));
fp->fa3_fsid.nfsuquad[1] = txdr_unsigned(vap->va_fsid);
fp->fa2_size = txdr_unsigned(NFS_V2CLAMP32(vap->va_size));
fp->fa2_blocksize = txdr_unsigned(NFS_V2CLAMP16(vap->va_blocksize));
fp->fa2_rdev = txdr_unsigned(vap->va_rdev);
fp->fa2_blocks = txdr_unsigned(vap->va_bytes / NFS_FABLKSIZE);
fp->fa2_fsid = txdr_unsigned(vap->va_fsid);
fp->fa2_fileid = txdr_unsigned(vap->va_fileid);
return txdr_unsigned(newxid);
*tl++ = txdr_unsigned(NFS_PROG);
*tl++ = txdr_unsigned(NFS_VER3);
*tl++ = txdr_unsigned(NFS_VER2);
*tl++ = txdr_unsigned(procid);
*tl++ = txdr_unsigned(nfsv2_procid[procid]);
*tl++ = txdr_unsigned(auth_type);
*tl = txdr_unsigned(authsiz);
*tl++ = txdr_unsigned(kauth_cred_geteuid(cr));
*tl++ = txdr_unsigned(kauth_cred_getegid(cr));
*tl++ = txdr_unsigned(grpsiz);
*tl++ = txdr_unsigned(kauth_cred_group(cr, i)); /* XXX elad review */
*tl++ = txdr_unsigned(RPCAUTH_KERB4);
*tl = txdr_unsigned(verf_len);
*tl++ = txdr_unsigned(RPCAUTH_NULL);
*(tl + 2) = txdr_unsigned(len);
*tl++ = txdr_unsigned(uiop->uio_offset);
*tl++ = txdr_unsigned(len);
*tl++ = txdr_unsigned(len);
*tl++ = txdr_unsigned(*iomode);
*tl = txdr_unsigned(len);
x = txdr_unsigned((u_int32_t)uiop->uio_offset);
x = txdr_unsigned(len);
rdev = txdr_unsigned(vap->va_rdev);
*tl++ = txdr_unsigned(major(vap->va_rdev));
*tl = txdr_unsigned(minor(vap->va_rdev));
*tl = txdr_unsigned(NFSV3CREATE_EXCLUSIVE);
*tl = txdr_unsigned(excl_mode);
*tl++ = txdr_unsigned(uiop->uio_offset);
*tl = txdr_unsigned(nmp->nm_readdirsize);
*tl++ = txdr_unsigned(nmp->nm_readdirsize);
*tl = txdr_unsigned(nmp->nm_rsize);
*tl = txdr_unsigned(cnt);
*tl = txdr_unsigned(mode);
sp->sa_uid = txdr_unsigned(vap->va_uid);
sp->sa_gid = txdr_unsigned(vap->va_gid);
sp->sa_size = txdr_unsigned(vap->va_size);
*tl++ = txdr_unsigned((n)->n_fhsize); \
*tl++ = txdr_unsigned(NFSRVFH_SIZE(f)); \
*tl++ = txdr_unsigned(NFSRVFH_SIZE(f)); \
*tl = txdr_unsigned((a)->va_mode); \
*tl = txdr_unsigned((a)->va_uid); \
*tl = txdr_unsigned((a)->va_gid); \
*tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT); \
*tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER); \
*tl = txdr_unsigned(NFSV3SATTRTIME_DONTCHANGE); \
*tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT); \
*tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER); \
*tl = txdr_unsigned(NFSV3SATTRTIME_DONTCHANGE); \
*tl++ = txdr_unsigned(s); \
txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
#define vtonfsv3_mode(m) txdr_unsigned((m) & ALLPERMS)
#define vtonfsv2_type(a) txdr_unsigned(nfsv2_type[((int32_t)(a))])
#define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))])