-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
633 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef PYTUN_COMMON_H | ||
#define PYTUN_COMMON_H | ||
|
||
#include <object.h> | ||
|
||
#ifndef IFNAMSIZ | ||
#define IFNAMSIZ (20) | ||
#endif // IFNAMSIZ | ||
|
||
struct pytun_tuntap { | ||
PyObject_HEAD | ||
int fd; | ||
char name[IFNAMSIZ]; | ||
}; | ||
typedef struct pytun_tuntap pytun_tuntap_t; | ||
|
||
#endif //PYTUN_COMMON_H |
Oops, something went wrong.