summaryrefslogtreecommitdiffhomepage
path: root/system.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-03-14 21:36:38 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-03-21 22:39:14 +0100
commit7e3b89a4d4c0b55a9b2376b88cbe72a1edc5cd82 (patch)
tree2de7c40b6c3ce35aef4bf2297094ea9f63a0e000 /system.h
parent91810ecc13239f3b18c8299de265b4f3531c0017 (diff)
system-linux: parse gre specific settings as nested json data object
Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno as nested json data object Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system.h')
-rw-r--r--system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/system.h b/system.h
index 6501d15..14b1e53 100644
--- a/system.h
+++ b/system.h
@@ -48,7 +48,18 @@ enum vxlan_data {
__VXLAN_DATA_ATTR_MAX
};
+enum gre_data {
+ GRE_DATA_IKEY,
+ GRE_DATA_OKEY,
+ GRE_DATA_ICSUM,
+ GRE_DATA_OCSUM,
+ GRE_DATA_ISEQNO,
+ GRE_DATA_OSEQNO,
+ __GRE_DATA_ATTR_MAX
+};
+
extern const struct uci_blob_param_list vxlan_data_attr_list;
+extern const struct uci_blob_param_list gre_data_attr_list;
enum bridge_opt {
/* stp and forward delay always set */