Searched refs:xid (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10.0-release/lib/libstand/
H A Diodesc.h47 u_long xid; /* transaction identification */ member in struct:iodesc
H A Dtftp.c203 if (htons(t->th_block) != d->xid) {
209 if (d->xid == 1) {
239 if (d->xid != 1) {
322 h->iodesc->xid = 1; /* expected block */
374 h->iodesc->xid = h->currblock + 1; /* expected block */
H A Dbootp.c132 bp->bp_xid = htonl(d->xid);
261 /* Bump xid so next request will be unique. */
262 ++d->xid;
316 if (bp->bp_xid != htonl(d->xid)) {
319 printf("bootprecv: expected xid 0x%lx, got 0x%x\n",
320 d->xid, ntohl(bp->bp_xid));
/freebsd-10.0-release/usr.sbin/ypserv/
H A Dyp_svc_udp.c60 svcudp_set_xid(SVCXPRT *xprt, unsigned long xid) argument
69 su->su_xid = xid;
H A Dyp_dnslookup.c111 unsigned long xid; member in struct:circleq_dnsentry
208 if (id == q->xid)
226 unsigned long xid; local
295 xid = svcudp_set_xid(q->xprt, q->xid);
307 svcudp_set_xid(q->xprt, xid);
443 q->xid = svcudp_get_xid(q->xprt);
529 q->xid = svcudp_get_xid(q->xprt);
/freebsd-10.0-release/sys/rpc/
H A Dauth.h213 #define AUTH_MARSHALL(auth, xid, xdrs, args) \
214 ((*((auth)->ah_ops->ah_marshal))(auth, xid, xdrs, args))
216 #define AUTH_VALIDATE(auth, xid, verfp, resultsp) \
217 ((*((auth)->ah_ops->ah_validate))((auth), xid, verfp, resultsp))
H A Dauth_none.c114 authnone_marshal(AUTH *client, uint32_t xid, XDR *xdrs, struct mbuf *args) argument
137 authnone_validate(AUTH *client, uint32_t xid, struct opaque_auth *opaque, argument
H A Dclnt_dg.c353 uint32_t xid = 0; local
429 xid = cu->cu_xid;
442 *mtod(mreq, uint32_t *) = htonl(xid);
450 (! AUTH_MARSHALL(auth, xid, &xdrs,
458 cr->cr_xid = xid;
712 if (! AUTH_VALIDATE(auth, xid,
783 AUTH_VALIDATE(auth, xid, NULL, NULL);
879 /* This will set the xid of the NEXT call */
1059 uint32_t xid; local
1095 if (m->m_len < sizeof(xid)
[all...]
H A Dclnt_vc.c308 uint32_t xid; local
345 xid = ct->ct_xid;
362 *mtod(mreq, uint32_t *) = htonl(xid);
369 (! AUTH_MARSHALL(auth, xid, &xdrs,
384 cr->cr_xid = xid;
414 AUTH_VALIDATE(auth, xid, NULL, NULL);
519 if (!AUTH_VALIDATE(auth, xid,
568 AUTH_VALIDATE(auth, xid, NULL, NULL);
656 /* This will set the xid of the NEXT call */
H A Dauth_unix.c251 authunix_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) argument
265 authunix_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, argument
/freebsd-10.0-release/usr.sbin/ypbind/
H A Dyp_ping.c211 u_int32_t xid; member in struct:ping_req
246 reqs[i]->xid = xid_seed;
279 clnt_control(clnt, CLSET_XID, (char *)&reqs[i]->xid);
293 if (reqs[i] != NULL && reqs[i]->xid == xid_lookup) {
/freebsd-10.0-release/sbin/dhclient/
H A Ddhcp.h63 u_int32_t xid; /* Transaction ID */ member in struct:dhcp_packet
H A Ddhclient.c586 /* make_request doesn't initialize xid because it normally comes
588 so pick an xid now. */
589 ip->client->xid = arc4random();
619 ip->client->xid = ip->client->packet.xid;
711 ip->client->xid = ip->client->packet.xid;
731 if (packet->interface->client->xid != packet->raw->xid ||
853 ip->client->xid
[all...]
/freebsd-10.0-release/sys/nfs/
H A Dkrpc_subr.c120 #define MIN_REPLY_HDR 16 /* xid, dir, astat, errno */
204 static u_int32_t xid = ~0xFF; local
284 xid++;
285 call->rp_xid = txdr_unsigned(xid);
370 if (reply->rp_xid != txdr_unsigned(xid))
H A Dbootp_subr.c109 u_int32_t xid; member in struct:bootp_packet
144 u_int32_t xid; member in struct:bootpc_ifcontext
171 u_int32_t xid; member in struct:bootpc_globalcontext
434 ifctx->xid = gctx->xid;
440 gctx->xid += 0x100;
813 if (gctx->reply.xid != ifctx->call.xid)
1230 ifctx->xid++;
1231 ifctx->call.xid
[all...]
/freebsd-10.0-release/sys/nlm/
H A Dnlm_advlock.c726 u_int xid; local
757 xid = atomic_fetchadd_int(&nlm_xid, 1);
758 args.cookie.n_len = sizeof(xid);
759 args.cookie.n_bytes = (char*) &xid;
823 xid = atomic_fetchadd_int(&nlm_xid, 1);
824 cancel.cookie.n_len = sizeof(xid);
825 cancel.cookie.n_bytes = (char*) &xid;
925 u_int xid; local
943 xid = atomic_fetchadd_int(&nlm_xid, 1);
944 args.cookie.n_len = sizeof(xid);
1000 u_int xid; local
[all...]
/freebsd-10.0-release/libexec/bootpd/tools/bootptest/
H A Dbootptest.c150 int32 xid; local
310 xid = (int32) getpid();
311 bp->bp_xid = (u_int32) htonl(xid);
/freebsd-10.0-release/contrib/amd/amd/
H A Drpc_fwd.c60 #define XID_ALLOC() (xid++)
87 static u_int xid; variable
272 dlog("Allocating a new xid...");
/freebsd-10.0-release/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c469 rpc_gss_purge_xid(struct rpc_gss_data *gd, uint32_t xid) argument
477 if (pr->pr_xid == xid) {
511 rpc_gss_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) argument
560 pr->pr_xid = xid;
616 rpc_gss_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, argument
636 rpc_gss_purge_xid(gd, xid);
674 if (pr->pr_xid == xid) {
681 if (pr->pr_xid == xid) {
/freebsd-10.0-release/sys/fs/nfsserver/
H A Dnfs_nfsdcache.c51 * the same xid are to be expected, especially for the case of the entry
57 * - key on <xid, NFS version> (as noted above, there can be several
125 * - key on <xid, NFS version, RPC#, Client host ip#>
236 #define nfsrc_hash(xid) (((xid) + ((xid) >> 24)) % NFSRVCACHE_HASHSIZE)
237 #define NFSRCUDPHASH(xid) \
238 (&nfsrvudphashtbl[nfsrc_hash(xid)])
239 #define NFSRCHASH(xid) \
240 (&nfsrchash_table[nfsrc_hash(xid)]
[all...]
H A Dnfs_nfsdkrpc.c303 nfs_proc(struct nfsrv_descript *nd, u_int32_t xid, struct socket *so, argument
337 nd->nd_retxid = xid;
/freebsd-10.0-release/share/examples/autofs/driver/
H A Dautodriver.c294 int xid; local
308 autoreq_getxid(req, &xid);
309 fprintf(stderr, "req xid %d\n", xid);
/freebsd-10.0-release/sys/fs/nfsclient/
H A Dnfs_clkrpc.c150 nfs_cbproc(struct nfsrv_descript *nd, u_int32_t xid) argument
/freebsd-10.0-release/lib/libc/rpc/
H A Dclnt_dg.c334 u_int32_t xid; local
393 xid = ntohl(*(u_int32_t *)(void *)(cu->cu_outhdr));
394 xid++;
395 *(u_int32_t *)(void *)(cu->cu_outhdr) = htonl(xid);
732 * use the knowledge that xid is the
734 * This will get the xid of the PREVIOUS call
741 /* This will set the xid of the NEXT call */
/freebsd-10.0-release/sys/boot/efi/libefi/
H A Definet.c228 desc->xid = 1;

Completed in 192 milliseconds

12