aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-05-10 12:39:28 -0400
committerPatrick McHardy <kaber@trash.net>2010-05-10 12:39:28 -0400
commit1e4b1057121bc756b91758a434b504d2010f6088 (patch)
treeb016cf2c728289c7e36d9e4e488f30ab0bd0ae6e /include/linux/ipv6.h
parent3b254c54ec46eb022cb26ee6ab37fae23f5f7d6a (diff)
parent3ee943728fff536edaf8f59faa58aaa1aa7366e3 (diff)
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts: net/bridge/br_device.c net/bridge/br_forward.c Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r--include/linux/ipv6.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 7bdf6ffe2b49..0e269038bb38 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -21,6 +21,10 @@ struct in6_pktinfo {
21 int ipi6_ifindex; 21 int ipi6_ifindex;
22}; 22};
23 23
24struct ip6_mtuinfo {
25 struct sockaddr_in6 ip6m_addr;
26 __u32 ip6m_mtu;
27};
24 28
25struct in6_ifreq { 29struct in6_ifreq {
26 struct in6_addr ifr6_addr; 30 struct in6_addr ifr6_addr;
@@ -254,6 +258,7 @@ struct inet6_skb_parm {
254}; 258};
255 259
256#define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb)) 260#define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb))
261#define IP6CBMTU(skb) ((struct ip6_mtuinfo *)((skb)->cb))
257 262
258static inline int inet6_iif(const struct sk_buff *skb) 263static inline int inet6_iif(const struct sk_buff *skb)
259{ 264{
@@ -335,21 +340,25 @@ struct ipv6_pinfo {
335 dstopts:1, 340 dstopts:1,
336 odstopts:1, 341 odstopts:1,
337 rxflow:1, 342 rxflow:1,
338 rxtclass:1; 343 rxtclass:1,
344 rxpmtu:1;
339 } bits; 345 } bits;
340 __u16 all; 346 __u16 all;
341 } rxopt; 347 } rxopt;
342 348
343 /* sockopt flags */ 349 /* sockopt flags */
344 __u8 recverr:1, 350 __u16 recverr:1,
345 sndflow:1, 351 sndflow:1,
346 pmtudisc:2, 352 pmtudisc:2,
347 ipv6only:1, 353 ipv6only:1,
348 srcprefs:3; /* 001: prefer temporary address 354 srcprefs:3, /* 001: prefer temporary address
349 * 010: prefer public address 355 * 010: prefer public address
350 * 100: prefer care-of address 356 * 100: prefer care-of address
351 */ 357 */
358 dontfrag:1;
359 __u8 min_hopcount;
352 __u8 tclass; 360 __u8 tclass;
361 __u8 padding;
353 362
354 __u32 dst_cookie; 363 __u32 dst_cookie;
355 364
@@ -359,6 +368,7 @@ struct ipv6_pinfo {
359 368
360 struct ipv6_txoptions *opt; 369 struct ipv6_txoptions *opt;
361 struct sk_buff *pktoptions; 370 struct sk_buff *pktoptions;
371 struct sk_buff *rxpmtu;
362 struct { 372 struct {
363 struct ipv6_txoptions *opt; 373 struct ipv6_txoptions *opt;
364 u8 hop_limit; 374 u8 hop_limit;