From 7573880ac042c6e5c8d48b1ad83d357b5e02743b Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Fri, 19 May 2017 12:05:55 +0200 Subject: system-linux: parse 6rd specific settings as nested json data object Parse 6rd specific settings prefix, relay-prefix as nested json data objects. At the same time improve 6rd error handling. 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 9995fa9..c8ddbad 100644 --- a/system.h +++ b/system.h @@ -63,9 +63,16 @@ enum vti_data { __VTI_DATA_ATTR_MAX }; +enum sixrd_data { + SIXRD_DATA_PREFIX, + SIXRD_DATA_RELAY_PREFIX, + __SIXRD_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; enum bridge_opt { /* stp and forward delay always set */ -- cgit v1.2.1