diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-08 05:33:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-08 05:33:36 -0400 |
commit | 8eefca4888c986d993b2571eb31f0397a5d0a178 (patch) | |
tree | adc659aba0eaaaaa3d33db20d7c759dfc5f0669b /include/linux | |
parent | 549e028d012fab01e5726943d4afecd0c33d64e6 (diff) | |
parent | de357cc01334a468e4d5b7ba66a17b0d3ca9d63e (diff) |
Merge branch 'net-2.6.26-isatap-20080403' of git://git.linux-ipv6.org/gitroot/yoshfuji/linux-2.6-dev
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/if_tunnel.h | 22 | ||||
-rw-r--r-- | include/linux/skbuff.h | 5 |
2 files changed, 23 insertions, 4 deletions
diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h index 228eb4eb3129..f1fbe9c930d7 100644 --- a/include/linux/if_tunnel.h +++ b/include/linux/if_tunnel.h | |||
@@ -7,6 +7,10 @@ | |||
7 | #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1) | 7 | #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1) |
8 | #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2) | 8 | #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2) |
9 | #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3) | 9 | #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3) |
10 | #define SIOCGETPRL (SIOCDEVPRIVATE + 4) | ||
11 | #define SIOCADDPRL (SIOCDEVPRIVATE + 5) | ||
12 | #define SIOCDELPRL (SIOCDEVPRIVATE + 6) | ||
13 | #define SIOCCHGPRL (SIOCDEVPRIVATE + 7) | ||
10 | 14 | ||
11 | #define GRE_CSUM __constant_htons(0x8000) | 15 | #define GRE_CSUM __constant_htons(0x8000) |
12 | #define GRE_ROUTING __constant_htons(0x4000) | 16 | #define GRE_ROUTING __constant_htons(0x4000) |
@@ -17,9 +21,6 @@ | |||
17 | #define GRE_FLAGS __constant_htons(0x00F8) | 21 | #define GRE_FLAGS __constant_htons(0x00F8) |
18 | #define GRE_VERSION __constant_htons(0x0007) | 22 | #define GRE_VERSION __constant_htons(0x0007) |
19 | 23 | ||
20 | /* i_flags values for SIT mode */ | ||
21 | #define SIT_ISATAP 0x0001 | ||
22 | |||
23 | struct ip_tunnel_parm | 24 | struct ip_tunnel_parm |
24 | { | 25 | { |
25 | char name[IFNAMSIZ]; | 26 | char name[IFNAMSIZ]; |
@@ -31,4 +32,19 @@ struct ip_tunnel_parm | |||
31 | struct iphdr iph; | 32 | struct iphdr iph; |
32 | }; | 33 | }; |
33 | 34 | ||
35 | /* SIT-mode i_flags */ | ||
36 | #define SIT_ISATAP 0x0001 | ||
37 | |||
38 | struct ip_tunnel_prl { | ||
39 | __be32 addr; | ||
40 | __u16 flags; | ||
41 | __u16 __reserved; | ||
42 | __u32 datalen; | ||
43 | __u32 __reserved2; | ||
44 | void __user *data; | ||
45 | }; | ||
46 | |||
47 | /* PRL flags */ | ||
48 | #define PRL_DEFAULT 0x0001 | ||
49 | |||
34 | #endif /* _IF_TUNNEL_H_ */ | 50 | #endif /* _IF_TUNNEL_H_ */ |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index ff72145d5d9e..e517701c25ba 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -313,7 +313,10 @@ struct sk_buff { | |||
313 | __u16 tc_verd; /* traffic control verdict */ | 313 | __u16 tc_verd; /* traffic control verdict */ |
314 | #endif | 314 | #endif |
315 | #endif | 315 | #endif |
316 | /* 2 byte hole */ | 316 | #ifdef CONFIG_IPV6_NDISC_NODETYPE |
317 | __u8 ndisc_nodetype:2; | ||
318 | #endif | ||
319 | /* 14 bit hole */ | ||
317 | 320 | ||
318 | #ifdef CONFIG_NET_DMA | 321 | #ifdef CONFIG_NET_DMA |
319 | dma_cookie_t dma_cookie; | 322 | dma_cookie_t dma_cookie; |