FD.io VPP
v16.09
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 } |
Functions | |
typedef | CLIB_PACKED (struct{u64 ispi;u64 rspi;u8 nextpayload;u8 version;u8 exchange;u8 flags;u32 msgid;u32 length;u8 payload[0];}) ike_header_t |
typedef | CLIB_PACKED (struct{u8 nextpayload;u8 flags;u16 length;u16 dh_group;u8 reserved[2];u8 payload[0];}) ike_ke_payload_header_t |
typedef | CLIB_PACKED (struct{u8 nextpayload;u8 flags;u16 length;u8 payload[0];}) ike_payload_header_t |
typedef | CLIB_PACKED (struct{u8 nextpayload;u8 flags;u16 length;u8 auth_method;u8 reserved[3];u8 payload[0];}) ike_auth_payload_header_t |
typedef | CLIB_PACKED (struct{u8 nextpayload;u8 flags;u16 length;u8 id_type;u8 reserved[3];u8 payload[0];}) ike_id_payload_header_t |
clib_error_t * | ikev2_init (vlib_main_t *vm) |
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 *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) |
u8 * | format_ikev2_auth_method (u8 *s, va_list *args) |
u8 * | format_ikev2_id_type (u8 *s, va_list *args) |
u8 * | format_ikev2_transform_type (u8 *s, va_list *args) |
u8 * | format_ikev2_notify_msg_type (u8 *s, va_list *args) |
u8 * | format_ikev2_transform_encr_type (u8 *s, va_list *args) |
u8 * | format_ikev2_transform_prf_type (u8 *s, va_list *args) |
u8 * | format_ikev2_transform_integ_type (u8 *s, va_list *args) |
u8 * | format_ikev2_transform_dh_type (u8 *s, va_list *args) |
u8 * | format_ikev2_transform_esn_type (u8 *s, va_list *args) |
u8 * | format_ikev2_sa_transform (u8 *s, va_list *args) |
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_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_prf_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_dh_type (unformat_input_t *input, va_list *args) |
uword | unformat_ikev2_transform_esn_type (unformat_input_t *input, va_list *args) |
#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 |
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 | ||
) |
clib_error_t* ikev2_init | ( | vlib_main_t * | vm | ) |
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_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 | ||
) |
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 | ||
) |