1 /* Hey Emacs use -*- mode: C -*- */
3 * Copyright (c) 2015-2016 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.
18 import "vnet/ip/ip_types.api";
19 import "vnet/interface_types.api";
34 vl_api_ip4_address_t start_addr;
35 vl_api_ip4_address_t end_addr;
41 u8 hex; /* hex encoding of the shared secret */
46 typedef ikev2_responder
48 vl_api_interface_index_t sw_if_index;
49 vl_api_ip4_address_t ip4;
52 typedef ikev2_ike_transforms
60 typedef ikev2_esp_transforms
70 vl_api_ikev2_id_t loc_id;
71 vl_api_ikev2_id_t rem_id;
72 vl_api_ikev2_ts_t loc_ts;
73 vl_api_ikev2_ts_t rem_ts;
74 vl_api_ikev2_responder_t responder;
75 vl_api_ikev2_ike_transforms_t ike_ts;
76 vl_api_ikev2_esp_transforms_t esp_ts;
81 u16 ipsec_over_udp_port;
84 vl_api_ikev2_auth_t auth;