FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
fib_table_t_ Struct Reference

A protocol Independent FIB table. More...

+ Collaboration diagram for fib_table_t_:

Data Fields

union {
   ip4_fib_t   v4
 
   ip6_fib_t   v6
 
   mpls_fib_t   mpls
 
}; 
 A union of the protocol specific FIBs that provide the underlying LPM mechanism. More...
 
fib_protocol_t ft_proto
 Which protocol this table serves. More...
 
u16 ft_locks
 number of locks on the table More...
 
u32 ft_table_id
 Table ID (hash key) for this FIB. More...
 
fib_node_index_t ft_index
 Index into FIB vector. More...
 
u32 ft_flow_hash_config
 flow hash configuration More...
 
u32 ft_src_route_counts [FIB_SOURCE_MAX]
 Per-source route counters. More...
 
u32 ft_total_route_counts
 Total route counters. More...
 
u8ft_desc
 Table description. More...
 

Detailed Description

A protocol Independent FIB table.

Definition at line 29 of file fib_table.h.

Field Documentation

union { ... }

A union of the protocol specific FIBs that provide the underlying LPM mechanism.

This element is first in the struct so that it is in the first cache line.

u8* fib_table_t_::ft_desc

Table description.

Definition at line 81 of file fib_table.h.

u32 fib_table_t_::ft_flow_hash_config

flow hash configuration

Definition at line 66 of file fib_table.h.

fib_node_index_t fib_table_t_::ft_index

Index into FIB vector.

Definition at line 61 of file fib_table.h.

u16 fib_table_t_::ft_locks

number of locks on the table

Definition at line 51 of file fib_table.h.

fib_protocol_t fib_table_t_::ft_proto

Which protocol this table serves.

Used to switch on the union above.

Definition at line 46 of file fib_table.h.

u32 fib_table_t_::ft_src_route_counts[FIB_SOURCE_MAX]

Per-source route counters.

Definition at line 71 of file fib_table.h.

u32 fib_table_t_::ft_table_id

Table ID (hash key) for this FIB.

Definition at line 56 of file fib_table.h.

u32 fib_table_t_::ft_total_route_counts

Total route counters.

Definition at line 76 of file fib_table.h.

mpls_fib_t fib_table_t_::mpls

Definition at line 40 of file fib_table.h.

ip4_fib_t fib_table_t_::v4

Definition at line 38 of file fib_table.h.

ip6_fib_t fib_table_t_::v6

Definition at line 39 of file fib_table.h.


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