FD.io VPP  v17.07-30-g839fa73
Vector Packet Processing
vxlan.api
Go to the documentation of this file.
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 vxlan_add_del_tunnel
17 {
22  u8 src_address[16];
23  u8 dst_address[16];
28 };
29 
30 define vxlan_add_del_tunnel_reply
31 {
35 };
36 
37 define vxlan_tunnel_dump
38 {
42 };
43 
44 define vxlan_tunnel_details
45 {
48  u8 src_address[16];
49  u8 dst_address[16];
55 };
56 
57 /** \brief Interface set vxlan-bypass request
58  @param client_index - opaque cookie to identify the sender
59  @param context - sender context, to match reply w/ request
60  @param sw_if_index - interface used to reach neighbor
61  @param is_ipv6 - if non-zero, enable ipv6-vxlan-bypass, else ipv4-vxlan-bypass
62  @param enable - if non-zero enable, else disable
63 */
64 autoreply define sw_interface_set_vxlan_bypass
65 {
71 };
int i32
Definition: types.h:81
unsigned int u32
Definition: types.h:88
unsigned char u8
Definition: types.h:56