git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4c1d86
)
changeset 2711 upstream
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Fri, 11 Apr 2008 13:03:40 +0000
(13:03 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Fri, 11 Apr 2008 13:03:40 +0000
(13:03 +0000)
src/tunctl.c
patch
|
blob
|
history
diff --git
a/src/tunctl.c
b/src/tunctl.c
index
14b904a
..
3f1c807
100644
(file)
--- a/
src/tunctl.c
+++ b/
src/tunctl.c
@@
-33,6
+33,21
@@
#include <linux/if_tun.h>
/* Make sure we have the necessary ioctls */
#include <linux/if_tun.h>
/* Make sure we have the necessary ioctls */
+#ifndef TUNSETNOCSUM
+# define TUNSETNOCSUM _IOW('T', 200, int)
+#endif
+#ifndef TUNSETIFF
+# define TUNSETIFF _IOW('T', 202, int)
+#endif
+#ifndef TUNSETPERSIST
+# define TUNSETPERSIST _IOW('T', 203, int)
+#endif
+#ifndef TUNSETOWNER
+# define TUNSETOWNER _IOW('T', 204, int)
+#endif
+#ifndef TUNSETLINK
+# define TUNSETLINK _IOW('T', 205, int)
+#endif
#ifndef TUNSETGROUP
# define TUNSETGROUP _IOW('T', 206, int)
#endif
#ifndef TUNSETGROUP
# define TUNSETGROUP _IOW('T', 206, int)
#endif