dpdk: Add support for Mellanox ConnectX-4 devices
[vpp.git] / src / vnet / gre / gre.api
1 /*
2  * Copyright (c) 2015-2016 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 define gre_add_del_tunnel
17 {
18   u32 client_index;
19   u32 context;
20   u8 is_add;
21   u8 is_ipv6;
22   u8 teb;
23   u8 src_address[16];
24   u8 dst_address[16];
25   u32 outer_fib_id;
26 };
27
28 define gre_add_del_tunnel_reply
29 {
30   u32 context;
31   i32 retval;
32   u32 sw_if_index;
33 };
34
35 define gre_tunnel_dump
36 {
37   u32 client_index;
38   u32 context;
39   u32 sw_if_index;
40 };
41
42 define gre_tunnel_details
43 {
44   u32 context;
45   u32 sw_if_index;
46   u8 is_ipv6;
47   u8 teb;
48   u8 src_address[16];
49   u8 dst_address[16];
50   u32 outer_fib_id;
51 };
52
53 /*
54  * Local Variables:
55  * eval: (c-set-style "gnu")
56  * End:
57  */