/*
* netmap C shim.
*
* The helper functions exposed by <net/netmap_user.h> (nm_open(), nm_close(),
* nm_mmap(), nm_inject(), ...) are declared `static`, meaning they are not
* exported by any netmap library. This file includes the header and re-exports
* thin, non-static wrappers so that `netmap-min-sys` can link against them.
*
* The wrappers are self-contained: they only rely on libc (open/ioctl/mmap/...)
* and the netmap ioctl interface, so no libnetmap is required at build or
* runtime.
*
* `NETMAP_WITH_LIBS` must be defined so that netmap_user.h provides the
* "simple I/O libraries" section (`struct nm_desc`, nm_open(), nm_close(), ...).
*/
struct nm_desc *
int
int
int