| /freebsd/sys/rpc/ |
| H A D | clnt_bck.c | 201 uint32_t xid; in clnt_bck_call() local 240 xid = ct->ct_xid; in clnt_bck_call() 257 *mtod(mreq, uint32_t *) = htonl(xid); in clnt_bck_call() 264 (!AUTH_MARSHALL(auth, xid, &xdrs, in clnt_bck_call() 279 cr->cr_xid = xid; in clnt_bck_call() 324 AUTH_VALIDATE(auth, xid, NULL, NULL); in clnt_bck_call() 430 if (!AUTH_VALIDATE(auth, xid, in clnt_bck_call() 480 AUTH_VALIDATE(auth, xid, NULL, NULL); in clnt_bck_call() 570 clnt_bck_svccall(void *arg, struct mbuf *mrep, uint32_t xid) in clnt_bck_svccall() argument 591 if (cr->cr_xid == xid) { in clnt_bck_svccall()
|
| H A D | clnt_dg.c | 348 uint32_t xid = 0; in clnt_dg_call() local 420 xid = atomic_fetchadd_32(&rpc_xid, 1); in clnt_dg_call() 433 *mtod(mreq, uint32_t *) = htonl(xid); in clnt_dg_call() 441 (! AUTH_MARSHALL(auth, xid, &xdrs, in clnt_dg_call() 449 cr->cr_xid = xid; in clnt_dg_call() 703 if (! AUTH_VALIDATE(auth, xid, in clnt_dg_call() 778 AUTH_VALIDATE(auth, xid, NULL, NULL); in clnt_dg_call() 1054 uint32_t xid; in clnt_dg_soupcall() local 1090 if (m->m_len < sizeof(xid) && m_length(m, NULL) < sizeof(xid)) { in clnt_dg_soupcall() 1098 m_copydata(m, 0, sizeof(xid), (char *)&xid); in clnt_dg_soupcall() [all …]
|
| H A D | auth.h | 209 #define AUTH_MARSHALL(auth, xid, xdrs, args) \ argument 210 ((*((auth)->ah_ops->ah_marshal))(auth, xid, xdrs, args)) 212 #define AUTH_VALIDATE(auth, xid, verfp, resultsp) \ argument 213 ((*((auth)->ah_ops->ah_validate))((auth), xid, verfp, resultsp))
|
| H A D | auth_none.c | 109 authnone_marshal(AUTH *client, uint32_t xid, XDR *xdrs, struct mbuf *args) in authnone_marshal() argument 130 authnone_validate(AUTH *client, uint32_t xid, struct opaque_auth *opaque, in authnone_validate() argument
|
| H A D | clnt_vc.c | 299 uint32_t xid; in clnt_vc_call() local 351 xid = ct->ct_xid; in clnt_vc_call() 368 *mtod(mreq, uint32_t *) = htonl(xid); in clnt_vc_call() 375 (! AUTH_MARSHALL(auth, xid, &xdrs, in clnt_vc_call() 390 cr->cr_xid = xid; in clnt_vc_call() 439 AUTH_VALIDATE(auth, xid, NULL, NULL); in clnt_vc_call() 548 if (!AUTH_VALIDATE(auth, xid, in clnt_vc_call() 601 AUTH_VALIDATE(auth, xid, NULL, NULL); in clnt_vc_call()
|
| /freebsd/usr.sbin/ypserv/ |
| H A D | yp_dnslookup.c | 111 unsigned long xid; member 208 if (id == q->xid) in yp_find_dnsqent() 226 unsigned long xid; in yp_send_dns_reply() local 295 xid = svcudp_set_xid(q->xprt, q->xid); in yp_send_dns_reply() 307 svcudp_set_xid(q->xprt, xid); in yp_send_dns_reply() 437 q->xid = svcudp_get_xid(q->xprt); in yp_async_lookup_name() 523 q->xid = svcudp_get_xid(q->xprt); in yp_async_lookup_addr()
|
| H A D | yp_svc_udp.c | 60 svcudp_set_xid(SVCXPRT *xprt, unsigned long xid) in svcudp_set_xid() argument 69 su->su_xid = xid; in svcudp_set_xid()
|
| /freebsd/sys/nlm/ |
| H A D | nlm_advlock.c | 766 u_int xid; in nlm_setlock() local 797 xid = atomic_fetchadd_int(&nlm_xid, 1); in nlm_setlock() 798 args.cookie.n_len = sizeof(xid); in nlm_setlock() 799 args.cookie.n_bytes = (char*) &xid; in nlm_setlock() 863 xid = atomic_fetchadd_int(&nlm_xid, 1); in nlm_setlock() 864 cancel.cookie.n_len = sizeof(xid); in nlm_setlock() 865 cancel.cookie.n_bytes = (char*) &xid; in nlm_setlock() 964 u_int xid; in nlm_clearlock() local 982 xid = atomic_fetchadd_int(&nlm_xid, 1); in nlm_clearlock() 983 args.cookie.n_len = sizeof(xid); in nlm_clearlock() [all …]
|
| /freebsd/usr.sbin/ypbind/ |
| H A D | yp_ping.c | 202 u_int32_t xid; member 237 reqs[i]->xid = xid_seed; in __yp_ping() 270 clnt_control(clnt, CLSET_XID, (char *)&reqs[i]->xid); in __yp_ping() 284 if (reqs[i] != NULL && reqs[i]->xid == xid_lookup) { in __yp_ping()
|
| /freebsd/sys/dev/bnxt/bnxt_re/ |
| H A D | qplib_res.h | 280 u32 xid; member 378 u32 xid; member 656 #define BNXT_QPLIB_INIT_DBHDR(xid, type, indx, toggle) \ argument 657 (((u64)(((xid) & DBC_DBC_XID_MASK) | DBC_DBC_PATH_ROCE | \ 710 key = BNXT_QPLIB_INIT_DBHDR(info->xid, type, indx, toggle); in bnxt_qplib_ring_db() 723 key = BNXT_QPLIB_INIT_DBHDR(info->xid, type, indx, 0); in bnxt_qplib_ring_prod_db() 736 key = BNXT_QPLIB_INIT_DBHDR(info->xid, type, 0, toggle); in bnxt_qplib_armen_db() 746 key = BNXT_QPLIB_INIT_DBHDR(info->xid, DBC_DBC_TYPE_CQ_CUTOFF_ACK, 0, 0); in bnxt_qplib_cq_coffack_db() 755 key = BNXT_QPLIB_INIT_DBHDR(info->xid, DBC_DBC_TYPE_SRQ_ARM, 0, info->toggle); in bnxt_qplib_srq_arm_db()
|
| H A D | qplib_rcfw.c | 489 req.ah_cid = create_ah_resp->xid; in __destroy_timedout_ah() 692 u32 xid, qp_idx; in bnxt_qplib_process_qp_event() local 701 xid = le32_to_cpu(qperr->xid); in bnxt_qplib_process_qp_event() 702 qp_idx = map_qp_id_to_tbl_indx(xid, tbl); in bnxt_qplib_process_qp_event() 719 xid, qperr->req_err_state_reason, in bnxt_qplib_process_qp_event() 725 xid = le32_to_cpu(cqerr->xid); in bnxt_qplib_process_qp_event() 727 cq = tbl->rec[GET_TBL_INDEX(xid, tbl)].handle; in bnxt_qplib_process_qp_event() 1261 creq_db->dbinfo.xid = rcfw->creq.ring_id; in bnxt_qplib_map_creq_db()
|
| /freebsd/stand/libsa/ |
| H A D | tftp.c | 189 __func__, h->iodesc->myport, h->iodesc->xid, block)); in tftp_sendack() 220 __func__, d->myport, d->xid, block, extra->rtype)); in recvtftp() 225 if (block < (u_short)d->xid) { in recvtftp() 233 if (block != (u_short)d->xid) { in recvtftp() 240 if (d->xid == 1) { in recvtftp() 275 if (d->xid != 1) { in recvtftp() 359 h->iodesc->xid = 1; /* expected block */ in tftp_makereq() 426 h->iodesc->xid = h->currblock + 1; /* expected block */ in tftp_getnextblock() 430 ntohs(h->iodesc->myport), h->iodesc->xid)); in tftp_getnextblock()
|
| H A D | iodesc.h | 45 u_long xid; /* transaction identification */ member
|
| H A D | bootp.c | 148 bp->bp_xid = htonl(d->xid); in bootp() 239 ++d->xid; in bootp() 275 if (bp->bp_xid != htonl(d->xid)) { in bootprecv() 277 d->xid, ntohl(bp->bp_xid))); in bootprecv()
|
| /freebsd/usr.sbin/rpc.tlsservd/ |
| H A D | rpc.tlsservd.c | 355 uint32_t xid; member 369 ctx->xid = *(uint32_t *)pthread_getspecific(xidkey); in rpctlssd_connect_2_svc() 378 ctx->xid, rpctls_nthreads); in rpctlssd_connect_2_svc() 397 uint32_t xid, uid; in rpctlssd_connect_thread() local 402 xid = ctx->xid; in rpctlssd_connect_thread() 407 if (pthread_setspecific(xidkey, &xid) != 0) { in rpctlssd_connect_thread() 469 xid); in rpctlssd_connect_thread()
|
| /freebsd/sys/fs/nfsserver/ |
| H A D | nfs_nfsdcache.c | 238 #define nfsrc_hash(xid) (((xid) + ((xid) >> 24)) % NFSRVCACHE_HASHSIZE) argument 239 #define NFSRCUDPHASH(xid) \ argument 240 (&VNET(nfsrvudphashtbl)[nfsrc_hash(xid)]) 241 #define NFSRCHASH(xid) \ argument 242 (&VNET(nfsrchash_table)[nfsrc_hash(xid)].tbl) 243 #define NFSRCAHASH(xid) (&VNET(nfsrcahash_table)[nfsrc_hash(xid)]) argument
|
| /freebsd/lib/libc/rpc/ |
| H A D | svc_nl.c | 80 uint32_t xid; member 120 pthread_setspecific(sc->xidkey, &sc->xid) != 0)) in svc_nl_create() 219 sc->xid = msg->rm_xid; in svc_nl_recv() 271 sc->xid; in svc_nl_reply()
|
| /freebsd/sys/nfs/ |
| H A D | krpc_subr.c | 202 static u_int32_t xid = ~0xFF; in krpc_call() local 282 xid++; in krpc_call() 283 call->rp_xid = txdr_unsigned(xid); in krpc_call() 368 if (reply->rp_xid != txdr_unsigned(xid)) in krpc_call()
|
| H A D | bootp_subr.c | 113 u_int32_t xid; member 148 u_int32_t xid; member 176 u_int32_t xid; member 344 ifctx->xid = gctx->xid; in allocifctx() 350 gctx->xid += 0x100; in allocifctx() 721 if (gctx->reply.xid != ifctx->call.xid) in bootpc_call() 1183 ifctx->xid++; in bootpc_compose_query() 1184 ifctx->call.xid = txdr_unsigned(ifctx->xid); in bootpc_compose_query() 1559 gctx->xid = ~0xFFFF; in bootpc_init()
|
| /freebsd/sys/rpc/rpcsec_tls/ |
| H A D | auth_tls.c | 118 authtls_marshal(AUTH *client, uint32_t xid, XDR *xdrs, struct mbuf *args) in authtls_marshal() argument 139 authtls_validate(AUTH *client, uint32_t xid, struct opaque_auth *opaque, in authtls_validate() argument
|
| /freebsd/crypto/krb5/src/lib/rpc/ |
| H A D | pmap_rmt.c | 257 uint32_t xid; in clnt_broadcast() local 302 msg.rm_xid = xid = getpid() ^ t.tv_sec ^ t.tv_usec; in clnt_broadcast() 385 if ((msg.rm_xid == xid) && in clnt_broadcast() 395 if (msg.rm_xid == xid) in clnt_broadcast()
|
| /freebsd/libexec/bootpd/tools/bootptest/ |
| H A D | bootptest.c | 143 int32 xid; in main() local 303 xid = (int32) getpid(); in main() 304 bp->bp_xid = (u_int32) htonl(xid); in main()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | dhcp.h | 47 be32 xid; member 66 be32 xid; member
|
| /freebsd/sys/rpc/rpcsec_gss/ |
| H A D | rpcsec_gss.c | 488 rpc_gss_purge_xid(struct rpc_gss_data *gd, uint32_t xid) in rpc_gss_purge_xid() argument 496 if (pr->pr_xid == xid) { in rpc_gss_purge_xid() 530 rpc_gss_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) in rpc_gss_marshal() argument 578 pr->pr_xid = xid; in rpc_gss_marshal() 632 rpc_gss_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, in rpc_gss_validate() argument 652 rpc_gss_purge_xid(gd, xid); in rpc_gss_validate() 690 if (pr->pr_xid == xid) { in rpc_gss_validate() 697 if (pr->pr_xid == xid) { in rpc_gss_validate()
|
| /freebsd/sbin/dhclient/ |
| H A D | dhclient.c | 634 ip->client->xid = arc4random(); in state_reboot() 664 ip->client->xid = ip->client->packet.xid; in state_init() 756 ip->client->xid = ip->client->packet.xid; in state_selecting() 776 if (packet->interface->client->xid != packet->raw->xid || in dhcpack() 946 ip->client->xid = ip->client->packet.xid; in state_bound() 1043 packet->interface->client->xid != packet->raw->xid || in dhcpoffer() 1300 if (packet->interface->client->xid != packet->raw->xid || in dhcpnak() 1762 ip->client->packet.xid = arc4random(); in make_discover() 1885 ip->client->packet.xid = ip->client->xid; in make_request() 1969 ip->client->packet.xid = ip->client->xid; in make_decline()
|