diff options
Diffstat (limited to 'include/uapi/linux/in6.h')
-rw-r--r-- | include/uapi/linux/in6.h | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h index 633b93cac1ed..e9a1d2d973b6 100644 --- a/include/uapi/linux/in6.h +++ b/include/uapi/linux/in6.h | |||
@@ -128,22 +128,13 @@ struct in6_flowlabel_req { | |||
128 | * IPV6 extension headers | 128 | * IPV6 extension headers |
129 | */ | 129 | */ |
130 | #if __UAPI_DEF_IPPROTO_V6 | 130 | #if __UAPI_DEF_IPPROTO_V6 |
131 | enum { | 131 | #define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */ |
132 | IPPROTO_HOPOPTS = 0, /* IPv6 hop-by-hop options */ | 132 | #define IPPROTO_ROUTING 43 /* IPv6 routing header */ |
133 | #define IPPROTO_HOPOPTS IPPROTO_HOPOPTS | 133 | #define IPPROTO_FRAGMENT 44 /* IPv6 fragmentation header */ |
134 | IPPROTO_ROUTING = 43, /* IPv6 routing header */ | 134 | #define IPPROTO_ICMPV6 58 /* ICMPv6 */ |
135 | #define IPPROTO_ROUTING IPPROTO_ROUTING | 135 | #define IPPROTO_NONE 59 /* IPv6 no next header */ |
136 | IPPROTO_FRAGMENT = 44, /* IPv6 fragmentation header */ | 136 | #define IPPROTO_DSTOPTS 60 /* IPv6 destination options */ |
137 | #define IPPROTO_FRAGMENT IPPROTO_FRAGMENT | 137 | #define IPPROTO_MH 135 /* IPv6 mobility header */ |
138 | IPPROTO_ICMPV6 = 58, /* ICMPv6 */ | ||
139 | #define IPPROTO_ICMPV6 IPPROTO_ICMPV6 | ||
140 | IPPROTO_NONE = 59, /* IPv6 no next header */ | ||
141 | #define IPPROTO_NONE IPPROTO_NONE | ||
142 | IPPROTO_DSTOPTS = 60, /* IPv6 destination options */ | ||
143 | #define IPPROTO_DSTOPTS IPPROTO_DSTOPTS | ||
144 | IPPROTO_MH = 135, /* IPv6 mobility header */ | ||
145 | #define IPPROTO_MH IPPROTO_MH | ||
146 | }; | ||
147 | #endif /* __UAPI_DEF_IPPROTO_V6 */ | 138 | #endif /* __UAPI_DEF_IPPROTO_V6 */ |
148 | 139 | ||
149 | /* | 140 | /* |