FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
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 {
41  u8 src_ip[16];
42  u8 dst_ip[16];
43 };
44 
45 define udp_encap_dump
46 {
49 };
50 
51 define udp_encap_details
52 {
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  */
unsigned char u8
Definition: types.h:56
unsigned int u32
Definition: types.h:88
unsigned short u16
Definition: types.h:57
option version
Definition: udp.api:22