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

12

/freebsd-9.3-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) {
315 h->iodesc->xid = 1; /* expected block */
367 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-9.3-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-9.3-release/sys/rpc/
H A Dauth.h212 #define AUTH_MARSHALL(auth, xid, xdrs, args) \
213 ((*((auth)->ah_ops->ah_marshal))(auth, xid, xdrs, args))
215 #define AUTH_VALIDATE(auth, xid, verfp, resultsp) \
216 ((*((auth)->ah_ops->ah_validate))((auth), xid, verfp, resultsp))
H A Dauth_none.c113 authnone_marshal(AUTH *client, uint32_t xid, XDR *xdrs, struct mbuf *args) argument
136 authnone_validate(AUTH *client, uint32_t xid, struct opaque_auth *opaque, argument
H A Dclnt_dg.c350 uint32_t xid = 0; local
426 xid = cu->cu_xid;
439 *mtod(mreq, uint32_t *) = htonl(xid);
447 (! AUTH_MARSHALL(auth, xid, &xdrs,
455 cr->cr_xid = xid;
709 if (! AUTH_VALIDATE(auth, xid,
780 AUTH_VALIDATE(auth, xid, NULL, NULL);
876 /* This will set the xid of the NEXT call */
1056 uint32_t xid; local
1092 if (m->m_len < sizeof(xid)
[all...]
H A Dclnt_vc.c300 uint32_t xid; local
337 xid = ct->ct_xid;
354 *mtod(mreq, uint32_t *) = htonl(xid);
361 (! AUTH_MARSHALL(auth, xid, &xdrs,
376 cr->cr_xid = xid;
406 AUTH_VALIDATE(auth, xid, NULL, NULL);
512 if (!AUTH_VALIDATE(auth, xid,
561 AUTH_VALIDATE(auth, xid, NULL, NULL);
649 /* This will set the xid of the NEXT call */
H A Dauth_unix.c250 authunix_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) argument
264 authunix_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, argument
/freebsd-9.3-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-9.3-release/sbin/dhclient/
H A Ddhcp.h63 u_int32_t xid; /* Transaction ID */ member in struct:dhcp_packet
H A Ddhclient.c561 /* make_request doesn't initialize xid because it normally comes
563 so pick an xid now. */
564 ip->client->xid = arc4random();
594 ip->client->xid = ip->client->packet.xid;
686 ip->client->xid = ip->client->packet.xid;
706 if (packet->interface->client->xid != packet->raw->xid ||
828 ip->client->xid
[all...]
/freebsd-9.3-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.c98 u_int32_t xid; member in struct:bootp_packet
130 u_int32_t xid; member in struct:bootpc_ifcontext
158 u_int32_t xid; member in struct:bootpc_globalcontext
427 ifctx->xid = gctx->xid;
433 gctx->xid += 0x100;
835 if (gctx->reply.xid != ifctx->call.xid)
1308 ifctx->xid++;
1309 ifctx->call.xid
[all...]
/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dgetaddrinfo.c508 dns_clientrestrans_t *xid; member in struct:gai_restrans
591 state->trans4->xid = NULL;
606 state->trans6->xid = NULL;
824 dns_client_destroyrestrans(&trans->xid);
870 rest->trans4->xid != NULL)
872 rest->trans4->xid);
874 rest->trans6->xid != NULL)
876 rest->trans6->xid);
945 &resstate->trans4->xid);
960 &resstate->trans6->xid);
[all...]
/freebsd-9.3-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-9.3-release/contrib/bind9/lib/export/samples/
H A Dsample-async.c68 dns_clientrestrans_t *xid; member in struct:query_trans
180 dns_client_destroyrestrans(&trans->xid);
195 dns_client_cancelresolve(trans->xid);
235 &trans->xid);
321 query_array[i].xid = NULL;
/freebsd-9.3-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-9.3-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#>
237 #define nfsrc_hash(xid) (((xid) + ((xid) >> 24)) % NFSRVCACHE_HASHSIZE)
238 #define NFSRCUDPHASH(xid) \
239 (&nfsrvudphashtbl[nfsrc_hash(xid)])
240 #define NFSRCHASH(xid) \
241 (&nfsrchash_table[nfsrc_hash(xid)]
[all...]
H A Dnfs_nfsdkrpc.c304 nfs_proc(struct nfsrv_descript *nd, u_int32_t xid, SVCXPRT *xprt, argument
339 nd->nd_retxid = xid;
/freebsd-9.3-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-9.3-release/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c441 rpc_gss_purge_xid(struct rpc_gss_data *gd, uint32_t xid) argument
449 if (pr->pr_xid == xid) {
483 rpc_gss_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) argument
532 pr->pr_xid = xid;
588 rpc_gss_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, argument
608 rpc_gss_purge_xid(gd, xid);
646 if (pr->pr_xid == xid) {
653 if (pr->pr_xid == xid) {
/freebsd-9.3-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-9.3-release/sys/fs/nfsclient/
H A Dnfs_clkrpc.c147 nfs_cbproc(struct nfsrv_descript *nd, u_int32_t xid) argument

Completed in 153 milliseconds

12