/freebsd/lib/libnetmap/ |
H A D | libnetmap.h | 177 struct nmreq_header hdr; 483 void nmreq_header_init(struct nmreq_header *hdr, uint16_t reqtype, void *body); 503 int nmreq_header_decode(const char **ppspec, struct nmreq_header *hdr, 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); 610 void nmreq_free_options(struct nmreq_header *);
|
H A D | nmreq.c | 71 nmreq_push_option(struct nmreq_header *h, struct nmreq_option *o) in nmreq_push_option() 95 nmreq_header_init(struct nmreq_header *h, uint16_t reqtype, void *body) in nmreq_header_init() 104 nmreq_header_decode(const char **pifname, struct nmreq_header *h, struct nmctx *ctx) in nmreq_header_decode() 204 struct nmreq_header gh; in nmreq_get_mem_id() 599 nmreq_find_option(struct nmreq_header *h, uint32_t t) in nmreq_find_option() 611 nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o) in nmreq_remove_option() 626 nmreq_free_options(struct nmreq_header *h) in nmreq_free_options()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_bdg.h | 59 typedef int (*bdg_vp_create_fn_t)(struct nmreq_header *hdr, 171 int netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na, 177 int netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na); 179 int netmap_bdg_detach_locked(struct nmreq_header *hdr, void *auth_token);
|
H A D | netmap_legacy.c | 61 nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr, in nmreq_register_from_legacy() 121 static struct nmreq_header * 124 struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr)); in nmreq_from_legacy() 291 nmreq_to_legacy(struct nmreq_header *hdr, struct nmreq *nmr) in nmreq_to_legacy() 371 struct nmreq_header *hdr; in netmap_ioctl_legacy()
|
H A D | netmap_kern.h | 885 int (*nm_bdg_ctl)(struct nmreq_header *, struct netmap_adapter *); 1146 int nm_bdg_polling(struct nmreq_header *hdr); 1148 int netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token); 1149 int netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token); 1151 int netmap_vale_list(struct nmreq_header *hdr); 1152 int netmap_vi_create(struct nmreq_header *hdr, int); 1153 int nm_vi_create(struct nmreq_header *); 1529 struct nmreq_header *); 1533 int netmap_get_na(struct nmreq_header *hdr, struct netmap_adapter **na, 2320 struct nmreq_header *hdr); [all …]
|
H A D | netmap.c | 1556 netmap_get_na(struct nmreq_header *hdr, in netmap_get_na() 1990 netmap_set_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_set_ringid() 2560 struct nmreq_header *hdr) in netmap_do_regif() 2722 static int nmreq_copyin(struct nmreq_header *, int); 2723 static int nmreq_copyout(struct nmreq_header *, int); 2724 static int nmreq_checkoptions(struct nmreq_header *); 2755 struct nmreq_header *hdr = (struct nmreq_header *)data; in netmap_ioctl() 3366 nmreq_copyin(struct nmreq_header *hdr, int nr_body_is_user) in nmreq_copyin() 3541 nmreq_copyout(struct nmreq_header *hdr, int rerror) in nmreq_copyout() 3611 nmreq_getoption(struct nmreq_header *hdr, uint16_t reqtype) in nmreq_getoption() [all …]
|
H A D | netmap_bdg.c | 350 netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na) in netmap_vp_bdg_ctl() 386 netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_bdg_na() 544 netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token) in netmap_bdg_attach() 630 netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token) in netmap_bdg_detach() 641 netmap_bdg_detach_locked(struct nmreq_header *hdr, void *auth_token) in netmap_bdg_detach_locked() 958 nm_bdg_polling(struct nmreq_header *hdr) in nm_bdg_polling() 1662 netmap_bwrap_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na) in netmap_bwrap_bdg_ctl()
|
H A D | netmap_null.c | 112 netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_null_na()
|
H A D | netmap_vale.c | 127 static int netmap_vale_vp_create(struct nmreq_header *hdr, if_t, 317 netmap_vale_list(struct nmreq_header *hdr) in netmap_vale_list() 1140 netmap_vale_vp_create(struct nmreq_header *hdr, if_t ifp, in netmap_vale_vp_create() 1312 netmap_get_vale_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_vale_na() 1321 nm_vi_create(struct nmreq_header *hdr) in nm_vi_create() 1417 netmap_vi_create(struct nmreq_header *hdr, int autodelete) in netmap_vi_create()
|
H A D | netmap_pipe.c | 653 netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_pipe_na()
|
H A D | netmap_monitor.c | 902 netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_monitor_na()
|
H A D | netmap_kloop.c | 567 netmap_sync_kloop(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_sync_kloop()
|
/freebsd/tests/sys/netmap/ |
H A D | ctrl-api-test.c | 195 struct nmreq_header hdr; in port_info_get() 239 struct nmreq_header hdr; in port_register() 550 struct nmreq_header hdr; in vale_attach() 585 struct nmreq_header hdr; in vale_detach() 632 struct nmreq_header hdr; in port_hdr_set_and_get() 703 struct nmreq_header hdr; in vale_persistent_port() 748 struct nmreq_header hdr; in pools_info_get() 865 struct nmreq_header hdr; in vale_polling_enable() 899 struct nmreq_header hdr; in vale_polling_disable() 1334 struct nmreq_header hdr; in sync_kloop_stop() [all …]
|
/freebsd/sys/net/ |
H A D | netmap.h | 513 struct nmreq_header { struct 652 #define NIOCCTRL _IOWR('i', 151, struct nmreq_header)
|
/freebsd/usr.sbin/valectl/ |
H A D | valectl.c | 179 list_all(int fd, struct nmreq_header *hdr) in list_all() 205 struct nmreq_header hdr; in bdg_ctl()
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.c | 1211 struct nmreq_header hdr; in get_vnet_hdr_len() 1237 struct nmreq_header hdr; in set_vnet_hdr_len()
|