From 327a211f77e9d8a222deac41241e3322cf1505e9 Mon Sep 17 00:00:00 2001 From: Ruxandra Stăncioi Date: Fri, 17 Jul 2020 13:37:03 +0000 Subject: 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 --- sys/linux/socket_netlink_route.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'sys/linux') 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 include include include +# TODO: uncomment after the kernel fixes the seg6_iptunnel.h uapi header. +#include include include @@ -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] -- cgit mrf-deployment