X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Ftunctl.c;h=3f1c807d7b2fcee27e7426d2d8af2496d8924606;hb=87f24512c36f47cf688cb30905ad2163a368458c;hp=14b904aec594df739a6e8c09f7802c3f8d799bc6;hpb=d4c1d86583d470bc794a3c1b368b2e738cbc3b96;p=util-vserver.git diff --git a/src/tunctl.c b/src/tunctl.c index 14b904a..3f1c807 100644 --- a/src/tunctl.c +++ b/src/tunctl.c @@ -33,6 +33,21 @@ #include /* 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