Home
last modified time | relevance | path

Searched refs:nm_desc (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/net/
H A Dnetmap_user.h251 struct nm_desc *d;
267 struct nm_desc { struct
268 struct nm_desc *self; /* point to self if netmap. */ argument
309 #define P2NMD(p) ((const struct nm_desc *)(p)) argument
349 static struct nm_desc *nm_open(const char *ifname, const struct nmreq *req,
350 uint64_t flags, const struct nm_desc *arg);
374 static int nm_close(struct nm_desc *);
381 static int nm_mmap(struct nm_desc *, const struct nm_desc *);
389 static int nm_inject(struct nm_desc *, const void *, size_t);
390 static int nm_dispatch(struct nm_desc *, int, nm_cb_t, u_char *);
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-netmap.c54 struct nm_desc *d; /* pointer returned by nm_open() */
92 struct nm_desc *d = pn->d; in pcap_netmap_dispatch()
120 struct nm_desc *d = pn->d; in pcap_netmap_inject()
130 struct nm_desc *d = pn->d; in pcap_netmap_ioctl()
206 struct nm_desc *d = pn->d; in pcap_netmap_close()
225 struct nm_desc *d; in pcap_netmap_activate()
/freebsd/usr.sbin/bhyve/
H A Dnet_backend_netmap.c50 struct nm_desc *nmd;