~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/linux/if_tunnel.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef _IF_TUNNEL_H_
  2 #define _IF_TUNNEL_H_
  3 
  4 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)
  5 #define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)
  6 #define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)
  7 #define SIOCCHGTUNNEL   (SIOCDEVPRIVATE + 3)
  8 
  9 #define GRE_CSUM        __constant_htons(0x8000)
 10 #define GRE_ROUTING     __constant_htons(0x4000)
 11 #define GRE_KEY         __constant_htons(0x2000)
 12 #define GRE_SEQ         __constant_htons(0x1000)
 13 #define GRE_STRICT      __constant_htons(0x0800)
 14 #define GRE_REC         __constant_htons(0x0700)
 15 #define GRE_FLAGS       __constant_htons(0x00F8)
 16 #define GRE_VERSION     __constant_htons(0x0007)
 17 
 18 struct ip_tunnel_parm
 19 {
 20         char                    name[IFNAMSIZ];
 21         int                     link;
 22         __u16                   i_flags;
 23         __u16                   o_flags;
 24         __u32                   i_key;
 25         __u32                   o_key;
 26         struct iphdr            iph;
 27 };
 28 
 29 #endif /* _IF_TUNNEL_H_ */
 30 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.