diff options
Diffstat (limited to 'include/uapi/linux/ipv6.h')
-rw-r--r-- | include/uapi/linux/ipv6.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h index e863d088b9a5..437a6a4b125a 100644 --- a/include/uapi/linux/ipv6.h +++ b/include/uapi/linux/ipv6.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _UAPI_IPV6_H | 1 | #ifndef _UAPI_IPV6_H |
2 | #define _UAPI_IPV6_H | 2 | #define _UAPI_IPV6_H |
3 | 3 | ||
4 | #include <linux/libc-compat.h> | ||
4 | #include <linux/types.h> | 5 | #include <linux/types.h> |
5 | #include <linux/in6.h> | 6 | #include <linux/in6.h> |
6 | #include <asm/byteorder.h> | 7 | #include <asm/byteorder.h> |
@@ -15,16 +16,19 @@ | |||
15 | * *under construction* | 16 | * *under construction* |
16 | */ | 17 | */ |
17 | 18 | ||
18 | 19 | #if __UAPI_DEF_IN6_PKTINFO | |
19 | struct in6_pktinfo { | 20 | struct in6_pktinfo { |
20 | struct in6_addr ipi6_addr; | 21 | struct in6_addr ipi6_addr; |
21 | int ipi6_ifindex; | 22 | int ipi6_ifindex; |
22 | }; | 23 | }; |
24 | #endif | ||
23 | 25 | ||
26 | #if __UAPI_DEF_IP6_MTUINFO | ||
24 | struct ip6_mtuinfo { | 27 | struct ip6_mtuinfo { |
25 | struct sockaddr_in6 ip6m_addr; | 28 | struct sockaddr_in6 ip6m_addr; |
26 | __u32 ip6m_mtu; | 29 | __u32 ip6m_mtu; |
27 | }; | 30 | }; |
31 | #endif | ||
28 | 32 | ||
29 | struct in6_ifreq { | 33 | struct in6_ifreq { |
30 | struct in6_addr ifr6_addr; | 34 | struct in6_addr ifr6_addr; |
@@ -165,6 +169,7 @@ enum { | |||
165 | DEVCONF_SUPPRESS_FRAG_NDISC, | 169 | DEVCONF_SUPPRESS_FRAG_NDISC, |
166 | DEVCONF_ACCEPT_RA_FROM_LOCAL, | 170 | DEVCONF_ACCEPT_RA_FROM_LOCAL, |
167 | DEVCONF_USE_OPTIMISTIC, | 171 | DEVCONF_USE_OPTIMISTIC, |
172 | DEVCONF_ACCEPT_RA_MTU, | ||
168 | DEVCONF_MAX | 173 | DEVCONF_MAX |
169 | }; | 174 | }; |
170 | 175 | ||