FD.io VPP
v18.07-rc0-415-g6c78436
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
fib_types.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
/** \brief MPLS label
17
*/
18
typeonly define fib_mpls_label
19
{
20
u8
is_uniform
;
21
u32
label
;
22
u8
ttl
;
23
u8
exp
;
24
};
25
26
/** \brief FIB path
27
@param sw_if_index - index of the interface
28
@param weight - The weight, for UCMP
29
@param preference - The preference of the path. lowest preference
30
is prefered
31
@param is_local - local if non-zero, else remote
32
@param is_drop - Drop the packet
33
@param is_unreach - Drop the packet and rate limit send ICMP unreachable
34
@param is_prohibit - Drop the packet and rate limit send ICMP prohibited
35
@param is_udp_encap - The path describes a UDP-o-IP encapsulation.
36
@param is_dvr - Does the route resolve via a DVR interface.
37
@param is_source_lookup - The the path is a deaggregate path (i.e. a lookup
38
in another table) is the lookup on the packet's
39
source address or destination.
40
@param afi - dpo_proto_t protocol that describes the next-hop address
41
@param via_label - The next-hop is a resolved via a local label
42
@param next_hop[16] - the next hop address
43
@param next_hop_id - Used when the path resolves via an object
44
that has a unique identifier. e.g. the UDP
45
encap object
46
*/
47
typeonly define fib_path
48
{
49
u32
sw_if_index
;
50
u32
table_id
;
51
u8
weight
;
52
u8
preference
;
53
u8
is_local
;
54
u8
is_drop
;
55
u8
is_udp_encap
;
56
u8
is_unreach
;
57
u8
is_prohibit
;
58
u8
is_resolve_host
;
59
u8
is_resolve_attached
;
60
u8
is_dvr
;
61
u8
is_source_lookup
;
62
u8
afi
;
63
u8
next_hop[16];
64
u32
next_hop_id
;
65
u32
rpf_id
;
66
u32
via_label
;
67
u8
n_labels
;
68
vl_api_fib_mpls_label_t
label_stack[16];
69
};
vl_api_fib_mpls_label_t
MPLS label.
Definition:
fib_types.api:18
vl_api_fib_path_t::afi
u8 afi
Definition:
fib_types.api:62
vl_api_fib_mpls_label_t::ttl
u8 ttl
Definition:
fib_types.api:22
vl_api_fib_mpls_label_t::exp
u8 exp
Definition:
fib_types.api:23
vl_api_fib_path_t::is_dvr
u8 is_dvr
Definition:
fib_types.api:60
vl_api_fib_path_t::via_label
u32 via_label
Definition:
fib_types.api:66
u8
unsigned char u8
Definition:
types.h:56
vl_api_fib_mpls_label_t::is_uniform
u8 is_uniform
Definition:
fib_types.api:20
vl_api_fib_path_t::is_source_lookup
u8 is_source_lookup
Definition:
fib_types.api:61
vl_api_fib_path_t::weight
u8 weight
Definition:
fib_types.api:51
u32
unsigned int u32
Definition:
types.h:88
vl_api_fib_path_t::is_resolve_host
u8 is_resolve_host
Definition:
fib_types.api:58
vl_api_fib_path_t::rpf_id
u32 rpf_id
Definition:
fib_types.api:65
vl_api_fib_path_t::is_resolve_attached
u8 is_resolve_attached
Definition:
fib_types.api:59
vl_api_fib_path_t::next_hop_id
u32 next_hop_id
Definition:
fib_types.api:64
vl_api_fib_path_t::is_drop
u8 is_drop
Definition:
fib_types.api:54
vl_api_fib_path_t::is_unreach
u8 is_unreach
Definition:
fib_types.api:56
vl_api_fib_path_t::is_udp_encap
u8 is_udp_encap
Definition:
fib_types.api:55
vl_api_fib_path_t::sw_if_index
u32 sw_if_index
Definition:
fib_types.api:49
vl_api_fib_path_t::table_id
u32 table_id
Definition:
fib_types.api:50
vl_api_fib_mpls_label_t::label
u32 label
Definition:
fib_types.api:21
vl_api_fib_path_t::is_local
u8 is_local
Definition:
fib_types.api:53
vl_api_fib_path_t::n_labels
u8 n_labels
Definition:
fib_types.api:67
vl_api_fib_path_t::preference
u8 preference
Definition:
fib_types.api:52
vl_api_fib_path_t::is_prohibit
u8 is_prohibit
Definition:
fib_types.api:57
src
vnet
fib
fib_types.api
Generated on Tue Aug 21 2018 06:02:49 for FD.io VPP by
1.8.11