diff options
Diffstat (limited to 'include/uapi/linux/in6.h')
-rw-r--r-- | include/uapi/linux/in6.h | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h index 440d5c479145..cd4ccb34957b 100644 --- a/include/uapi/linux/in6.h +++ b/include/uapi/linux/in6.h @@ -18,8 +18,8 @@ * 2 of the License, or (at your option) any later version. */ -#ifndef _UAPI_LINUX_IN6_H -#define _UAPI_LINUX_IN6_H +#ifndef _LINUX_IN6_H +#define _LINUX_IN6_H #include <linux/types.h> #include <linux/libc-compat.h> @@ -126,22 +126,13 @@ struct in6_flowlabel_req { * IPV6 extension headers */ #if __UAPI_DEF_IPPROTO_V6 -enum { - IPPROTO_HOPOPTS = 0, /* IPv6 hop-by-hop options */ -#define IPPROTO_HOPOPTS IPPROTO_HOPOPTS - IPPROTO_ROUTING = 43, /* IPv6 routing header */ -#define IPPROTO_ROUTING IPPROTO_ROUTING - IPPROTO_FRAGMENT = 44, /* IPv6 fragmentation header */ -#define IPPROTO_FRAGMENT IPPROTO_FRAGMENT - IPPROTO_ICMPV6 = 58, /* ICMPv6 */ -#define IPPROTO_ICMPV6 IPPROTO_ICMPV6 - IPPROTO_NONE = 59, /* IPv6 no next header */ -#define IPPROTO_NONE IPPROTO_NONE - IPPROTO_DSTOPTS = 60, /* IPv6 destination options */ -#define IPPROTO_DSTOPTS IPPROTO_DSTOPTS - IPPROTO_MH = 135, /* IPv6 mobility header */ -#define IPPROTO_MH IPPROTO_MH -}; +#define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */ +#define IPPROTO_ROUTING 43 /* IPv6 routing header */ +#define IPPROTO_FRAGMENT 44 /* IPv6 fragmentation header */ +#define IPPROTO_ICMPV6 58 /* ICMPv6 */ +#define IPPROTO_NONE 59 /* IPv6 no next header */ +#define IPPROTO_DSTOPTS 60 /* IPv6 destination options */ +#define IPPROTO_MH 135 /* IPv6 mobility header */ #endif /* __UAPI_DEF_IPPROTO_V6 */ /* @@ -287,4 +278,4 @@ enum { * ... * MRT6_MAX */ -#endif /* _UAPI_LINUX_IN6_H */ +#endif /* _LINUX_IN6_H */ |