FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
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
{
18
u32
client_index
;
19
u32
context
;
20
u8
is_add
;
21
u8
is_ipv6
;
22
u8
src_address[16];
23
u8
dst_address[16];
24
u32
mcast_sw_if_index
;
25
u32
encap_vrf_id
;
26
u32
decap_next_index
;
27
u32
vni
;
28
};
29
30
define vxlan_add_del_tunnel_reply
31
{
32
u32
context
;
33
i32
retval
;
34
u32
sw_if_index
;
35
};
36
37
define vxlan_tunnel_dump
38
{
39
u32
client_index
;
40
u32
context
;
41
u32
sw_if_index
;
42
};
43
44
define vxlan_tunnel_details
45
{
46
u32
context
;
47
u32
sw_if_index
;
48
u8
src_address[16];
49
u8
dst_address[16];
50
u32
mcast_sw_if_index
;
51
u32
encap_vrf_id
;
52
u32
decap_next_index
;
53
u32
vni
;
54
u8
is_ipv6
;
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
define sw_interface_set_vxlan_bypass
65
{
66
u32
client_index
;
67
u32
context
;
68
u32
sw_if_index
;
69
u8
is_ipv6
;
70
u8
enable
;
71
};
72
73
/** \brief Interface set vxlan-bypass response
74
@param context - sender context, to match reply w/ request
75
@param retval - return code for the request
76
*/
77
define sw_interface_set_vxlan_bypass_reply
78
{
79
u32
context
;
80
i32
retval
;
81
};
vl_api_vxlan_add_del_tunnel_t::is_add
u8 is_add
Definition:
vxlan.api:20
vl_api_vxlan_tunnel_dump_t::context
u32 context
Definition:
vxlan.api:40
vl_api_vxlan_add_del_tunnel_t::client_index
u32 client_index
Definition:
vxlan.api:18
vl_api_vxlan_add_del_tunnel_t::decap_next_index
u32 decap_next_index
Definition:
vxlan.api:26
vl_api_vxlan_tunnel_details_t::is_ipv6
u8 is_ipv6
Definition:
vxlan.api:54
vl_api_vxlan_tunnel_details_t::context
u32 context
Definition:
vxlan.api:46
vl_api_vxlan_tunnel_details_t::encap_vrf_id
u32 encap_vrf_id
Definition:
vxlan.api:51
vl_api_vxlan_tunnel_dump_t::sw_if_index
u32 sw_if_index
Definition:
vxlan.api:41
i32
int i32
Definition:
types.h:81
vl_api_vxlan_tunnel_details_t::decap_next_index
u32 decap_next_index
Definition:
vxlan.api:52
vl_api_vxlan_tunnel_details_t::mcast_sw_if_index
u32 mcast_sw_if_index
Definition:
vxlan.api:50
vl_api_sw_interface_set_vxlan_bypass_reply_t::retval
i32 retval
Definition:
vxlan.api:80
vl_api_sw_interface_set_vxlan_bypass_t::enable
u8 enable
Definition:
vxlan.api:70
vl_api_sw_interface_set_vxlan_bypass_t::client_index
u32 client_index
Definition:
vxlan.api:66
vl_api_vxlan_add_del_tunnel_t::context
u32 context
Definition:
vxlan.api:19
vl_api_vxlan_add_del_tunnel_t::encap_vrf_id
u32 encap_vrf_id
Definition:
vxlan.api:25
vl_api_vxlan_add_del_tunnel_t::is_ipv6
u8 is_ipv6
Definition:
vxlan.api:21
vl_api_sw_interface_set_vxlan_bypass_t::sw_if_index
u32 sw_if_index
Definition:
vxlan.api:68
vl_api_vxlan_tunnel_details_t::sw_if_index
u32 sw_if_index
Definition:
vxlan.api:47
vl_api_vxlan_add_del_tunnel_t::mcast_sw_if_index
u32 mcast_sw_if_index
Definition:
vxlan.api:24
vl_api_sw_interface_set_vxlan_bypass_reply_t::context
u32 context
Definition:
vxlan.api:79
u32
unsigned int u32
Definition:
types.h:88
vl_api_vxlan_tunnel_dump_t::client_index
u32 client_index
Definition:
vxlan.api:39
vl_api_vxlan_tunnel_details_t::vni
u32 vni
Definition:
vxlan.api:53
vl_api_vxlan_add_del_tunnel_reply_t::context
u32 context
Definition:
vxlan.api:32
vl_api_vxlan_add_del_tunnel_t::vni
u32 vni
Definition:
vxlan.api:27
vl_api_sw_interface_set_vxlan_bypass_t::context
u32 context
Definition:
vxlan.api:67
u8
unsigned char u8
Definition:
types.h:56
vl_api_sw_interface_set_vxlan_bypass_t::is_ipv6
u8 is_ipv6
Definition:
vxlan.api:69
vl_api_vxlan_add_del_tunnel_reply_t::sw_if_index
u32 sw_if_index
Definition:
vxlan.api:34
vl_api_vxlan_add_del_tunnel_reply_t::retval
i32 retval
Definition:
vxlan.api:33
src
vnet
vxlan
vxlan.api
Generated on Mon May 15 2017 20:50:24 for FD.io VPP by
1.8.11