Searched refs:nmreq_option (Results 1 – 8 of 8) sorted by relevance
/freebsd/lib/libnetmap/ |
H A D | libnetmap.h | 607 void nmreq_push_option(struct nmreq_header *, struct nmreq_option *); 608 void nmreq_remove_option(struct nmreq_header *, struct nmreq_option *); 609 struct nmreq_option *nmreq_find_option(struct nmreq_header *, uint32_t); 613 for ((o_) = (struct nmreq_option *)((uintptr_t)((h_)->nr_options));\ 615 (o_) = (struct nmreq_option *)((uintptr_t)((o_)->nro_next)))
|
H A D | nmreq.c | 71 nmreq_push_option(struct nmreq_header *h, struct nmreq_option *o) in nmreq_push_option() 598 struct nmreq_option * 601 struct nmreq_option *o = NULL; in nmreq_find_option() 611 nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o) in nmreq_remove_option() 613 struct nmreq_option **nmo; in nmreq_remove_option() 615 for (nmo = (struct nmreq_option **)&h->nr_options; *nmo != NULL; in nmreq_remove_option() 616 nmo = (struct nmreq_option **)&(*nmo)->nro_next) { in nmreq_remove_option() 628 struct nmreq_option *o, *next; in nmreq_free_options() 635 for (o = (struct nmreq_option *)(uintptr_t)h->nr_options; o != NULL; in nmreq_free_options() 637 next = (struct nmreq_option *)(uintptr_t)o->nro_next; in nmreq_free_options()
|
H A D | nmport.c | 616 struct nmreq_option *o; in nmport_register()
|
/freebsd/sys/net/ |
H A D | netmap.h | 495 struct nmreq_option { struct 924 struct nmreq_option nro_opt; /* common header */ 946 struct nmreq_option nro_opt; /* common header */ 953 struct nmreq_option nro_opt; /* common header */ 959 struct nmreq_option nro_opt; 972 struct nmreq_option nro_opt;
|
/freebsd/sys/dev/netmap/ |
H A D | netmap.c | 2787 struct nmreq_option *opt; in netmap_ioctl() 3125 struct nmreq_option *opt; in netmap_ioctl() 3277 size_t rv = sizeof(struct nmreq_option); in nmreq_opt_size_by_type() 3303 return rv - sizeof(struct nmreq_option); in nmreq_opt_size_by_type() 3371 struct nmreq_option **next, *src, **opt_tab, *opt; in nmreq_copyin() 3427 next = (struct nmreq_option **)&hdr->nr_options; in nmreq_copyin() 3437 opt_tab = (struct nmreq_option **)p; in nmreq_copyin() 3442 struct nmreq_option *nsrc; in nmreq_copyin() 3454 opt = (struct nmreq_option *)(ptrs + 1); in nmreq_copyin() 3468 nsrc = (struct nmreq_option *)opt->nro_next; in nmreq_copyin() [all …]
|
H A D | netmap_kloop.c | 581 struct nmreq_option *opt; in netmap_sync_kloop()
|
H A D | netmap_kern.h | 2466 struct nmreq_option * nmreq_getoption(struct nmreq_header *, uint16_t);
|
/freebsd/tests/sys/netmap/ |
H A D | ctrl-api-test.c | 169 struct nmreq_option *nr_opt; /* list of options */ 954 push_option(struct nmreq_option *opt, struct TestContext *ctx) in push_option() 967 checkoption(struct nmreq_option *opt, struct nmreq_option *exp) in checkoption() 991 struct nmreq_option opt, save; in unsupported_option() 1011 struct nmreq_option opt; in infinite_options() 1028 struct nmreq_option opt; in infinite_options2() 1107 ctx->nr_opt = (struct nmreq_option *)(uintptr_t)ctx->nr_opt->nro_next; in pop_extmem_option() 1421 struct nmreq_option evsave; in sync_kloop_eventfds() 1549 struct nmreq_option saveopt; in csb_enable()
|