52 #define FOR_EACH_IPSEC_PROTECT_INPUT_SAI(_itp, _sai, body) \ 55 for (__ii = 0; __ii < _itp->itp_n_sa_in; __ii++) { \ 56 _sai = itp->itp_in_sas[__ii]; \ 60 #define FOR_EACH_IPSEC_PROTECT_INPUT_SA(_itp, _sa, body) \ 63 for (__ii = 0; __ii < _itp->itp_n_sa_in; __ii++) { \ 64 _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...
enum walk_rc_t_ walk_rc_t
Walk return code.
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.
index_t ipsec_tun_protect_find(u32 sw_if_index)
u8 * format_ipsec_tun_protect(u8 *s, va_list *args)
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)
struct _vlib_node_registration vlib_node_registration_t
ipsec_protect_flags_t itp_flags
int ipsec_tun_protect_update(u32 sw_if_index, u32 sa_out, u32 sa_ins[2])
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