Home
last modified time | relevance | path

Searched refs:nr_body (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/sys/dev/netmap/
H A Dnetmap_legacy.c139 hdr->nr_body = (uintptr_t)NULL; in nmreq_from_legacy()
148 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
158 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
180 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
189 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
206 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
238 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
246 hdr->nr_body = (uintptr_t)req; in nmreq_from_legacy()
264 if (hdr->nr_body) { in nmreq_from_legacy()
265 nm_os_free((void *)(uintptr_t)hdr->nr_body); in nmreq_from_legacy()
[all …]
H A Dnetmap.c2937 hdr->nr_body = (uintptr_t)&regreq; in netmap_ioctl()
3013 hdr->nr_body = (uintptr_t)&regreq; in netmap_ioctl()
3016 hdr->nr_body = (uintptr_t)req; in netmap_ioctl()
3047 hdr->nr_body = (uintptr_t)&regreq; in netmap_ioctl()
3050 hdr->nr_body = (uintptr_t)req; in netmap_ioctl()
3095 hdr->nr_body = (uintptr_t)&regreq; in netmap_ioctl()
3391 if ((rqsz && hdr->nr_body == (uintptr_t)NULL) || in nmreq_copyin()
3392 (!rqsz && hdr->nr_body != (uintptr_t)NULL)) { in nmreq_copyin()
3419 *ptrs++ = hdr->nr_body; in nmreq_copyin()
3423 hdr->nr_body = (uintptr_t)p; in nmreq_copyin()
[all …]
H A Dnetmap_null.c115 struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body; in netmap_get_null_na()
H A Dnetmap_vale.c320 (struct nmreq_vale_list *)(uintptr_t)hdr->nr_body; in netmap_vale_list()
1143 struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body; in netmap_vale_vp_create()
1324 (struct nmreq_vale_newif *)(uintptr_t)hdr->nr_body; in nm_vi_create()
1336 hdr->nr_body = (uintptr_t)&regreq; in nm_vi_create()
1339 hdr->nr_body = (uintptr_t)req; in nm_vi_create()
1419 struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body; in netmap_vi_create()
H A Dnetmap_monitor.c905 struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body; in netmap_get_monitor_na()
931 hdr->nr_body = (uintptr_t)&preq; in netmap_get_monitor_na()
933 hdr->nr_body = (uintptr_t)req; in netmap_get_monitor_na()
H A Dnetmap_bdg.c507 (struct nmreq_vale_attach *)(uintptr_t)hdr->nr_body; in netmap_get_bdg_na()
547 (struct nmreq_vale_attach *)(uintptr_t)hdr->nr_body; in netmap_bdg_attach()
643 struct nmreq_vale_detach *nmreq_det = (void *)(uintptr_t)hdr->nr_body; in netmap_bdg_detach_locked()
961 (struct nmreq_vale_polling *)(uintptr_t)hdr->nr_body; in nm_bdg_polling()
1670 (struct nmreq_vale_attach *)(uintptr_t)hdr->nr_body; in netmap_bwrap_bdg_ctl()
H A Dnetmap_pipe.c656 struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body; in netmap_get_pipe_na()
H A Dnetmap_kern.h1580 …(((struct nmreq_register *)(uintptr_t)hdr->nr_body)->nr_flags & (NR_MONITOR_TX | NR_MONITOR_RX) ? …
1588 …(((struct nmreq_register *)(uintptr_t)hdr->nr_body)->nr_flags & (NR_MONITOR_TX | NR_MONITOR_RX) ? …
H A Dnetmap_kloop.c570 (struct nmreq_sync_kloop_start *)(uintptr_t)hdr->nr_body; in netmap_sync_kloop()
/freebsd-14.2/usr.sbin/valectl/
H A Dvalectl.c183 (struct nmreq_vale_list *)(uintptr_t)hdr->nr_body; in list_all()
239 hdr.nr_body = (uintptr_t)&vale_newif; in bdg_ctl()
254 hdr.nr_body = (uintptr_t)&vale_attach; in bdg_ctl()
270 hdr.nr_body = (uintptr_t)&vale_detach; in bdg_ctl()
276 hdr.nr_body = (uintptr_t)&vale_list; in bdg_ctl()
288 hdr.nr_body = (uintptr_t)&vale_polling; in bdg_ctl()
296 hdr.nr_body = (uintptr_t)&port_info_get; in bdg_ctl()
/freebsd-14.2/tests/sys/netmap/
H A Dctrl-api-test.c203 hdr.nr_body = (uintptr_t)&req; in port_info_get()
250 hdr.nr_body = (uintptr_t)&req; in port_register()
560 hdr.nr_body = (uintptr_t)&req; in vale_attach()
596 hdr.nr_body = (uintptr_t)&req; in vale_detach()
639 hdr.nr_body = (uintptr_t)&req; in port_hdr_set_and_get()
713 hdr.nr_body = (uintptr_t)&req; in vale_persistent_port()
731 hdr.nr_body = (uintptr_t)NULL; in vale_persistent_port()
755 hdr.nr_body = (uintptr_t)&req; in pools_info_get()
876 hdr.nr_body = (uintptr_t)&req; in vale_polling_enable()
1564 hdr.nr_body = (uintptr_t)NULL; in csb_enable()
[all …]
/freebsd-14.2/tests/sys/netpfil/pf/
H A Dmacro.sh10 nr_body() function
/freebsd-14.2/lib/libnetmap/
H A Dnmreq.c100 h->nr_body = (uintptr_t)body; in nmreq_header_init()
672 printf(" nr_body: %lx\n", (unsigned long)d->hdr.nr_body);
674 printf("register (%p):\n", (void *)d->hdr.nr_body);
H A Dnmport.c850 c->hdr.nr_body = (uintptr_t)&c->reg; in nmport_clone()
/freebsd-14.2/sys/net/
H A Dnetmap.h520 uint64_t nr_body; /* ptr to nmreq_xyz struct */ member
/freebsd-14.2/tools/tools/netmap/
H A Dpkt-gen.c1219 hdr.nr_body = (uintptr_t)&ph; in get_vnet_hdr_len()
1247 hdr.nr_body = (uintptr_t)&ph; in set_vnet_hdr_len()