netmap_sys icon indicating copy to clipboard operation
netmap_sys copied to clipboard

Fix NETMAP_API, NETMAP_MIN_API (netmap.rs)

Open hirrolot opened this issue 6 years ago • 2 comments

The current API versions of NETMAP are defined as the following:


#define	NETMAP_API	14		/* current API version */

#define	NETMAP_MIN_API	14		/* min and max versions accepted */
#define	NETMAP_MAX_API	15

hirrolot avatar Aug 23 '19 18:08 hirrolot

We have to make sure all struct definitions are compatible with this version before bumping. I think bindgen would be the best way forward.

polachok avatar Aug 24 '19 21:08 polachok

Why don't we just copy-paste the NETMAP's headers into this crate and invoke bindgen?

hirrolot avatar Sep 17 '19 02:09 hirrolot