summaryrefslogtreecommitdiffhomepage
path: root/system.h
diff options
context:
space:
mode:
authorAndré Valentin <avalentin@marcant.net>2019-06-08 13:48:09 +0200
committerHans Dedecker <dedeckeh@gmail.com>2019-06-08 14:00:22 +0200
commit8c6358b5d42fe3ca05801823552ca5a2003bf792 (patch)
tree64cf11b23c18d7b9c837297248171bdf76b3f09a /system.h
parentbeb810dbccee098add0347d551eb5362e404fbdc (diff)
netifd: add xfrm tunnel interface support
This adds support for xfrm interfaces. These interfaces can be used since linux 4.19 for IPsec traffic, like VTI interface. XFRM interfaces are less complicated compared to VTI because they need no IP tunnel endpoints.
Diffstat (limited to 'system.h')
-rw-r--r--system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/system.h b/system.h
index 9fefcae..61c4046 100644
--- a/system.h
+++ b/system.h
@@ -63,6 +63,11 @@ enum vti_data {
__VTI_DATA_ATTR_MAX
};
+enum xfrm_data {
+ XFRM_DATA_IF_ID,
+ __XFRM_DATA_ATTR_MAX
+};
+
enum sixrd_data {
SIXRD_DATA_PREFIX,
SIXRD_DATA_RELAY_PREFIX,
@@ -86,6 +91,7 @@ enum fmr_data {
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 xfrm_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;