FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_fib_path_t Struct Reference

FIB path. More...

+ Collaboration diagram for vl_api_fib_path_t:

Data Fields

u32 sw_if_index
 
u32 table_id
 
u8 weight
 
u8 preference
 
u8 is_local
 
u8 is_drop
 
u8 is_udp_encap
 
u8 is_unreach
 
u8 is_prohibit
 
u8 is_resolve_host
 
u8 is_resolve_attached
 
u8 is_dvr
 
u8 is_source_lookup
 
u8 is_interface_rx
 
u8 afi
 
u8 next_hop [16]
 
u32 next_hop_id
 
u32 rpf_id
 
u32 via_label
 
u8 n_labels
 
vl_api_fib_mpls_label_t label_stack [16]
 

Detailed Description

FIB path.

Template Parameters
sw_if_index- index of the interface
weight- The weight, for UCMP
preference- The preference of the path. lowest preference is prefered
is_local- local if non-zero, else remote
is_drop- Drop the packet
is_unreach- Drop the packet and rate limit send ICMP unreachable
is_prohibit- Drop the packet and rate limit send ICMP prohibited
is_udp_encap- The path describes a UDP-o-IP encapsulation.
is_dvr- Does the route resolve via a DVR interface.
is_source_lookup- The the path is a deaggregate path (i.e. a lookup in another table) is the lookup on the packet's source address or destination.
afi- dpo_proto_t protocol that describes the next-hop address
via_label- The next-hop is a resolved via a local label
next_hop[16]- the next hop address
next_hop_id- Used when the path resolves via an object that has a unique identifier. e.g. the UDP encap object

Definition at line 47 of file fib_types.api.

Field Documentation

◆ afi

u8 vl_api_fib_path_t::afi

Definition at line 63 of file fib_types.api.

◆ is_drop

u8 vl_api_fib_path_t::is_drop

Definition at line 54 of file fib_types.api.

◆ is_dvr

u8 vl_api_fib_path_t::is_dvr

Definition at line 60 of file fib_types.api.

◆ is_interface_rx

u8 vl_api_fib_path_t::is_interface_rx

Definition at line 62 of file fib_types.api.

◆ is_local

u8 vl_api_fib_path_t::is_local

Definition at line 53 of file fib_types.api.

◆ is_prohibit

u8 vl_api_fib_path_t::is_prohibit

Definition at line 57 of file fib_types.api.

◆ is_resolve_attached

u8 vl_api_fib_path_t::is_resolve_attached

Definition at line 59 of file fib_types.api.

◆ is_resolve_host

u8 vl_api_fib_path_t::is_resolve_host

Definition at line 58 of file fib_types.api.

◆ is_source_lookup

u8 vl_api_fib_path_t::is_source_lookup

Definition at line 61 of file fib_types.api.

◆ is_udp_encap

u8 vl_api_fib_path_t::is_udp_encap

Definition at line 55 of file fib_types.api.

◆ is_unreach

u8 vl_api_fib_path_t::is_unreach

Definition at line 56 of file fib_types.api.

◆ label_stack

vl_api_fib_mpls_label_t vl_api_fib_path_t::label_stack[16]

Definition at line 69 of file fib_types.api.

◆ n_labels

u8 vl_api_fib_path_t::n_labels

Definition at line 68 of file fib_types.api.

◆ next_hop

u8 vl_api_fib_path_t::next_hop[16]

Definition at line 64 of file fib_types.api.

◆ next_hop_id

u32 vl_api_fib_path_t::next_hop_id

Definition at line 65 of file fib_types.api.

◆ preference

u8 vl_api_fib_path_t::preference

Definition at line 52 of file fib_types.api.

◆ rpf_id

u32 vl_api_fib_path_t::rpf_id

Definition at line 66 of file fib_types.api.

◆ sw_if_index

u32 vl_api_fib_path_t::sw_if_index

Definition at line 49 of file fib_types.api.

◆ table_id

u32 vl_api_fib_path_t::table_id

Definition at line 50 of file fib_types.api.

◆ via_label

u32 vl_api_fib_path_t::via_label

Definition at line 67 of file fib_types.api.

◆ weight

u8 vl_api_fib_path_t::weight

Definition at line 51 of file fib_types.api.


The documentation for this struct was generated from the following file: