diff options
| author | Ruxandra Stăncioi <stancioi@google.com> | 2020-07-17 13:37:03 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-24 12:25:04 +0200 |
| commit | 327a211f77e9d8a222deac41241e3322cf1505e9 (patch) | |
| tree | 543a88b44d91a2dd21de26cb2dcdd2d715fd8e59 /sys/linux | |
| parent | 71ff42db4d8bbe05799f7b1e57c839128c91d8fd (diff) | |
sys/linux: add lwtunnel_encap_seg6 description
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/seg6_iptunnel.h#L22
TODO: uncomment after the kernel fixes the seg6_iptunnel.h uapi header
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/socket_netlink_route.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt index 8c6eac6c8..3d22e463a 100644 --- a/sys/linux/socket_netlink_route.txt +++ b/sys/linux/socket_netlink_route.txt @@ -25,6 +25,8 @@ include <uapi/linux/can/gw.h> include <uapi/linux/can/vxcan.h> include <uapi/linux/mpls_iptunnel.h> include <uapi/linux/ila.h> +# TODO: uncomment after the kernel fixes the seg6_iptunnel.h uapi header. +#include <uapi/linux/seg6_iptunnel.h> include <uapi/linux/rpl_iptunnel.h> include <net/caif/caif_hsi.h> @@ -994,6 +996,10 @@ lwtunnel_policy [ LWTUNNEL_IP6_FLAGS nlattr[LWTUNNEL_IP6_FLAGS, flags[lwtunnel_ip_flags, int16be]] LWTUNNEL_IP6_OPTS nlattr[LWTUNNEL_IP6_OPTS, ip_opts_policy] +# TODO: uncomment SEG6_IPTUNNEL_SRH, the related header above and the structs below, +# after the kernel fixes the seg6_iptunnel.h uapi header. +# SEG6_IPTUNNEL_SRH nlattr[SEG6_IPTUNNEL_SRH, tuninfo] +# RPL_IPTUNNEL_SRH nlattr[RPL_IPTUNNEL_SRH, ipv6_rpl_sr_hdr] ] [varlen] @@ -1038,6 +1044,18 @@ ila_attr_ident_type = ILA_ATYPE_IID, ILA_ATYPE_LUID, ILA_ATYPE_USE_FORMAT ila_attr_hook_type = ILA_HOOK_ROUTE_INPUT, ILA_HOOK_ROUTE_OUTPUT +# TODO: uncomment after the kernel fixes the seg6_iptunnel.h uapi header. +#seg6_tuninfo { +# tuninfo seg6_iptunnel_encap +# segments array[ipv6_addr, 0:128] +#} [packed] + +# TODO: uncomment after the kernel fixes the seg6_iptunnel.h uapi header. +#seg6_iptunnel_encap { +# mode flags[seg6_iptun_mode, int8] +# srh ipv6_sr_hdr +#} [packed] + cgw_policy [ CGW_MOD_AND nlattr[CGW_MOD_AND, cgw_frame_mod] CGW_MOD_OR nlattr[CGW_MOD_OR, cgw_frame_mod] |
