FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
fib.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2018 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/fib/fib_types.api";
20 
21 typedef fib_source
22 {
23  u8 priority;
24  u8 id;
25  string name[64];
26 };
27 
28 define fib_source_add
29 {
32  vl_api_fib_source_t src;
33 };
34 
35 define fib_source_add_reply
36 {
39  u8 id;
40 };
41 
42 define fib_source_dump
43 {
46 };
47 
48 define fib_source_details
49 {
51  vl_api_fib_source_t src;
52 };
id
u8 id
Definition: fib.api:24
name
string name[64]
Definition: fib.api:25
vl_api_fib_source_details_t::src
vl_api_fib_source_t src
Definition: fib.api:51
vl_api_fib_source_add_reply_t::retval
i32 retval
Definition: fib.api:38
fib_source
typedef fib_source
Definition: fib.api:22
vl_api_fib_source_add_t::src
vl_api_fib_source_t src
Definition: fib.api:32
i32
signed int i32
Definition: types.h:77
priority
i32 priority
Definition: ipsec.api:95
version
option version
Definition: fib.api:17
vl_api_fib_source_add_t
Definition: fib.api:28
vl_api_fib_source_add_t::client_index
u32 client_index
Definition: fib.api:30
vl_api_fib_source_add_t::context
u32 context
Definition: fib.api:31
vl_api_fib_source_dump_t
Definition: fib.api:42
vl_api_fib_source_details_t::context
u32 context
Definition: fib.api:50
vl_api_fib_source_details_t
Definition: fib.api:48
u32
unsigned int u32
Definition: types.h:88
vl_api_fib_source_dump_t::context
u32 context
Definition: fib.api:45
vl_api_fib_source_add_reply_t::id
u8 id
Definition: fib.api:39
u8
unsigned char u8
Definition: types.h:56
vl_api_fib_source_add_reply_t
Definition: fib.api:35
vl_api_fib_source_dump_t::client_index
u32 client_index
Definition: fib.api:44
vl_api_fib_source_add_reply_t::context
u32 context
Definition: fib.api:37