Home
last modified time | relevance | path

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

/freebsd-12.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_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_kern.h839 int (*nm_bdg_ctl)(struct nmreq_header *, struct netmap_adapter *);
1101 int nm_bdg_polling(struct nmreq_header *hdr);
1104 int netmap_vale_attach(struct nmreq_header *hdr, void *auth_token);
1105 int netmap_vale_detach(struct nmreq_header *hdr, void *auth_token);
1106 int netmap_vale_list(struct nmreq_header *hdr);
1107 int netmap_vi_create(struct nmreq_header *hdr, int);
1108 int nm_vi_create(struct nmreq_header *);
1475 int netmap_get_na(struct nmreq_header *hdr, struct netmap_adapter **na,
1486 int netmap_get_vale_na(struct nmreq_header *hdr, struct netmap_adapter **na,
2219 struct nmreq_header *hdr);
[all …]
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.c1500 netmap_get_na(struct nmreq_header *hdr, in netmap_get_na()
2439 static int nmreq_copyin(struct nmreq_header *, int);
2440 static int nmreq_copyout(struct nmreq_header *, int);
2441 static int nmreq_checkoptions(struct nmreq_header *);
2472 struct nmreq_header *hdr = (struct nmreq_header *)data; in netmap_ioctl()
3075 nmreq_copyin(struct nmreq_header *hdr, int nr_body_is_user) in nmreq_copyin()
3242 nmreq_copyout(struct nmreq_header *hdr, int rerror) in nmreq_copyout()
3312 nmreq_getoption(struct nmreq_header *hdr, uint16_t reqtype) in nmreq_getoption()
3324 nmreq_checkoptions(struct nmreq_header *hdr) in nmreq_checkoptions()
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.c897 netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_monitor_na()
/freebsd-12.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-12.1/sys/net/
H A Dnetmap.h496 struct nmreq_header { struct
629 #define NIOCCTRL _IOWR('i', 151, struct nmreq_header)