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";
35 vl_api_ip4_address_t start_addr;
36 vl_api_ip4_address_t end_addr;
42 u8 hex; /* hex encoding of the shared secret */
47 typedef ikev2_responder
50 vl_api_ip4_address_t ip4;
53 typedef ikev2_transforms_set
64 vl_api_ikev2_id_t loc_id;
65 vl_api_ikev2_id_t rem_id;
66 vl_api_ikev2_ts_t loc_ts;
67 vl_api_ikev2_ts_t rem_ts;
68 vl_api_ikev2_responder_t responder;
69 vl_api_ikev2_transforms_set_t ike_ts;
70 vl_api_ikev2_transforms_set_t esp_ts;
75 u16 ipsec_over_udp_port;
78 vl_api_ikev2_auth_t auth;