FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
vxlan_gpe.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
option
version
=
"1.0.0"
;
17
18
define vxlan_gpe_add_del_tunnel
19
{
20
u32
client_index
;
21
u32
context
;
22
u8
is_ipv6
;
23
u8
local[16];
24
u8
remote[16];
25
u32
mcast_sw_if_index
;
26
u32
encap_vrf_id
;
27
u32
decap_vrf_id
;
28
u8
protocol
;
29
u32
vni
;
30
u8
is_add
;
31
};
32
33
define vxlan_gpe_add_del_tunnel_reply
34
{
35
u32
context
;
36
i32
retval
;
37
u32
sw_if_index
;
38
};
39
40
define vxlan_gpe_tunnel_dump
41
{
42
u32
client_index
;
43
u32
context
;
44
u32
sw_if_index
;
45
};
46
47
define vxlan_gpe_tunnel_details
48
{
49
u32
context
;
50
u32
sw_if_index
;
51
u8
local[16];
52
u8
remote[16];
53
u32
vni
;
54
u8
protocol
;
55
u32
mcast_sw_if_index
;
56
u32
encap_vrf_id
;
57
u32
decap_vrf_id
;
58
u8
is_ipv6
;
59
};
60
61
/** \brief Interface set vxlan-gpe-bypass request
62
@param client_index - opaque cookie to identify the sender
63
@param context - sender context, to match reply w/ request
64
@param sw_if_index - interface used to reach neighbor
65
@param is_ipv6 - if non-zero, enable ipv6-vxlan-bypass, else ipv4-vxlan-bypass
66
@param enable - if non-zero enable, else disable
67
*/
68
autoreply define sw_interface_set_vxlan_gpe_bypass
69
{
70
u32
client_index
;
71
u32
context
;
72
u32
sw_if_index
;
73
u8
is_ipv6
;
74
u8
enable
;
75
};
76
77
/*
78
* Local Variables:
79
* eval: (c-set-style "gnu")
80
* End:
81
*/
vl_api_vxlan_gpe_tunnel_details_t::encap_vrf_id
u32 encap_vrf_id
Definition:
vxlan_gpe.api:56
vl_api_sw_interface_set_vxlan_gpe_bypass_t::client_index
u32 client_index
Definition:
vxlan_gpe.api:70
vl_api_vxlan_gpe_add_del_tunnel_t::is_add
u8 is_add
Definition:
vxlan_gpe.api:30
vl_api_vxlan_gpe_tunnel_details_t::vni
u32 vni
Definition:
vxlan_gpe.api:53
vl_api_vxlan_gpe_tunnel_details_t::decap_vrf_id
u32 decap_vrf_id
Definition:
vxlan_gpe.api:57
vl_api_vxlan_gpe_add_del_tunnel_t::is_ipv6
u8 is_ipv6
Definition:
vxlan_gpe.api:22
vl_api_vxlan_gpe_add_del_tunnel_reply_t::retval
i32 retval
Definition:
vxlan_gpe.api:36
vl_api_vxlan_gpe_tunnel_details_t::mcast_sw_if_index
u32 mcast_sw_if_index
Definition:
vxlan_gpe.api:55
vl_api_vxlan_gpe_add_del_tunnel_reply_t::context
u32 context
Definition:
vxlan_gpe.api:35
u8
unsigned char u8
Definition:
types.h:56
vl_api_vxlan_gpe_tunnel_dump_t::client_index
u32 client_index
Definition:
vxlan_gpe.api:42
vl_api_sw_interface_set_vxlan_gpe_bypass_t::context
u32 context
Definition:
vxlan_gpe.api:71
vl_api_vxlan_gpe_tunnel_dump_t::sw_if_index
u32 sw_if_index
Definition:
vxlan_gpe.api:44
u32
unsigned int u32
Definition:
types.h:88
vl_api_vxlan_gpe_tunnel_details_t::context
u32 context
Definition:
vxlan_gpe.api:49
vl_api_vxlan_gpe_tunnel_details_t::is_ipv6
u8 is_ipv6
Definition:
vxlan_gpe.api:58
vl_api_vxlan_gpe_add_del_tunnel_reply_t::sw_if_index
u32 sw_if_index
Definition:
vxlan_gpe.api:37
vl_api_vxlan_gpe_add_del_tunnel_t::vni
u32 vni
Definition:
vxlan_gpe.api:29
vl_api_sw_interface_set_vxlan_gpe_bypass_t::sw_if_index
u32 sw_if_index
Definition:
vxlan_gpe.api:72
i32
signed int i32
Definition:
types.h:77
vl_api_sw_interface_set_vxlan_gpe_bypass_t::enable
u8 enable
Definition:
vxlan_gpe.api:74
vl_api_vxlan_gpe_tunnel_dump_t::context
u32 context
Definition:
vxlan_gpe.api:43
vl_api_vxlan_gpe_add_del_tunnel_t::encap_vrf_id
u32 encap_vrf_id
Definition:
vxlan_gpe.api:26
vl_api_vxlan_gpe_add_del_tunnel_t::protocol
u8 protocol
Definition:
vxlan_gpe.api:28
vl_api_vxlan_gpe_tunnel_details_t::protocol
u8 protocol
Definition:
vxlan_gpe.api:54
version
option version
Definition:
vxlan_gpe.api:16
vl_api_vxlan_gpe_add_del_tunnel_t::client_index
u32 client_index
Definition:
vxlan_gpe.api:20
vl_api_vxlan_gpe_tunnel_details_t::sw_if_index
u32 sw_if_index
Definition:
vxlan_gpe.api:50
vl_api_vxlan_gpe_add_del_tunnel_t::mcast_sw_if_index
u32 mcast_sw_if_index
Definition:
vxlan_gpe.api:25
vl_api_vxlan_gpe_add_del_tunnel_t::context
u32 context
Definition:
vxlan_gpe.api:21
vl_api_sw_interface_set_vxlan_gpe_bypass_t::is_ipv6
u8 is_ipv6
Definition:
vxlan_gpe.api:73
vl_api_vxlan_gpe_add_del_tunnel_t::decap_vrf_id
u32 decap_vrf_id
Definition:
vxlan_gpe.api:27
src
vnet
vxlan-gpe
vxlan_gpe.api
Generated on Sun Dec 8 2019 18:03:37 for FD.io VPP by
1.8.13