Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NETMAP_API, NETMAP_MIN_API (netmap.rs) #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix NETMAP_API, NETMAP_MIN_API (netmap.rs) #23

wants to merge 1 commit into from

Conversation

Hirrolot
Copy link
Contributor

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

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
```
@polachok
Copy link
Collaborator

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

@Hirrolot
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants