15 #ifndef __IPSEC_IF_H__ 16 #define __IPSEC_IF_H__ 52 u8 local_crypto_key[128];
54 u8 remote_crypto_key[128];
57 u8 local_integ_key[128];
59 u8 remote_integ_key[128];
81 }) ipsec4_tunnel_key_t;
93 }) ipsec6_tunnel_key_t;
115 ipsec_if_set_key_type_t type,
int ipsec_set_interface_sa(vnet_main_t *vnm, u32 hw_if_index, u32 sa_id, u8 is_outbound)
#define CLIB_CACHE_LINE_ALIGN_MARK(mark)
int ipsec_add_del_tunnel_if(ipsec_add_del_tunnel_args_t *args)
enum vnet_hw_interface_flags_t_ vnet_hw_interface_flags_t
u8 * format_ipsec_tunnel(u8 *s, va_list *args)
int ipsec_add_del_tunnel_if_internal(vnet_main_t *vnm, ipsec_add_del_tunnel_args_t *args, u32 *sw_if_index)
int ipsec_add_del_ipsec_gre_tunnel(vnet_main_t *vnm, const ipsec_gre_tunnel_add_del_args_t *args)
ipsec_crypto_alg_t crypto_alg
vnet_hw_interface_flags_t flags
ipsec_integ_alg_t integ_alg
int ipsec_set_interface_key(vnet_main_t *vnm, u32 hw_if_index, ipsec_if_set_key_type_t type, u8 alg, u8 *key)
typedef CLIB_PACKED(struct { union { struct { u32 remote_ip;u32 spi;};u64 as_u64;};}) ipsec4_tunnel_key_t