From a580028dae5b7bebcc14c240fe7dac31cbd89355 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 29 May 2018 22:40:00 +0200 Subject: system-linux: make encaplimit configurable for ip6 tunnels (FS#1501) Make encapsulation limit of IP6 tunnels configurable for the ds-lite/map proto shell handlers as not all ISPs support the destination option header containing the tunnel encapsulation limit value as reported in FS#1501. The IP6 tunnel specific setting encaplimit is parsed as a nested json data object; setting it to ignore disables the insertion of the destination option header while a value from 0 till 255 sets the tunnel encapsulation limit accordingly in the destination option header. Signed-off-by: Hans Dedecker --- system.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'system.h') diff --git a/system.h b/system.h index 371a524..683dc18 100644 --- a/system.h +++ b/system.h @@ -68,6 +68,12 @@ enum sixrd_data { __SIXRD_DATA_ATTR_MAX }; +enum ipip6_data { + IPIP6_DATA_ENCAPLIMIT, + IPIP6_DATA_FMRS, + __IPIP6_DATA_ATTR_MAX +}; + enum fmr_data { FMR_DATA_PREFIX6, FMR_DATA_PREFIX4, @@ -80,6 +86,7 @@ extern const struct uci_blob_param_list vxlan_data_attr_list; extern const struct uci_blob_param_list gre_data_attr_list; extern const struct uci_blob_param_list vti_data_attr_list; extern const struct uci_blob_param_list sixrd_data_attr_list; +extern const struct uci_blob_param_list ipip6_data_attr_list; extern const struct uci_blob_param_list fmr_data_attr_list; enum bridge_opt { -- cgit v1.2.3