Home
last modified time | relevance | path

Searched refs:netmap_if (Results 1 – 8 of 8) sorted by relevance

/freebsd-src/sys/dev/netmap/
H A Dnetmap_mem2.h38 * nm_if_pool for the struct netmap_if
81 * struct netmap_if:
85 * In the worst case we have one netmap_if per ring in the system.
134 struct netmap_if * netmap_mem_if_new(struct netmap_adapter *, struct netmap_priv_d *);
135 void netmap_mem_if_delete(struct netmap_adapter *, struct netmap_if *);
H A Dnetmap_mem2.c152 struct netmap_if * (*nmd_if_new)(struct netmap_mem_d *,
155 struct netmap_adapter *, struct netmap_if *);
266 struct netmap_if * in netmap_mem_if_new()
269 struct netmap_if *nifp; in netmap_mem_if_new()
280 netmap_mem_if_delete(struct netmap_adapter *na, struct netmap_if *nif) in netmap_mem_if_delete()
541 .name = "netmap_if",
542 .objminsize = sizeof(struct netmap_if),
598 .objminsize = sizeof(struct netmap_if),
1781 v = sizeof(struct netmap_if) + sizeof(ssize_t) * (txr + rxr); in netmap_mem_private_new()
2099 * Allocate the per-fd structure netmap_if in netmap_mem2_if_new()
[all...]
H A Dnetmap.c157 * netmap_*_adapter describing the port, and allocates a netmap_if
2490 * If success it returns a pointer to netmap_if, otherwise NULL.
2562 struct netmap_if *nifp = NULL; in netmap_do_regif()
2782 struct netmap_if *nifp; in netmap_ioctl()
2857 /* return the offset of the netmap_if object */ in netmap_ioctl()
H A Dnetmap_kern.h759 struct netmap_if objs in the mapped region. */
2047 struct netmap_if * volatile np_nifp; /* netmap if descriptor. */
/freebsd-src/sys/net/
H A Dnetmap_user.h109 #define NETMAP_IF(_base, _ofs) _NETMAP_OFFSET(struct netmap_if *, _base, _ofs)
273 struct netmap_if * const nifp;
1017 struct netmap_if *nifp = NETMAP_IF(d->mem, d->req.nr_offset); in nm_mmap()
1024 *(struct netmap_if **)(uintptr_t)&(d->nifp) = nifp; in nm_mmap()
H A Dnetmap.h373 struct netmap_if { struct
/freebsd-src/lib/libnetmap/
H A Dlibnetmap.h198 struct netmap_if *nifp; /* pointer to the netmap_if */
/freebsd-src/tools/tools/netmap/
H A Dpkt-gen.c1387 struct netmap_if *nifp = targ->nmd->nifp; in ping_body()
1586 struct netmap_if *nifp = targ->nmd->nifp; in pong_body()
1680 struct netmap_if *nifp; in sender_body()
1927 struct netmap_if *nifp; in receiver_body()
3297 struct netmap_if *nifp = g.nmd->nifp; in main()