socket_test.sh: Don't hard code debug image with gdb.
[vpp.git] / src / plugins / sixrd / sixrd.api
1 /*
2  * Copyright (c) 2018 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 option version = "2.0.0";
17
18 define sixrd_add_tunnel
19 {
20   u32 client_index;
21   u32 context;
22   u32 fib_index;
23   u8 ip6_prefix[16];
24   u8 ip4_prefix[4];
25   u8 ip4_src[4];
26   u8 ip6_prefix_len;
27   u8 ip4_prefix_len;
28   u16 mtu;
29   u8 security_check;
30 };
31
32 define sixrd_add_tunnel_reply
33 {
34   u32 context;
35   u32 sw_if_index;
36   i32 retval;
37 };
38
39 autoreply define sixrd_del_tunnel
40 {
41   u32 client_index;
42   u32 context;
43   u32 sw_if_index;
44 };