summaryrefslogtreecommitdiffhomepage
path: root/system.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-08-27 21:48:28 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-08-29 21:02:30 +0200
commit7d94ede3c38dd7b8e08c8a2fd8ae5ede71a2059b (patch)
treee9510cd11a343f4afaf4726e77ea58334b14bddf /system.h
parentb5731bfbabaf7aab0fc47143bd6ad0b12cc3df0a (diff)
system-linux: parse map-e fmrs parameters as nested data json object
Parse map-e fmrs parameters IPv6 prefix, IPv4 prefix, ealen and offset as array elements nested in a data json object. At the same time remove the now obsolete TUNNEL_ATTR_FMRS tunnel attribute. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system.h')
-rw-r--r--system.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/system.h b/system.h
index a5817ca..61c72c2 100644
--- a/system.h
+++ b/system.h
@@ -31,7 +31,6 @@ enum tunnel_param {
TUNNEL_ATTR_TTL,
TUNNEL_ATTR_TOS,
TUNNEL_ATTR_LINK,
- TUNNEL_ATTR_FMRS,
TUNNEL_ATTR_DATA,
__TUNNEL_ATTR_MAX
};
@@ -67,10 +66,19 @@ enum sixrd_data {
__SIXRD_DATA_ATTR_MAX
};
+enum fmr_data {
+ FMR_DATA_PREFIX6,
+ FMR_DATA_PREFIX4,
+ FMR_DATA_EALEN,
+ FMR_DATA_OFFSET,
+ __FMR_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;
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 fmr_data_attr_list;
enum bridge_opt {
/* stp and forward delay always set */