|
static int | ikev2_delete_tunnel_interface (vnet_main_t *vnm, ikev2_sa_t *sa, ikev2_child_sa_t *child) |
|
static u8 * | format_ikev2_trace (u8 *s, va_list *args) |
|
static ikev2_sa_transform_t * | ikev2_find_transform_data (ikev2_sa_transform_t *t) |
|
static ikev2_sa_proposal_t * | ikev2_select_proposal (ikev2_sa_proposal_t *proposals, ikev2_protocol_id_t prot_id) |
|
ikev2_sa_transform_t * | ikev2_sa_get_td_for_type (ikev2_sa_proposal_t *p, ikev2_transform_type_t type) |
|
ikev2_child_sa_t * | ikev2_sa_get_child (ikev2_sa_t *sa, u32 spi, ikev2_protocol_id_t prot_id, int by_initiator) |
|
void | ikev2_sa_free_proposal_vector (ikev2_sa_proposal_t **v) |
|
static void | ikev2_sa_free_all_child_sa (ikev2_child_sa_t **childs) |
|
static void | ikev2_sa_del_child_sa (ikev2_sa_t *sa, ikev2_child_sa_t *child) |
|
static void | ikev2_sa_free_all_vec (ikev2_sa_t *sa) |
|
static void | ikev2_delete_sa (ikev2_sa_t *sa) |
|
static void | ikev2_generate_sa_init_data (ikev2_sa_t *sa) |
|
static void | ikev2_complete_sa_data (ikev2_sa_t *sa, ikev2_sa_t *sai) |
|
static void | ikev2_calc_keys (ikev2_sa_t *sa) |
|
static void | ikev2_calc_child_keys (ikev2_sa_t *sa, ikev2_child_sa_t *child) |
|
static void | ikev2_process_sa_init_req (vlib_main_t *vm, ikev2_sa_t *sa, ike_header_t *ike) |
|
static void | ikev2_process_sa_init_resp (vlib_main_t *vm, ikev2_sa_t *sa, ike_header_t *ike) |
|
static u8 * | ikev2_decrypt_sk_payload (ikev2_sa_t *sa, ike_header_t *ike, u8 *payload) |
|
static void | ikev2_initial_contact_cleanup (ikev2_sa_t *sa) |
|
static void | ikev2_process_auth_req (vlib_main_t *vm, ikev2_sa_t *sa, ike_header_t *ike) |
|
static void | ikev2_process_informational_req (vlib_main_t *vm, ikev2_sa_t *sa, ike_header_t *ike) |
|
static void | ikev2_process_create_child_sa_req (vlib_main_t *vm, ikev2_sa_t *sa, ike_header_t *ike) |
|
static u8 * | ikev2_sa_generate_authmsg (ikev2_sa_t *sa, int is_responder) |
|
static int | ikev2_ts_cmp (ikev2_ts_t *ts1, ikev2_ts_t *ts2) |
|
static void | ikev2_sa_match_ts (ikev2_sa_t *sa) |
|
static void | ikev2_sa_auth (ikev2_sa_t *sa) |
|
static void | ikev2_sa_auth_init (ikev2_sa_t *sa) |
|
static int | ikev2_create_tunnel_interface (vnet_main_t *vnm, ikev2_sa_t *sa, ikev2_child_sa_t *child) |
|
static u32 | ikev2_generate_message (ikev2_sa_t *sa, ike_header_t *ike, void *user) |
|
static int | ikev2_retransmit_sa_init (ike_header_t *ike, ip4_address_t iaddr, ip4_address_t raddr) |
|
static int | ikev2_retransmit_resp (ikev2_sa_t *sa, ike_header_t *ike) |
|
static uword | ikev2_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | ikev2_set_initiator_proposals (vlib_main_t *vm, ikev2_sa_t *sa, ikev2_transforms_set *ts, ikev2_sa_proposal_t **proposals, int is_ike) |
|
static ikev2_profile_t * | ikev2_profile_index_by_name (u8 *name) |
|
static void | ikev2_send_ike (vlib_main_t *vm, ip4_address_t *src, ip4_address_t *dst, u32 bi0, u32 len) |
|
static u32 | ikev2_get_new_ike_header_buff (vlib_main_t *vm, ike_header_t **ike) |
|
clib_error_t * | ikev2_set_local_key (vlib_main_t *vm, u8 *file) |
|
clib_error_t * | ikev2_add_del_profile (vlib_main_t *vm, u8 *name, int is_add) |
|
clib_error_t * | ikev2_set_profile_auth (vlib_main_t *vm, u8 *name, u8 auth_method, u8 *auth_data, u8 data_hex_format) |
|
clib_error_t * | ikev2_set_profile_id (vlib_main_t *vm, u8 *name, u8 id_type, u8 *data, int is_local) |
|
clib_error_t * | ikev2_set_profile_ts (vlib_main_t *vm, u8 *name, u8 protocol_id, u16 start_port, u16 end_port, ip4_address_t start_addr, ip4_address_t end_addr, int is_local) |
|
clib_error_t * | ikev2_set_profile_responder (vlib_main_t *vm, u8 *name, u32 sw_if_index, ip4_address_t ip4) |
|
clib_error_t * | ikev2_set_profile_ike_transforms (vlib_main_t *vm, u8 *name, ikev2_transform_encr_type_t crypto_alg, ikev2_transform_integ_type_t integ_alg, ikev2_transform_dh_type_t dh_type, u32 crypto_key_size) |
|
clib_error_t * | ikev2_set_profile_esp_transforms (vlib_main_t *vm, u8 *name, ikev2_transform_encr_type_t crypto_alg, ikev2_transform_integ_type_t integ_alg, ikev2_transform_dh_type_t dh_type, u32 crypto_key_size) |
|
clib_error_t * | ikev2_set_profile_sa_lifetime (vlib_main_t *vm, u8 *name, u64 lifetime, u32 jitter, u32 handover, u64 maxdata) |
|
clib_error_t * | ikev2_initiate_sa_init (vlib_main_t *vm, u8 *name) |
|
static void | ikev2_delete_child_sa_internal (vlib_main_t *vm, ikev2_sa_t *sa, ikev2_child_sa_t *csa) |
|
clib_error_t * | ikev2_initiate_delete_child_sa (vlib_main_t *vm, u32 ispi) |
|
clib_error_t * | ikev2_initiate_delete_ike_sa (vlib_main_t *vm, u64 ispi) |
|
static void | ikev2_rekey_child_sa_internal (vlib_main_t *vm, ikev2_sa_t *sa, ikev2_child_sa_t *csa) |
|
clib_error_t * | ikev2_initiate_rekey_child_sa (vlib_main_t *vm, u32 ispi) |
|
clib_error_t * | ikev2_init (vlib_main_t *vm) |
|
static u8 | ikev2_mngr_process_child_sa (ikev2_sa_t *sa, ikev2_child_sa_t *csa) |
|
static void | ikev2_mngr_process_ipsec_sa (ipsec_sa_t *ipsec_sa) |
|
static uword | ikev2_mngr_process_fn (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|