FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
static int | ipsec_policy_is_equal (ipsec_policy_t *p1, ipsec_policy_t *p2) |
static int | ipsec_spd_entry_sort (void *a1, void *a2) |
int | ipsec_policy_mk_type (bool is_outbound, bool is_ipv6, ipsec_policy_action_t action, ipsec_spd_policy_type_t *type) |
int | ipsec_add_del_policy (vlib_main_t *vm, ipsec_policy_t *policy, int is_add, u32 *stat_index) |
Add/Delete a SPD. More... | |
Variables | |
vlib_combined_counter_main_t | ipsec_spd_policy_counters |
Policy packet & bytes counters. More... | |
int ipsec_add_del_policy | ( | vlib_main_t * | vm, |
ipsec_policy_t * | policy, | ||
int | is_add, | ||
u32 * | stat_index | ||
) |
Add/Delete a SPD.
Definition at line 136 of file ipsec_spd_policy.c.
|
static |
int ipsec_policy_mk_type | ( | bool | is_outbound, |
bool | is_ipv6, | ||
ipsec_policy_action_t | action, | ||
ipsec_spd_policy_type_t * | type | ||
) |
|
static |
vlib_combined_counter_main_t ipsec_spd_policy_counters |
Policy packet & bytes counters.
Definition at line 22 of file ipsec_spd_policy.c.