summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-05-29 22:40:00 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-05-30 22:09:39 +0200
commita580028dae5b7bebcc14c240fe7dac31cbd89355 (patch)
tree3b1a6e9f61ced860fe83595cbf54bc552f640c8d /system.h
parent56cecedb261808f5ea700b92b97590f7fa16de9c (diff)
downloadnetifd-a580028dae5b7bebcc14c240fe7dac31cbd89355.tar.gz
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 <dedeckeh@gmail.com>
Diffstat (limited to 'system.h')
-rw-r--r--system.h7
1 files changed, 7 insertions, 0 deletions
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 {