Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libnetmap/
H A Dlibnetmap.h162 struct nmreq_header hdr;
427 void nmreq_header_init(struct nmreq_header *hdr, uint16_t reqtype, void *body);
447 int nmreq_header_decode(const char **ppspec, struct nmreq_header *hdr,
551 void nmreq_push_option(struct nmreq_header *, struct nmreq_option *);
552 void nmreq_remove_option(struct nmreq_header *, struct nmreq_option *);
553 struct nmreq_option *nmreq_find_option(struct nmreq_header *, uint32_t);
554 void nmreq_free_options(struct nmreq_header *);
H A Dnmreq.c73 nmreq_push_option(struct nmreq_header *h, struct nmreq_option *o) in nmreq_push_option()
97 nmreq_header_init(struct nmreq_header *h, uint16_t reqtype, void *body) in nmreq_header_init()
106 nmreq_header_decode(const char **pifname, struct nmreq_header *h, struct nmctx *ctx) in nmreq_header_decode()
211 struct nmreq_header gh; in nmreq_get_mem_id()
606 nmreq_find_option(struct nmreq_header *h, uint32_t t) in nmreq_find_option()
618 nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o) in nmreq_remove_option()
633 nmreq_free_options(struct nmreq_header *h) in nmreq_free_options()
/freebsd-13.1/sys/dev/netmap/
H A Dnetmap_bdg.h61 typedef int (*bdg_vp_create_fn_t)(struct nmreq_header *hdr,
173 int netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na,
179 int netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na);
H A Dnetmap_kern.h838 int (*nm_bdg_ctl)(struct nmreq_header *, struct netmap_adapter *);
1100 int nm_bdg_polling(struct nmreq_header *hdr);
1103 int netmap_vale_attach(struct nmreq_header *hdr, void *auth_token);
1104 int netmap_vale_detach(struct nmreq_header *hdr, void *auth_token);
1105 int netmap_vale_list(struct nmreq_header *hdr);
1106 int netmap_vi_create(struct nmreq_header *hdr, int);
1107 int nm_vi_create(struct nmreq_header *);
1487 struct nmreq_header *);
1491 int netmap_get_na(struct nmreq_header *hdr, struct netmap_adapter **na,
2233 struct nmreq_header *hdr);
[all …]
H A Dnetmap_legacy.c62 nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr, in nmreq_register_from_legacy()
122 static struct nmreq_header *
125 struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr)); in nmreq_from_legacy()
292 nmreq_to_legacy(struct nmreq_header *hdr, struct nmreq *nmr) in nmreq_to_legacy()
372 struct nmreq_header *hdr; in netmap_ioctl_legacy()
H A Dnetmap_vale.c124 static int netmap_vale_vp_create(struct nmreq_header *hdr, struct ifnet *,
312 netmap_vale_list(struct nmreq_header *hdr) in netmap_vale_list()
393 netmap_vale_attach(struct nmreq_header *hdr, void *auth_token) in netmap_vale_attach()
472 netmap_vale_detach(struct nmreq_header *hdr, void *auth_token) in netmap_vale_detach()
1259 netmap_vale_vp_create(struct nmreq_header *hdr, struct ifnet *ifp, in netmap_vale_vp_create()
1430 netmap_get_vale_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_vale_na()
1439 nm_vi_create(struct nmreq_header *hdr) in nm_vi_create()
1535 netmap_vi_create(struct nmreq_header *hdr, int autodelete) in netmap_vi_create()
H A Dnetmap_null.c113 netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_null_na()
H A Dnetmap.c1514 netmap_get_na(struct nmreq_header *hdr, in netmap_get_na()
1948 netmap_set_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_set_ringid()
2308 struct nmreq_header *hdr) in netmap_do_regif()
2458 static int nmreq_copyin(struct nmreq_header *, int);
2459 static int nmreq_copyout(struct nmreq_header *, int);
2460 static int nmreq_checkoptions(struct nmreq_header *);
2491 struct nmreq_header *hdr = (struct nmreq_header *)data; in netmap_ioctl()
3097 nmreq_copyin(struct nmreq_header *hdr, int nr_body_is_user) in nmreq_copyin()
3257 nmreq_copyout(struct nmreq_header *hdr, int rerror) in nmreq_copyout()
3327 nmreq_getoption(struct nmreq_header *hdr, uint16_t reqtype) in nmreq_getoption()
[all …]
H A Dnetmap_bdg.c352 netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na) in netmap_vp_bdg_ctl()
388 netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_bdg_na()
813 nm_bdg_polling(struct nmreq_header *hdr) in nm_bdg_polling()
1453 netmap_bwrap_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na) in netmap_bwrap_bdg_ctl()
H A Dnetmap_pipe.c653 netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_pipe_na()
H A Dnetmap_kloop.c561 netmap_sync_kloop(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_sync_kloop()
H A Dnetmap_monitor.c901 netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_monitor_na()
/freebsd-13.1/tests/sys/netmap/
H A Dctrl-api-test.c178 struct nmreq_header hdr; in port_info_get()
222 struct nmreq_header hdr; in port_register()
520 struct nmreq_header hdr; in vale_attach()
554 struct nmreq_header hdr; in vale_detach()
600 struct nmreq_header hdr; in port_hdr_set_and_get()
671 struct nmreq_header hdr; in vale_persistent_port()
716 struct nmreq_header hdr; in pools_info_get()
833 struct nmreq_header hdr; in vale_polling_enable()
865 struct nmreq_header hdr; in vale_polling_disable()
1280 struct nmreq_header hdr; in sync_kloop_stop()
[all …]
/freebsd-13.1/sys/net/
H A Dnetmap.h499 struct nmreq_header { struct
632 #define NIOCCTRL _IOWR('i', 151, struct nmreq_header)
/freebsd-13.1/usr.sbin/valectl/
H A Dvalectl.c180 list_all(int fd, struct nmreq_header *hdr) in list_all()
206 struct nmreq_header hdr; in bdg_ctl()
/freebsd-13.1/tools/tools/netmap/
H A Dpkt-gen.c1128 struct nmreq_header hdr; in get_vnet_hdr_len()
1154 struct nmreq_header hdr; in set_vnet_hdr_len()