Home
last modified time | relevance | path

Searched refs:nr_options (Results 1 – 8 of 8) sorted by relevance

/freebsd/lib/libnetmap/
H A Dnmreq.c73 o->nro_next = h->nr_options; in nmreq_push_option()
74 h->nr_options = (uintptr_t)o; in nmreq_push_option()
615 for (nmo = (struct nmreq_option **)&h->nr_options; *nmo != NULL; in nmreq_remove_option()
635 for (o = (struct nmreq_option *)(uintptr_t)h->nr_options; o != NULL; in nmreq_free_options()
671 printf(" nr_options: %lx\n", (unsigned long)d->hdr.nr_options);
680 if (d->hdr.nr_options) {
681 struct nmreq_opt_extmem *e = (struct nmreq_opt_extmem *)d->hdr.nr_options;
H A Dlibnetmap.h613 for ((o_) = (struct nmreq_option *)((uintptr_t)((h_)->nr_options));\
H A Dnmport.c852 c->hdr.nr_options = 0; in nmport_clone()
/freebsd/sys/dev/netmap/
H A Dnetmap.c3420 *ptrs++ = hdr->nr_options; in nmreq_copyin()
3427 next = (struct nmreq_option **)&hdr->nr_options; in nmreq_copyin()
3429 hdr->nr_options = 0; in nmreq_copyin()
3449 hdr->nr_options = 0; in nmreq_copyin()
3528 for (src = (struct nmreq_option *)hdr->nr_options; src; in nmreq_copyin()
3556 src = (struct nmreq_option *)(uintptr_t)hdr->nr_options; in nmreq_copyout()
3557 hdr->nr_options = *ptrs; in nmreq_copyout()
3570 dst = (struct nmreq_option *)(uintptr_t)hdr->nr_options; in nmreq_copyout()
3615 if (!hdr->nr_options) in nmreq_getoption()
3618 opt_tab = (struct nmreq_option **)((uintptr_t)hdr->nr_options) - in nmreq_getoption()
[all …]
H A Dnetmap_legacy.c138 hdr->nr_options = (uintptr_t)NULL; in nmreq_from_legacy()
/freebsd/sys/net/
H A Dnetmap.h519 uint64_t nr_options; /* command-specific options */ member
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c251 hdr.nr_options = (uintptr_t)ctx->nr_opt; in port_register()
1362 hdr.nr_options = (uintptr_t)ctx->nr_opt; in sync_kloop_worker()
1563 hdr.nr_options = (uintptr_t)ctx->nr_opt; in csb_enable()
1887 hdr->nr_options != orig_hdr.nr_options || in nmreq_hdr_parsing()
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c1217 hdr.nr_options = 0; in get_vnet_hdr_len()
1245 hdr.nr_options = 0; in set_vnet_hdr_len()