From 8c6358b5d42fe3ca05801823552ca5a2003bf792 Mon Sep 17 00:00:00 2001 From: André Valentin Date: Sat, 8 Jun 2019 13:48:09 +0200 Subject: 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. --- system.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system.h') 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; -- cgit v1.2.3