hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/uapi/linux/ipv6.h
....@@ -4,6 +4,7 @@
44
55 #include <linux/libc-compat.h>
66 #include <linux/types.h>
7
+#include <linux/stddef.h>
78 #include <linux/in6.h>
89 #include <asm/byteorder.h>
910
....@@ -40,6 +41,7 @@
4041 #define IPV6_SRCRT_STRICT 0x01 /* Deprecated; will be removed */
4142 #define IPV6_SRCRT_TYPE_0 0 /* Deprecated; will be removed */
4243 #define IPV6_SRCRT_TYPE_2 2 /* IPv6 type 2 Routing Header */
44
+#define IPV6_SRCRT_TYPE_3 3 /* RPL Segment Routing with IPv6 */
4345 #define IPV6_SRCRT_TYPE_4 4 /* Segment Routing with IPv6 */
4446
4547 /*
....@@ -129,8 +131,14 @@
129131 __u8 nexthdr;
130132 __u8 hop_limit;
131133
132
- struct in6_addr saddr;
133
- struct in6_addr daddr;
134
+#ifndef __GENKSYMS__
135
+ __struct_group(/* no tag */, addrs, /* no attrs */,
136
+#endif
137
+ struct in6_addr saddr;
138
+ struct in6_addr daddr;
139
+#ifndef __GENKSYMS__
140
+ );
141
+#endif
134142 };
135143
136144
....@@ -187,6 +195,7 @@
187195 DEVCONF_DISABLE_POLICY,
188196 DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN,
189197 DEVCONF_NDISC_TCLASS,
198
+ DEVCONF_RPL_SEG_ENABLED,
190199 DEVCONF_MAX
191200 };
192201