nmreq_header
struct nmreq_header hdr;
void nmreq_header_init(struct nmreq_header *hdr, uint16_t reqtype, void *body);
int nmreq_header_decode(const char **ppspec, struct nmreq_header *hdr,
void nmreq_push_option(struct nmreq_header *, struct nmreq_option *);
void nmreq_remove_option(struct nmreq_header *, struct nmreq_option *);
struct nmreq_option *nmreq_find_option(struct nmreq_header *, uint32_t);
void nmreq_free_options(struct nmreq_header *);
nmreq_header_decode(const char **pifname, struct nmreq_header *h, struct nmctx *ctx)
struct nmreq_header gh;
nmreq_find_option(struct nmreq_header *h, uint32_t t)
nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o)
nmreq_free_options(struct nmreq_header *h)
nmreq_push_option(struct nmreq_header *h, struct nmreq_option *o)
nmreq_header_init(struct nmreq_header *h, uint16_t reqtype, void *body)
netmap_get_na(struct nmreq_header *hdr,
netmap_interp_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr)
netmap_set_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr)
netmap_offsets_init(struct netmap_priv_d *priv, struct nmreq_header *hdr)
struct nmreq_header *hdr)
static int nmreq_copyin(struct nmreq_header *, int);
static int nmreq_copyout(struct nmreq_header *, int);
static int nmreq_checkoptions(struct nmreq_header *);
struct nmreq_header *hdr = (struct nmreq_header *)data;
nmreq_copyin(struct nmreq_header *hdr, int nr_body_is_user)
nmreq_copyout(struct nmreq_header *hdr, int rerror)
nmreq_getoption(struct nmreq_header *hdr, uint16_t reqtype)
nmreq_checkoptions(struct nmreq_header *hdr)
netmap_bwrap_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na)
netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na)
netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na,
netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token)
netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token)
netmap_bdg_detach_locked(struct nmreq_header *hdr, void *auth_token)
nm_bdg_polling(struct nmreq_header *hdr)
int netmap_get_bdg_na(struct nmreq_header *hdr, struct netmap_adapter **na,
int netmap_vp_bdg_ctl(struct nmreq_header *hdr, struct netmap_adapter *na);
int netmap_bdg_detach_locked(struct nmreq_header *hdr, void *auth_token);
typedef int (*bdg_vp_create_fn_t)(struct nmreq_header *hdr,
int nm_bdg_polling(struct nmreq_header *hdr);
int netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token);
int netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token);
int netmap_vale_list(struct nmreq_header *hdr);
int netmap_vi_create(struct nmreq_header *hdr, int);
int nm_vi_create(struct nmreq_header *);
int netmap_interp_ringid(struct netmap_priv_d *priv, struct nmreq_header *hdr);
struct nmreq_header *);
int netmap_get_na(struct nmreq_header *hdr, struct netmap_adapter **na,
int netmap_get_vale_na(struct nmreq_header *hdr, struct netmap_adapter **na,
int netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na,
int netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na,
int netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na,
struct nmreq_header *hdr);
struct nmreq_option * nmreq_getoption(struct nmreq_header *, uint16_t);
int (*nm_bdg_ctl)(struct nmreq_header *, struct netmap_adapter *);
netmap_sync_kloop(struct netmap_priv_d *priv, struct nmreq_header *hdr)
static struct nmreq_header *
struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr));
nmreq_to_legacy(struct nmreq_header *hdr, struct nmreq *nmr)
struct nmreq_header *hdr;
nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr,
netmap_get_monitor_na(struct nmreq_header *hdr, struct netmap_adapter **na,
netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na,
netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na,
netmap_vale_vp_create(struct nmreq_header *hdr, if_t ifp,
static int netmap_vale_vp_create(struct nmreq_header *hdr, if_t,
netmap_get_vale_na(struct nmreq_header *hdr, struct netmap_adapter **na,
nm_vi_create(struct nmreq_header *hdr)
netmap_vi_create(struct nmreq_header *hdr, int autodelete)
netmap_vale_list(struct nmreq_header *hdr)
#define NIOCCTRL _IOWR('i', 151, struct nmreq_header)
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
nmreq_hdr_init(struct nmreq_header *hdr, const char *ifname)
struct nmreq_header *hdr)
struct nmreq_header orig_hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
struct nmreq_header hdr;
list_all(int fd, struct nmreq_header *hdr)
struct nmreq_header hdr;