33 }) ipsec4_tunnel_key_t;
44 }) ipsec6_tunnel_key_t;
82 #define FOR_EACH_IPSEC_PROTECT_INPUT_SAI(_itp, _sai, body) \ 85 for (__ii = 0; __ii < _itp->itp_n_sa_in; __ii++) { \ 86 _sai = itp->itp_in_sas[__ii]; \ 90 #define FOR_EACH_IPSEC_PROTECT_INPUT_SA(_itp, _sa, body) \ 93 for (__ii = 0; __ii < _itp->itp_n_sa_in; __ii++) { \ 94 _sa = ipsec_sa_get(itp->itp_in_sas[__ii]); \
walk_rc_t(* ipsec_tun_protect_walk_cb_t)(index_t itpi, void *arg)
struct ipsec_tun_lkup_result_t_ ipsec_tun_lkup_result_t
#define CLIB_CACHE_LINE_ALIGN_MARK(mark)
vlib_node_registration_t ipsec6_tun_input_node
(constructor) VLIB_REGISTER_NODE (ipsec6_tun_input_node)
struct ipsec_tun_protect_t_ ipsec_tun_protect_t
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
int ipsec_tun_protect_update_in(u32 sw_if_index, u32 sa_in)
enum walk_rc_t_ walk_rc_t
Walk return code.
int ipsec_tun_protect_update_out(u32 sw_if_index, u32 sa_out)
typedef CLIB_PACKED(struct { union { struct { ip4_address_t remote_ip;u32 spi;};u64 as_u64;};}) ipsec4_tunnel_key_t
vl_api_interface_index_t sw_if_index
vlib_node_registration_t ipsec4_tun_input_node
(constructor) VLIB_REGISTER_NODE (ipsec4_tun_input_node)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
int ipsec_tun_protect_update(u32 sw_if_index, u32 sa_out, u32 *sa_ins)
index_t ipsec_tun_protect_find(u32 sw_if_index)
u8 * format_ipsec_tun_protect(u8 *s, va_list *args)
u8 * format_ipsec6_tunnel_key(u8 *s, va_list *args)
int ipsec_tun_protect_update_one(u32 sw_if_index, u32 sa_out, u32 sa_in)
static ipsec_tun_protect_t * ipsec_tun_protect_get(u32 index)
struct ipsec_ep_t_ ipsec_ep_t
void ipsec_tun_protect_walk(ipsec_tun_protect_walk_cb_t fn, void *cttx)
u8 * format_ipsec4_tunnel_key(u8 *s, va_list *args)
struct _vlib_node_registration vlib_node_registration_t
ipsec_protect_flags_t itp_flags
int ipsec_tun_protect_del(u32 sw_if_index)
ipsec_tun_protect_t * ipsec_protect_pool
Pool of tunnel protection objects.
enum ipsec_protect_flags_t_ ipsec_protect_flags_t