Changeset 2711

Show
Ignore:
Timestamp:
04/02/08 20:59:00 (8 months ago)
Author:
dhozac
Message:

Add all the ioctls to work on older kernels too.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/tunctl.c

    r2692 r2711  
    3434 
    3535/* Make sure we have the necessary ioctls */ 
     36#ifndef TUNSETNOCSUM 
     37#  define TUNSETNOCSUM          _IOW('T', 200, int) 
     38#endif 
     39#ifndef TUNSETIFF 
     40#  define TUNSETIFF             _IOW('T', 202, int) 
     41#endif 
     42#ifndef TUNSETPERSIST 
     43#  define TUNSETPERSIST         _IOW('T', 203, int) 
     44#endif 
     45#ifndef TUNSETOWNER 
     46#  define TUNSETOWNER           _IOW('T', 204, int) 
     47#endif 
     48#ifndef TUNSETLINK 
     49#  define TUNSETLINK            _IOW('T', 205, int) 
     50#endif 
    3651#ifndef TUNSETGROUP 
    3752#  define TUNSETGROUP           _IOW('T', 206, int)