1 /* Hey Emacs use -*- mode: C -*- */
3 * Copyright (c) 2015-2020 Cisco and/or its affiliates.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 option version = "1.0.0";
18 import "vnet/ip/ip_types.api";
19 import "vnet/interface_types.api";
37 vl_api_address_t start_addr;
38 vl_api_address_t end_addr;
44 u8 hex; /* hex encoding of the shared secret */
49 typedef ikev2_responder
51 vl_api_interface_index_t sw_if_index;
52 vl_api_address_t addr;
55 typedef ikev2_ike_transforms
63 typedef ikev2_esp_transforms
73 vl_api_ikev2_id_t loc_id;
74 vl_api_ikev2_id_t rem_id;
75 vl_api_ikev2_ts_t loc_ts;
76 vl_api_ikev2_ts_t rem_ts;
77 vl_api_ikev2_responder_t responder;
78 vl_api_ikev2_ike_transforms_t ike_ts;
79 vl_api_ikev2_esp_transforms_t esp_ts;
84 u16 ipsec_over_udp_port;
88 vl_api_ikev2_auth_t auth;
91 typedef ikev2_sa_transform
119 typedef ikev2_child_sa
125 vl_api_ikev2_keys_t keys;
126 vl_api_ikev2_sa_transform_t encryption;
127 vl_api_ikev2_sa_transform_t integrity;
128 vl_api_ikev2_sa_transform_t esn;
131 typedef ikev2_sa_stats
138 u16 n_init_sa_retransmit;
148 vl_api_address_t iaddr;
149 vl_api_address_t raddr;
151 vl_api_ikev2_keys_t keys;
154 vl_api_ikev2_id_t i_id;
155 vl_api_ikev2_id_t r_id;
157 vl_api_ikev2_sa_transform_t encryption;
158 vl_api_ikev2_sa_transform_t integrity;
159 vl_api_ikev2_sa_transform_t prf;
160 vl_api_ikev2_sa_transform_t dh;
162 vl_api_ikev2_sa_stats_t stats;