FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ipsec_spd_t |
A Secruity Policy Database. More... | |
Macros | |
#define | foreach_ipsec_spd_policy_type |
#define | FOR_EACH_IPSEC_SPD_POLICY_TYPE(_t) for (_t = 0; _t < IPSEC_SPD_POLICY_N_TYPES; _t++) |
Typedefs | |
typedef enum ipsec_spd_policy_t_ | ipsec_spd_policy_type_t |
Enumerations | |
enum | ipsec_spd_policy_t_ { IPSEC_SPD_POLICY_N_TYPES } |
Functions | |
u8 * | format_ipsec_policy_type (u8 *s, va_list *args) |
int | ipsec_add_del_spd (vlib_main_t *vm, u32 spd_id, int is_add) |
Add/Delete a SPD. More... | |
int | ipsec_set_interface_spd (vlib_main_t *vm, u32 sw_if_index, u32 spd_id, int is_add) |
Bind/attach a SPD to an interface. More... | |
u8 * | format_ipsec_spd (u8 *s, va_list *args) |
#define FOR_EACH_IPSEC_SPD_POLICY_TYPE | ( | _t | ) | for (_t = 0; _t < IPSEC_SPD_POLICY_N_TYPES; _t++) |
Definition at line 38 of file ipsec_spd.h.
#define foreach_ipsec_spd_policy_type |
Definition at line 20 of file ipsec_spd.h.
typedef enum ipsec_spd_policy_t_ ipsec_spd_policy_type_t |
enum ipsec_spd_policy_t_ |
Enumerator | |
---|---|
IPSEC_SPD_POLICY_N_TYPES |
Definition at line 30 of file ipsec_spd.h.
int ipsec_add_del_spd | ( | vlib_main_t * | vm, |
u32 | spd_id, | ||
int | is_add | ||
) |
Add/Delete a SPD.
Definition at line 20 of file ipsec_spd.c.
int ipsec_set_interface_spd | ( | vlib_main_t * | vm, |
u32 | sw_if_index, | ||
u32 | spd_id, | ||
int | is_add | ||
) |
Bind/attach a SPD to an interface.
Definition at line 63 of file ipsec_spd.c.