| .. | .. |
|---|
| 4 | 4 | |
|---|
| 5 | 5 | #include <linux/libc-compat.h> |
|---|
| 6 | 6 | #include <linux/types.h> |
|---|
| 7 | +#include <linux/stddef.h> |
|---|
| 7 | 8 | #include <linux/in6.h> |
|---|
| 8 | 9 | #include <asm/byteorder.h> |
|---|
| 9 | 10 | |
|---|
| .. | .. |
|---|
| 40 | 41 | #define IPV6_SRCRT_STRICT 0x01 /* Deprecated; will be removed */ |
|---|
| 41 | 42 | #define IPV6_SRCRT_TYPE_0 0 /* Deprecated; will be removed */ |
|---|
| 42 | 43 | #define IPV6_SRCRT_TYPE_2 2 /* IPv6 type 2 Routing Header */ |
|---|
| 44 | +#define IPV6_SRCRT_TYPE_3 3 /* RPL Segment Routing with IPv6 */ |
|---|
| 43 | 45 | #define IPV6_SRCRT_TYPE_4 4 /* Segment Routing with IPv6 */ |
|---|
| 44 | 46 | |
|---|
| 45 | 47 | /* |
|---|
| .. | .. |
|---|
| 129 | 131 | __u8 nexthdr; |
|---|
| 130 | 132 | __u8 hop_limit; |
|---|
| 131 | 133 | |
|---|
| 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 |
|---|
| 134 | 142 | }; |
|---|
| 135 | 143 | |
|---|
| 136 | 144 | |
|---|
| .. | .. |
|---|
| 187 | 195 | DEVCONF_DISABLE_POLICY, |
|---|
| 188 | 196 | DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN, |
|---|
| 189 | 197 | DEVCONF_NDISC_TCLASS, |
|---|
| 198 | + DEVCONF_RPL_SEG_ENABLED, |
|---|
| 190 | 199 | DEVCONF_MAX |
|---|
| 191 | 200 | }; |
|---|
| 192 | 201 | |
|---|