diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:04:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:04:44 -0400 |
commit | f8965467f366fd18f01feafb5db10512d7b4422c (patch) | |
tree | 3706a9cd779859271ca61b85c63a1bc3f82d626e /include/linux/ipv6.h | |
parent | a26272e5200765691e67d6780e52b32498fdb659 (diff) | |
parent | 2ec8c6bb5d8f3a62a79f463525054bae1e3d4487 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1674 commits)
qlcnic: adding co maintainer
ixgbe: add support for active DA cables
ixgbe: dcb, do not tag tc_prio_control frames
ixgbe: fix ixgbe_tx_is_paused logic
ixgbe: always enable vlan strip/insert when DCB is enabled
ixgbe: remove some redundant code in setting FCoE FIP filter
ixgbe: fix wrong offset to fc_frame_header in ixgbe_fcoe_ddp
ixgbe: fix header len when unsplit packet overflows to data buffer
ipv6: Never schedule DAD timer on dead address
ipv6: Use POSTDAD state
ipv6: Use state_lock to protect ifa state
ipv6: Replace inet6_ifaddr->dead with state
cxgb4: notify upper drivers if the device is already up when they load
cxgb4: keep interrupts available when the ports are brought down
cxgb4: fix initial addition of MAC address
cnic: Return SPQ credit to bnx2x after ring setup and shutdown.
cnic: Convert cnic_local_flags to atomic ops.
can: Fix SJA1000 command register writes on SMP systems
bridge: fix build for CONFIG_SYSFS disabled
ARCNET: Limit com20020 PCI ID matches for SOHARD cards
...
Fix up various conflicts with pcmcia tree drivers/net/
{pcmcia/3c589_cs.c, wireless/orinoco/orinoco_cs.c and
wireless/orinoco/spectrum_cs.c} and feature removal
(Documentation/feature-removal-schedule.txt).
Also fix a non-content conflict due to pm_qos_requirement getting
renamed in the PM tree (now pm_qos_request) in net/mac80211/scan.c
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index e0cc9a7db2b5..99e1ab7e3eec 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 | ||
24 | struct ip6_mtuinfo { | ||
25 | struct sockaddr_in6 ip6m_addr; | ||
26 | __u32 ip6m_mtu; | ||
27 | }; | ||
24 | 28 | ||
25 | struct in6_ifreq { | 29 | struct in6_ifreq { |
26 | struct in6_addr ifr6_addr; | 30 | struct in6_addr ifr6_addr; |
@@ -250,9 +254,11 @@ struct inet6_skb_parm { | |||
250 | 254 | ||
251 | #define IP6SKB_XFRM_TRANSFORMED 1 | 255 | #define IP6SKB_XFRM_TRANSFORMED 1 |
252 | #define IP6SKB_FORWARDED 2 | 256 | #define IP6SKB_FORWARDED 2 |
257 | #define IP6SKB_REROUTED 4 | ||
253 | }; | 258 | }; |
254 | 259 | ||
255 | #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)) | ||
256 | 262 | ||
257 | static inline int inet6_iif(const struct sk_buff *skb) | 263 | static inline int inet6_iif(const struct sk_buff *skb) |
258 | { | 264 | { |
@@ -334,21 +340,25 @@ struct ipv6_pinfo { | |||
334 | dstopts:1, | 340 | dstopts:1, |
335 | odstopts:1, | 341 | odstopts:1, |
336 | rxflow:1, | 342 | rxflow:1, |
337 | rxtclass:1; | 343 | rxtclass:1, |
344 | rxpmtu:1; | ||
338 | } bits; | 345 | } bits; |
339 | __u16 all; | 346 | __u16 all; |
340 | } rxopt; | 347 | } rxopt; |
341 | 348 | ||
342 | /* sockopt flags */ | 349 | /* sockopt flags */ |
343 | __u8 recverr:1, | 350 | __u16 recverr:1, |
344 | sndflow:1, | 351 | sndflow:1, |
345 | pmtudisc:2, | 352 | pmtudisc:2, |
346 | ipv6only:1, | 353 | ipv6only:1, |
347 | srcprefs:3; /* 001: prefer temporary address | 354 | srcprefs:3, /* 001: prefer temporary address |
348 | * 010: prefer public address | 355 | * 010: prefer public address |
349 | * 100: prefer care-of address | 356 | * 100: prefer care-of address |
350 | */ | 357 | */ |
358 | dontfrag:1; | ||
359 | __u8 min_hopcount; | ||
351 | __u8 tclass; | 360 | __u8 tclass; |
361 | __u8 padding; | ||
352 | 362 | ||
353 | __u32 dst_cookie; | 363 | __u32 dst_cookie; |
354 | 364 | ||
@@ -358,6 +368,7 @@ struct ipv6_pinfo { | |||
358 | 368 | ||
359 | struct ipv6_txoptions *opt; | 369 | struct ipv6_txoptions *opt; |
360 | struct sk_buff *pktoptions; | 370 | struct sk_buff *pktoptions; |
371 | struct sk_buff *rxpmtu; | ||
361 | struct { | 372 | struct { |
362 | struct ipv6_txoptions *opt; | 373 | struct ipv6_txoptions *opt; |
363 | u8 hop_limit; | 374 | u8 hop_limit; |
@@ -372,6 +383,7 @@ struct raw6_sock { | |||
372 | __u32 checksum; /* perform checksum */ | 383 | __u32 checksum; /* perform checksum */ |
373 | __u32 offset; /* checksum offset */ | 384 | __u32 offset; /* checksum offset */ |
374 | struct icmp6_filter filter; | 385 | struct icmp6_filter filter; |
386 | __u32 ip6mr_table; | ||
375 | /* ipv6_pinfo has to be the last member of raw6_sock, see inet6_sk_generic */ | 387 | /* ipv6_pinfo has to be the last member of raw6_sock, see inet6_sk_generic */ |
376 | struct ipv6_pinfo inet6; | 388 | struct ipv6_pinfo inet6; |
377 | }; | 389 | }; |