nmreq
nmreq_from_legacy(struct nmreq *nmr, u_long ioctl_cmd)
nmreq_register_to_legacy(const struct nmreq_register *req, struct nmreq *nmr)
nmreq_to_legacy(struct nmreq_header *hdr, struct nmreq *nmr)
struct nmreq *nmr = (struct nmreq *) data;
struct nmreq *nmr = (struct nmreq *)data;
nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr,
#define NIOCGINFO _IOWR('i', 145, struct nmreq) /* return IF info */
#define NIOCREGIF _IOWR('i', 146, struct nmreq) /* interface register */
struct nmreq req; /* also contains the nr_name = ifname */
static struct nm_desc *nm_open(const char *ifname, const struct nmreq *req,
szIn = sizeof(struct nmreq);
szOut = sizeof(struct nmreq);
nm_open(const char *ifname, const struct nmreq *req,
struct nmreq req;
nmreq_init(struct nmreq *req, char *ifname)
struct nmreq req;