FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef u8 | v8 |
Enumerations | |
enum | ikev2_protocol_id_t { IKEV2_PROTOCOL_IKE = 1, IKEV2_PROTOCOL_AH = 2, IKEV2_PROTOCOL_ESP = 3 } |
enum | ikev2_notify_msg_type_t { foreach_ikev2_notify_msg_type } |
enum | ikev2_transform_type_t { IKEV2_TRANSFORM_NUM_TYPES } |
enum | ikev2_transform_encr_type_t { foreach_ikev2_transform_encr_type } |
enum | ikev2_transform_prf_type_t { foreach_ikev2_transform_prf_type } |
enum | ikev2_transform_integ_type_t { foreach_ikev2_transform_integ_type } |
enum | ikev2_transform_dh_type_t { foreach_ikev2_transform_dh_type } |
enum | ikev2_transform_esn_type_t { foreach_ikev2_transform_esn_type } |
enum | ikev2_auth_method_t { foreach_ikev2_auth_method } |
enum | ikev2_id_type_t { foreach_ikev2_id_type } |
enum | ikev2_traffic_selector_type_t { TS_IPV4_ADDR_RANGE = 7, TS_IPV6_ADDR_RANGE = 8 } |
#define foreach_ikev2_auth_method |
#define foreach_ikev2_id_type |
#define foreach_ikev2_transform_dh_type |
#define foreach_ikev2_transform_encr_type |
#define foreach_ikev2_transform_esn_type |
#define foreach_ikev2_transform_integ_type |
#define foreach_ikev2_transform_prf_type |
#define foreach_ikev2_transform_type |
#define ike_hdr_is_initiator | ( | _h | ) | ((_h)->flags & IKEV2_HDR_FLAG_INITIATOR) |
#define ike_hdr_is_request | ( | _h | ) | (!ike_hdr_is_response(_h)) |
#define ike_hdr_is_responder | ( | _h | ) | (!(ike_hdr_is_initiator(_h))) |
#define ike_hdr_is_response | ( | _h | ) | ((_h)->flags & IKEV2_HDR_FLAG_RESPONSE) |
#define IKEV2_GCM_IV_SIZE (IKEV2_GCM_NONCE_SIZE - IKEV2_GCM_SALT_SIZE) |
enum ikev2_auth_method_t |
enum ikev2_id_type_t |
enum ikev2_protocol_id_t |
typedef CLIB_PACKED | ( | struct { u64 ispi;u64 rspi;u8 nextpayload;u8 version;u8 exchange;u8 flags;u32 msgid;u32 length;u8 payload[0];} | ) |
typedef CLIB_PACKED | ( | struct { u8 nextpayload;u8 flags;u16 length;u16 dh_group;u8 reserved[2];u8 payload[0];} | ) |
typedef CLIB_PACKED | ( | struct { u8 nextpayload;u8 flags;u16 length;u8 auth_method;u8 reserved[3];u8 payload[0];} | ) |
typedef CLIB_PACKED | ( | struct { u8 nextpayload;u8 flags;u16 length;u8 id_type;u8 reserved[3];u8 payload[0];} | ) |
Definition at line 25 of file ikev2_format.c.
clib_error_t* ikev2_add_del_profile | ( | vlib_main_t * | vm, |
u8 * | name, | ||
int | is_add | ||
) |
void ikev2_cli_reference | ( | void | ) |
clib_error_t* ikev2_init | ( | vlib_main_t * | vm | ) |
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 | ||
) |
clib_error_t* ikev2_initiate_rekey_child_sa | ( | vlib_main_t * | vm, |
u32 | ispi | ||
) |
clib_error_t* ikev2_initiate_sa_init | ( | vlib_main_t * | vm, |
u8 * | name | ||
) |
clib_error_t* ikev2_set_liveness_params | ( | u32 | period, |
u32 | max_retries | ||
) |
clib_error_t* ikev2_set_local_key | ( | vlib_main_t * | vm, |
u8 * | file | ||
) |
clib_error_t* ikev2_set_profile_auth | ( | vlib_main_t * | vm, |
u8 * | name, | ||
u8 | auth_method, | ||
u8 * | data, | ||
u8 | data_hex_format | ||
) |
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, | ||
u32 | crypto_key_size | ||
) |
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_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 | ||
) |
vnet_api_error_t ikev2_set_profile_ipsec_udp_port | ( | vlib_main_t * | vm, |
u8 * | name, | ||
u16 | port, | ||
u8 | is_set | ||
) |
clib_error_t* ikev2_set_profile_responder | ( | vlib_main_t * | vm, |
u8 * | name, | ||
u32 | sw_if_index, | ||
ip_address_t | addr | ||
) |
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_set_profile_ts | ( | vlib_main_t * | vm, |
u8 * | name, | ||
u8 | protocol_id, | ||
u16 | start_port, | ||
u16 | end_port, | ||
ip_address_t | start_addr, | ||
ip_address_t | end_addr, | ||
int | is_local | ||
) |
clib_error_t* ikev2_set_profile_tunnel_interface | ( | vlib_main_t * | vm, |
u8 * | name, | ||
u32 | sw_if_index | ||
) |
clib_error_t* ikev2_set_profile_udp_encap | ( | vlib_main_t * | vm, |
u8 * | name | ||
) |
uword unformat_ikev2_auth_method | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_id_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_transform_dh_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_transform_encr_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_transform_esn_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_transform_integ_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_transform_prf_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_ikev2_transform_type | ( | unformat_input_t * | input, |
va_list * | args | ||
) |