FD.io VPP
v21.01.1
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ip46_address_range_t |
struct | port_range_t |
struct | ipsec_policy_t_ |
A Secruity Policy. More... | |
Macros | |
#define | foreach_ipsec_policy_action |
#define | IPSEC_POLICY_N_ACTION (IPSEC_POLICY_ACTION_PROTECT + 1) |
Typedefs | |
typedef struct ipsec_policy_t_ | ipsec_policy_t |
A Secruity Policy. More... | |
Enumerations | |
enum | ipsec_policy_action_t { foreach_ipsec_policy_action } |
Functions | |
int | ipsec_add_del_policy (vlib_main_t *vm, ipsec_policy_t *policy, int is_add, u32 *stat_index) |
Add/Delete a SPD. More... | |
u8 * | format_ipsec_policy (u8 *s, va_list *args) |
u8 * | format_ipsec_policy_action (u8 *s, va_list *args) |
uword | unformat_ipsec_policy_action (unformat_input_t *input, va_list *args) |
int | ipsec_policy_mk_type (bool is_outbound, bool is_ipv6, ipsec_policy_action_t action, ipsec_spd_policy_type_t *type) |
Variables | |
vlib_combined_counter_main_t | ipsec_spd_policy_counters |
Policy packet & bytes counters. More... | |
#define foreach_ipsec_policy_action |
Definition at line 20 of file ipsec_spd_policy.h.
#define IPSEC_POLICY_N_ACTION (IPSEC_POLICY_ACTION_PROTECT + 1) |
Definition at line 33 of file ipsec_spd_policy.h.
typedef struct ipsec_policy_t_ ipsec_policy_t |
A Secruity Policy.
An entry in an SPD
Enumerator | |
---|---|
foreach_ipsec_policy_action |
Definition at line 26 of file ipsec_spd_policy.h.
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 140 of file ipsec_spd_policy.c.
int ipsec_policy_mk_type | ( | bool | is_outbound, |
bool | is_ipv6, | ||
ipsec_policy_action_t | action, | ||
ipsec_spd_policy_type_t * | type | ||
) |
uword unformat_ipsec_policy_action | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
vlib_combined_counter_main_t ipsec_spd_policy_counters |
Policy packet & bytes counters.
Definition at line 22 of file ipsec_spd_policy.c.