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

12

/freebsd-11.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.c133 bp->bp_xid = htonl(d->xid);
262 /* Bump xid so next request will be unique. */
263 ++d->xid;
317 if (bp->bp_xid != htonl(d->xid)) {
320 printf("bootprecv: expected xid 0x%lx, got 0x%x\n",
321 d->xid, ntohl(bp->bp_xid));
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-openflow.c71 const uint16_t length, const uint32_t xid)
73 ND_PRINT((ndo, "\n\tversion unknown (0x%02x), type 0x%02x, length %u, xid 0x%08x",
74 version, type, length, xid));
83 uint32_t xid; local
99 /* xid */
101 xid = EXTRACT_32BITS(cp);
109 of_header_print(ndo, version, type, length, xid);
116 return of10_header_body_print(ndo, cp, ep, type, length, xid);
118 of_header_print(ndo, version, type, length, xid);
70 of_header_print(netdissect_options *ndo, const uint8_t version, const uint8_t type, const uint16_t length, const uint32_t xid) argument
H A Dprint-nfs.c854 uint32_t xid; /* transaction ID (net order) */ member in struct:xid_map_entry
910 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid));
938 uint32_t xid = rp->rm_xid; local
950 if (xmep->ipver != IP_V(ip) || xmep->xid != xid)
/freebsd-11.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-11.0-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_bck.c203 uint32_t xid; local
239 xid = ct->ct_xid;
256 *mtod(mreq, uint32_t *) = htonl(xid);
263 (!AUTH_MARSHALL(auth, xid, &xdrs,
278 cr->cr_xid = xid;
312 AUTH_VALIDATE(auth, xid, NULL, NULL);
418 if (!AUTH_VALIDATE(auth, xid,
464 AUTH_VALIDATE(auth, xid, NULL, NULL);
551 clnt_bck_svccall(void *arg, struct mbuf *mrep, uint32_t xid) argument
564 if (cr->cr_xid == xid) {
[all...]
H A Dclnt_dg.c348 uint32_t xid = 0; local
424 xid = cu->cu_xid;
437 *mtod(mreq, uint32_t *) = htonl(xid);
445 (! AUTH_MARSHALL(auth, xid, &xdrs,
453 cr->cr_xid = xid;
707 if (! AUTH_VALIDATE(auth, xid,
778 AUTH_VALIDATE(auth, xid, NULL, NULL);
874 /* This will set the xid of the NEXT call */
1054 uint32_t xid; local
1090 if (m->m_len < sizeof(xid)
[all...]
H A Dclnt_vc.c298 uint32_t xid; local
335 xid = ct->ct_xid;
352 *mtod(mreq, uint32_t *) = htonl(xid);
359 (! AUTH_MARSHALL(auth, xid, &xdrs,
374 cr->cr_xid = xid;
404 AUTH_VALIDATE(auth, xid, NULL, NULL);
509 if (!AUTH_VALIDATE(auth, xid,
558 AUTH_VALIDATE(auth, xid, NULL, NULL);
646 /* 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-11.0-release/usr.sbin/ypbind/
H A Dyp_ping.c209 u_int32_t xid; member in struct:ping_req
244 reqs[i]->xid = xid_seed;
277 clnt_control(clnt, CLSET_XID, (char *)&reqs[i]->xid);
291 if (reqs[i] != NULL && reqs[i]->xid == xid_lookup) {
/freebsd-11.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.c114 u_int32_t xid; member in struct:bootp_packet
149 u_int32_t xid; member in struct:bootpc_ifcontext
177 u_int32_t xid; member in struct:bootpc_globalcontext
441 ifctx->xid = gctx->xid;
447 gctx->xid += 0x100;
820 if (gctx->reply.xid != ifctx->call.xid)
1269 ifctx->xid++;
1270 ifctx->call.xid
[all...]
/freebsd-11.0-release/sbin/dhclient/
H A Ddhcp.h63 u_int32_t xid; /* Transaction ID */ member in struct:dhcp_packet
H A Ddhclient.c584 /* make_request doesn't initialize xid because it normally comes
586 so pick an xid now. */
587 ip->client->xid = arc4random();
617 ip->client->xid = ip->client->packet.xid;
709 ip->client->xid = ip->client->packet.xid;
729 if (packet->interface->client->xid != packet->raw->xid ||
851 ip->client->xid
[all...]
/freebsd-11.0-release/sys/nlm/
H A Dnlm_advlock.c766 u_int xid; local
797 xid = atomic_fetchadd_int(&nlm_xid, 1);
798 args.cookie.n_len = sizeof(xid);
799 args.cookie.n_bytes = (char*) &xid;
863 xid = atomic_fetchadd_int(&nlm_xid, 1);
864 cancel.cookie.n_len = sizeof(xid);
865 cancel.cookie.n_bytes = (char*) &xid;
965 u_int xid; local
983 xid = atomic_fetchadd_int(&nlm_xid, 1);
984 args.cookie.n_len = sizeof(xid);
1040 u_int xid; local
[all...]
/freebsd-11.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-11.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#>
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...]
/freebsd-11.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-11.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-11.0-release/contrib/wpa/src/ap/
H A Ddhcp_snoop.c28 be32 xid; member in struct:bootp_pkt
/freebsd-11.0-release/sys/fs/nfsclient/
H A Dnfs_clkrpc.c150 nfs_cbproc(struct nfsrv_descript *nd, u_int32_t xid) argument

Completed in 505 milliseconds

12