]> err.no Git - linux-2.6/blobdiff - include/linux/if_tunnel.h
ssb: Add CHIPCO IRQ access functions
[linux-2.6] / include / linux / if_tunnel.h
index bef9f8fd93b3ed08d0b5a723df4d0e153413c3af..228eb4eb31295aae0df29a9637e1bf416e086c62 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _IF_TUNNEL_H_
 #define _IF_TUNNEL_H_
 
+#include <linux/types.h>
+
 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)
 #define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)
 #define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)
 #define GRE_FLAGS      __constant_htons(0x00F8)
 #define GRE_VERSION    __constant_htons(0x0007)
 
+/* i_flags values for SIT mode */
+#define        SIT_ISATAP      0x0001
+
 struct ip_tunnel_parm
 {
        char                    name[IFNAMSIZ];
        int                     link;
-       __u16                   i_flags;
-       __u16                   o_flags;
-       __u32                   i_key;
-       __u32                   o_key;
+       __be16                  i_flags;
+       __be16                  o_flags;
+       __be32                  i_key;
+       __be32                  o_key;
        struct iphdr            iph;
 };