FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
udp.api
Go to the documentation of this file.
1
/*
2
* Copyright (c) 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
/** \file
17
18
This file defines vpp UDP control-plane API messages which are generally
19
called through a shared memory interface.
20
*/
21
22
option
version
=
"1.0.0"
;
23
24
/** \brief Add / del table request
25
A table can be added multiple times, but need be deleted only once.
26
@param client_index - opaque cookie to identify the sender
27
@param context - sender context, to match reply w/ request
28
@param is_ipv6 - V4 or V6 table
29
@param table_id - table ID associated with the encap destination
30
*/
31
autoreply define udp_encap_add_del
32
{
33
u32
client_index
;
34
u32
context
;
35
u32
id
;
36
u32
table_id
;
37
u8
is_ip6
;
38
u8
is_add
;
39
u16
src_port
;
40
u16
dst_port
;
41
u8
src_ip[16];
42
u8
dst_ip[16];
43
};
44
45
define udp_encap_dump
46
{
47
u32
client_index
;
48
u32
context
;
49
};
50
51
define udp_encap_details
52
{
53
u32
context
;
54
u32
id
;
55
u32
table_id
;
56
u8
is_ip6
;
57
u16
src_port
;
58
u16
dst_port
;
59
u8
src_ip[16];
60
u8
dst_ip[16];
61
};
62
63
/*
64
* Local Variables:
65
* eval: (c-set-style "gnu")
66
* End:
67
*/
vl_api_udp_encap_details_t::id
u32 id
Definition:
udp.api:54
vl_api_udp_encap_details_t::context
u32 context
Definition:
udp.api:53
vl_api_udp_encap_details_t::table_id
u32 table_id
Definition:
udp.api:55
vl_api_udp_encap_add_del_t::id
u32 id
Definition:
udp.api:35
u8
unsigned char u8
Definition:
types.h:56
vl_api_udp_encap_add_del_t::src_port
u16 src_port
Definition:
udp.api:39
vl_api_udp_encap_add_del_t::is_ip6
u8 is_ip6
Definition:
udp.api:37
u32
unsigned int u32
Definition:
types.h:88
vl_api_udp_encap_details_t::is_ip6
u8 is_ip6
Definition:
udp.api:56
u16
unsigned short u16
Definition:
types.h:57
vl_api_udp_encap_add_del_t::table_id
u32 table_id
Definition:
udp.api:36
version
option version
Definition:
udp.api:22
vl_api_udp_encap_dump_t::context
u32 context
Definition:
udp.api:48
vl_api_udp_encap_details_t::dst_port
u16 dst_port
Definition:
udp.api:58
vl_api_udp_encap_details_t::src_port
u16 src_port
Definition:
udp.api:57
vl_api_udp_encap_add_del_t::is_add
u8 is_add
Definition:
udp.api:38
vl_api_udp_encap_add_del_t::dst_port
u16 dst_port
Definition:
udp.api:40
vl_api_udp_encap_dump_t::client_index
u32 client_index
Definition:
udp.api:47
vl_api_udp_encap_add_del_t::context
u32 context
Definition:
udp.api:34
vl_api_udp_encap_add_del_t::client_index
u32 client_index
Definition:
udp.api:33
src
vnet
udp
udp.api
Generated on Fri May 24 2019 10:26:51 for FD.io VPP by
1.8.11