Go to the source code of this file.
|
u32 | ipsec_get_sa_index_by_sa_id (u32 sa_id) |
|
int | ipsec_set_interface_spd (vlib_main_t *vm, u32 sw_if_index, u32 spd_id, int is_add) |
|
int | ipsec_add_del_spd (vlib_main_t *vm, u32 spd_id, int is_add) |
|
static int | ipsec_spd_entry_sort (void *a1, void *a2) |
|
int | ipsec_add_del_policy (vlib_main_t *vm, ipsec_policy_t *policy, int is_add) |
|
u8 | ipsec_is_sa_used (u32 sa_index) |
|
clib_error_t * | ipsec_call_add_del_callbacks (ipsec_main_t *im, ipsec_sa_t *sa, u32 sa_index, int is_add) |
|
int | ipsec_add_del_sa (vlib_main_t *vm, ipsec_sa_t *new_sa, int is_add) |
|
int | ipsec_set_sa_key (vlib_main_t *vm, ipsec_sa_t *sa_update) |
|
static void | ipsec_rand_seed (void) |
|
static clib_error_t * | ipsec_check_ah_support (ipsec_sa_t *sa) |
|
static clib_error_t * | ipsec_check_esp_support (ipsec_sa_t *sa) |
|
clib_error_t * | ipsec_add_del_sa_sess_cb (ipsec_main_t *im, u32 sa_index, u8 is_add) |
|
clib_error_t * | ipsec_check_support_cb (ipsec_main_t *im, ipsec_sa_t *sa) |
|
static void | ipsec_add_node (vlib_main_t *vm, const char *node_name, const char *prev_node_name, u32 *out_node_index, u32 *out_next_index) |
|
u32 | ipsec_register_ah_backend (vlib_main_t *vm, ipsec_main_t *im, const char *name, const char *ah4_encrypt_node_name, const char *ah4_decrypt_node_name, const char *ah6_encrypt_node_name, const char *ah6_decrypt_node_name, check_support_cb_t ah_check_support_cb, add_del_sa_sess_cb_t ah_add_del_sa_sess_cb) |
|
u32 | ipsec_register_esp_backend (vlib_main_t *vm, ipsec_main_t *im, const char *name, const char *esp4_encrypt_node_name, const char *esp4_decrypt_node_name, const char *esp6_encrypt_node_name, const char *esp6_decrypt_node_name, check_support_cb_t esp_check_support_cb, add_del_sa_sess_cb_t esp_add_del_sa_sess_cb) |
|
int | ipsec_select_ah_backend (ipsec_main_t *im, u32 backend_idx) |
|
int | ipsec_select_esp_backend (ipsec_main_t *im, u32 backend_idx) |
|
static clib_error_t * | ipsec_init (vlib_main_t *vm) |
|
◆ ipsec_add_del_policy()
◆ ipsec_add_del_sa()
◆ ipsec_add_del_sa_sess_cb()
◆ ipsec_add_del_spd()
◆ ipsec_add_node()
static void ipsec_add_node |
( |
vlib_main_t * |
vm, |
|
|
const char * |
node_name, |
|
|
const char * |
prev_node_name, |
|
|
u32 * |
out_node_index, |
|
|
u32 * |
out_next_index |
|
) |
| |
|
static |
◆ ipsec_call_add_del_callbacks()
◆ ipsec_check_ah_support()
◆ ipsec_check_esp_support()
◆ ipsec_check_support_cb()
◆ ipsec_get_sa_index_by_sa_id()
u32 ipsec_get_sa_index_by_sa_id |
( |
u32 |
sa_id | ) |
|
◆ ipsec_init()
◆ ipsec_is_sa_used()
u8 ipsec_is_sa_used |
( |
u32 |
sa_index | ) |
|
◆ ipsec_rand_seed()
static void ipsec_rand_seed |
( |
void |
| ) |
|
|
static |
◆ ipsec_register_ah_backend()
◆ ipsec_register_esp_backend()
u32 ipsec_register_esp_backend |
( |
vlib_main_t * |
vm, |
|
|
ipsec_main_t * |
im, |
|
|
const char * |
name, |
|
|
const char * |
esp4_encrypt_node_name, |
|
|
const char * |
esp4_decrypt_node_name, |
|
|
const char * |
esp6_encrypt_node_name, |
|
|
const char * |
esp6_decrypt_node_name, |
|
|
check_support_cb_t |
esp_check_support_cb, |
|
|
add_del_sa_sess_cb_t |
esp_add_del_sa_sess_cb |
|
) |
| |
◆ ipsec_select_ah_backend()
◆ ipsec_select_esp_backend()
◆ ipsec_set_interface_spd()
int ipsec_set_interface_spd |
( |
vlib_main_t * |
vm, |
|
|
u32 |
sw_if_index, |
|
|
u32 |
spd_id, |
|
|
int |
is_add |
|
) |
| |
◆ ipsec_set_sa_key()
◆ ipsec_spd_entry_sort()
static int ipsec_spd_entry_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ ipsec_main