Home
last modified time | relevance | path

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

/freebsd/lib/libnetmap/
H A Dlibnetmap.h177 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 Dnmreq.c71 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 Dnetmap_bdg.h59 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 Dnetmap_legacy.c61 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 Dnetmap_kern.h886 int (*nm_bdg_ctl)(struct nmreq_header *, struct netmap_adapter *);
1147 int nm_bdg_polling(struct nmreq_header *hdr);
1149 int netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token);
1150 int netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token);
1152 int netmap_vale_list(struct nmreq_header *hdr);
1153 int netmap_vi_create(struct nmreq_header *hdr, int);
1154 int nm_vi_create(struct nmreq_header *);
1495 int netmap_interp_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr);
1530 struct nmreq_header *);
1534 int netmap_get_na(struct nmreq_header *hdr, struct netmap_adapter **na,
[all …]
H A Dnetmap.c1556 netmap_get_na(struct nmreq_header *hdr, in netmap_get_na()
1888 netmap_interp_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_interp_ringid()
1990 netmap_set_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_set_ringid()
2281 netmap_offsets_init(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_offsets_init()
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()
[all …]
H A Dnetmap_bdg.c350 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 Dnetmap_null.c112 netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_null_na()
H A Dnetmap_vale.c127 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 Dnetmap_pipe.c653 netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_pipe_na()
H A Dnetmap_kloop.c569 netmap_sync_kloop(struct netmap_priv_d *priv, struct nmreq_header *hdr) in netmap_sync_kloop()
H A Dnetmap_monitor.c902 netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na, in netmap_get_monitor_na()
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c180 nmreq_hdr_init(struct nmreq_header *hdr, const char *ifname) in nmreq_hdr_init()
193 struct nmreq_header hdr; in port_info_get()
237 struct nmreq_header hdr; in port_register()
548 struct nmreq_header hdr; in vale_attach()
583 struct nmreq_header hdr; in vale_detach()
630 struct nmreq_header hdr; in port_hdr_set_and_get()
701 struct nmreq_header hdr; in vale_persistent_port()
746 struct nmreq_header hdr; in pools_info_get()
863 struct nmreq_header hdr; in vale_polling_enable()
897 struct nmreq_header hdr; in vale_polling_disable()
[all …]
/freebsd/sys/net/
H A Dnetmap.h513 struct nmreq_header { struct
652 #define NIOCCTRL _IOWR('i', 151, struct nmreq_header)
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller98.sh173 // arg: ptr[inout, nmreq_header\$netmap_cdevsw] {
174 // nmreq_header\$netmap_cdevsw {
/freebsd/usr.sbin/valectl/
H A Dvalectl.c179 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 Dpkt-gen.c1211 struct nmreq_header hdr; in get_vnet_hdr_len()
1237 struct nmreq_header hdr; in set_vnet_hdr_len()