15 #ifndef __IPSEC_IF_H__ 16 #define __IPSEC_IF_H__ 43 u8 local_crypto_key[128];
45 u8 remote_crypto_key[128];
48 u8 local_integ_key[128];
50 u8 remote_integ_key[128];
72 }) ipsec4_tunnel_key_t;
84 }) ipsec6_tunnel_key_t;
92 args,
u32 * sw_if_index);
96 u32 sa_id,
u8 is_outbound);
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)
u8 * format_ipsec4_tunnel_key(u8 *s, va_list *args)
int ipsec_add_del_tunnel_if(ipsec_add_del_tunnel_args_t *args)
enum vnet_hw_interface_flags_t_ vnet_hw_interface_flags_t
typedef CLIB_PACKED(struct { union { struct { ip4_address_t remote_ip;u32 spi;};u64 as_u64;};}) ipsec4_tunnel_key_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)
ipsec_crypto_alg_t crypto_alg
vnet_hw_interface_flags_t flags
u8 * format_ipsec6_tunnel_key(u8 *s, va_list *args)
ipsec_integ_alg_t integ_alg