diff options
-rw-r--r-- | include/uapi/linux/ipv6.h | 5 | ||||
-rw-r--r-- | include/uapi/linux/libc-compat.h | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h index e863d088b9a5..b9b1b7d1c839 100644 --- a/include/uapi/linux/ipv6.h +++ b/include/uapi/linux/ipv6.h | |||
@@ -15,16 +15,19 @@ | |||
15 | * *under construction* | 15 | * *under construction* |
16 | */ | 16 | */ |
17 | 17 | ||
18 | 18 | #if __UAPI_DEF_IN6_PKTINFO | |
19 | struct in6_pktinfo { | 19 | struct in6_pktinfo { |
20 | struct in6_addr ipi6_addr; | 20 | struct in6_addr ipi6_addr; |
21 | int ipi6_ifindex; | 21 | int ipi6_ifindex; |
22 | }; | 22 | }; |
23 | #endif | ||
23 | 24 | ||
25 | #if __UAPI_DEF_IP6_MTUINFO | ||
24 | struct ip6_mtuinfo { | 26 | struct ip6_mtuinfo { |
25 | struct sockaddr_in6 ip6m_addr; | 27 | struct sockaddr_in6 ip6m_addr; |
26 | __u32 ip6m_mtu; | 28 | __u32 ip6m_mtu; |
27 | }; | 29 | }; |
30 | #endif | ||
28 | 31 | ||
29 | struct in6_ifreq { | 32 | struct in6_ifreq { |
30 | struct in6_addr ifr6_addr; | 33 | struct in6_addr ifr6_addr; |
diff --git a/include/uapi/linux/libc-compat.h b/include/uapi/linux/libc-compat.h index e28807ad17fa..fa673e9cc040 100644 --- a/include/uapi/linux/libc-compat.h +++ b/include/uapi/linux/libc-compat.h | |||
@@ -70,6 +70,8 @@ | |||
70 | #define __UAPI_DEF_IPV6_MREQ 0 | 70 | #define __UAPI_DEF_IPV6_MREQ 0 |
71 | #define __UAPI_DEF_IPPROTO_V6 0 | 71 | #define __UAPI_DEF_IPPROTO_V6 0 |
72 | #define __UAPI_DEF_IPV6_OPTIONS 0 | 72 | #define __UAPI_DEF_IPV6_OPTIONS 0 |
73 | #define __UAPI_DEF_IN6_PKTINFO 0 | ||
74 | #define __UAPI_DEF_IP6_MTUINFO 0 | ||
73 | 75 | ||
74 | #else | 76 | #else |
75 | 77 | ||
@@ -84,6 +86,8 @@ | |||
84 | #define __UAPI_DEF_IPV6_MREQ 1 | 86 | #define __UAPI_DEF_IPV6_MREQ 1 |
85 | #define __UAPI_DEF_IPPROTO_V6 1 | 87 | #define __UAPI_DEF_IPPROTO_V6 1 |
86 | #define __UAPI_DEF_IPV6_OPTIONS 1 | 88 | #define __UAPI_DEF_IPV6_OPTIONS 1 |
89 | #define __UAPI_DEF_IN6_PKTINFO 1 | ||
90 | #define __UAPI_DEF_IP6_MTUINFO 1 | ||
87 | 91 | ||
88 | #endif /* _NETINET_IN_H */ | 92 | #endif /* _NETINET_IN_H */ |
89 | 93 | ||
@@ -106,6 +110,8 @@ | |||
106 | #define __UAPI_DEF_IPV6_MREQ 1 | 110 | #define __UAPI_DEF_IPV6_MREQ 1 |
107 | #define __UAPI_DEF_IPPROTO_V6 1 | 111 | #define __UAPI_DEF_IPPROTO_V6 1 |
108 | #define __UAPI_DEF_IPV6_OPTIONS 1 | 112 | #define __UAPI_DEF_IPV6_OPTIONS 1 |
113 | #define __UAPI_DEF_IN6_PKTINFO 1 | ||
114 | #define __UAPI_DEF_IP6_MTUINFO 1 | ||
109 | 115 | ||
110 | /* Definitions for xattr.h */ | 116 | /* Definitions for xattr.h */ |
111 | #define __UAPI_DEF_XATTR 1 | 117 | #define __UAPI_DEF_XATTR 1 |