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

12

/freebsd-11-stable/stand/libsa/
H A Diodesc.h47 u_long xid; /* transaction identification */ member in struct:iodesc
H A Dtftp.c207 if (htons(t->th_block) < (u_short)d->xid) {
215 if (htons(t->th_block) != (u_short)d->xid) {
222 if (d->xid == 1) {
255 if (d->xid != 1) {
341 h->iodesc->xid = 1; /* expected block */
403 h->iodesc->xid = h->currblock + 1; /* expected block */
H A Dbootp.c160 bp->bp_xid = htonl(d->xid);
261 /* Bump xid so next request will be unique. */
262 ++d->xid;
310 if (bp->bp_xid != htonl(d->xid)) {
313 printf("bootprecv: expected xid 0x%lx, got 0x%x\n",
314 d->xid, ntohl(bp->bp_xid));
/freebsd-11-stable/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.c844 uint32_t xid; /* transaction ID (net order) */ member in struct:xid_map_entry
891 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid));
917 uint32_t xid; local
922 UNALIGNED_MEMCPY(&xid, &rp->rm_xid, sizeof(xmep->xid));
928 if (xmep->ipver != IP_V(ip) || xmep->xid != xid)
/freebsd-11-stable/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-stable/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.c353 uint32_t xid = 0; local
428 xid = atomic_fetchadd_32(&rpc_xid, 1);
441 *mtod(mreq, uint32_t *) = htonl(xid);
449 (! AUTH_MARSHALL(auth, xid, &xdrs,
457 cr->cr_xid = xid;
711 if (! AUTH_VALIDATE(auth, xid,
782 AUTH_VALIDATE(auth, xid, NULL, NULL);
878 /* This will set the xid of the NEXT call */
1058 uint32_t xid; local
1094 if (m->m_len < sizeof(xid)
[all...]
H A Dclnt_vc.c301 uint32_t xid; local
350 xid = ct->ct_xid;
367 *mtod(mreq, uint32_t *) = htonl(xid);
374 (! AUTH_MARSHALL(auth, xid, &xdrs,
389 cr->cr_xid = xid;
420 AUTH_VALIDATE(auth, xid, NULL, NULL);
527 if (!AUTH_VALIDATE(auth, xid,
576 AUTH_VALIDATE(auth, xid, NULL, NULL);
664 /* 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-stable/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-stable/contrib/wpa/src/common/
H A Ddhcp.h45 be32 xid; member in struct:dhcp_data
64 be32 xid; member in struct:bootp_pkt
/freebsd-11-stable/sbin/dhclient/
H A Ddhcp.h63 u_int32_t xid; /* Transaction ID */ member in struct:dhcp_packet
H A Ddhclient.c592 /* make_request doesn't initialize xid because it normally comes
594 so pick an xid now. */
595 ip->client->xid = arc4random();
625 ip->client->xid = ip->client->packet.xid;
717 ip->client->xid = ip->client->packet.xid;
737 if (packet->interface->client->xid != packet->raw->xid ||
899 ip->client->xid
[all...]
/freebsd-11-stable/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-stable/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-stable/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-stable/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#>
235 #define nfsrc_hash(xid) (((xid) + ((xid) >> 24)) % NFSRVCACHE_HASHSIZE)
236 #define NFSRCUDPHASH(xid) \
237 (&nfsrvudphashtbl[nfsrc_hash(xid)])
238 #define NFSRCHASH(xid) \
239 (&nfsrchash_table[nfsrc_hash(xid)]
[all...]
/freebsd-11-stable/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-stable/contrib/amd/amd/
H A Drpc_fwd.c56 #define XID_ALLOC() (xid++)
83 static u_int xid; variable
268 dlog("Allocating a new xid...");
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clkrpc.c150 nfs_cbproc(struct nfsrv_descript *nd, u_int32_t xid) argument

Completed in 331 milliseconds

12