FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
teib.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2019 Cisco and/or its affiliates.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 option version = "1.0.0";
18 
19 import "vnet/ip/ip_types.api";
20 import "vnet/interface_types.api";
21 
22 /** \brief TEIB Entry
23  @param sw_if_index
24 */
25 typedef teib_entry
26 {
27  vl_api_interface_index_t sw_if_index;
28  vl_api_address_t peer;
29  vl_api_address_t nh;
31 };
32 
33 autoreply define teib_entry_add_del
34 {
38  vl_api_teib_entry_t entry;
39 };
40 
41 define teib_dump
42 {
45 };
46 
47 define teib_details
48 {
50  vl_api_teib_entry_t entry;
51 };
52 
53 /*
54  * Local Variables:
55  * eval: (c-set-style "gnu")
56  * End:
57  */
vl_api_teib_dump_t
Definition: teib.api:41
vl_api_teib_dump_t::client_index
u32 client_index
Definition: teib.api:43
teib_entry
typedef teib_entry
TEIB Entry.
Definition: teib.api:26
version
option version
Definition: teib.api:17
vl_api_teib_entry_add_del_t
Definition: teib.api:33
peer
vl_api_address_t peer
Definition: teib.api:28
vl_api_teib_entry_add_del_t::entry
vl_api_teib_entry_t entry
Definition: teib.api:38
vl_api_teib_details_t::context
u32 context
Definition: teib.api:49
u32
unsigned int u32
Definition: types.h:88
vl_api_teib_dump_t::context
u32 context
Definition: teib.api:44
vl_api_teib_entry_add_del_t::client_index
u32 client_index
Definition: teib.api:35
nh
vl_api_address_t nh
Definition: teib.api:29
vl_api_teib_details_t::entry
vl_api_teib_entry_t entry
Definition: teib.api:50
u8
unsigned char u8
Definition: types.h:56
vl_api_teib_entry_add_del_t::context
u32 context
Definition: teib.api:36
nh_table_id
u32 nh_table_id
Definition: teib.api:30
vl_api_teib_details_t
Definition: teib.api:47
sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:34
vl_api_teib_entry_add_del_t::is_add
u8 is_add
Definition: teib.api:37