FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
ip_lookup_main_t Struct Reference
+ Collaboration diagram for ip_lookup_main_t:

Data Fields

ip_adjacency_tadjacency_heap
 
vlib_combined_counter_main_t load_balance_counters
 load-balance packet/byte counters indexed by LB index. More...
 
ip_interface_address_tif_address_pool
 Pool of addresses that are assigned to interfaces. More...
 
mhash_t address_to_if_address_index
 Hash table mapping address to index in interface address pool. More...
 
u32if_address_pool_index_by_sw_if_index
 Head of doubly linked list of interface addresses for each software interface. More...
 
u32classify_table_index_by_sw_if_index
 First table index to use for this interface, ~0 => none. More...
 
u8 mcast_feature_arc_index
 Feature arc indices. More...
 
u8 ucast_feature_arc_index
 
u8 output_feature_arc_index
 
u32 fib_result_n_bytes
 Number of bytes in a fib result. More...
 
u32 fib_result_n_words
 
format_function_tformat_fib_result
 
u32 is_ip6
 1 for ip6; 0 for ip4. More...
 
format_function_tformat_address_and_length
 Either format_ip4_address_and_length or format_ip6_address_and_length. More...
 
format_function_t ** special_adjacency_format_functions
 Special adjacency format functions. More...
 
u8 local_next_by_ip_protocol [256]
 Table mapping ip protocol to ip[46]-local node next index. More...
 
u8 builtin_protocol_by_ip_protocol [256]
 IP_BUILTIN_PROTOCOL_{TCP,UDP,ICMP,OTHER} by protocol in IP header. More...
 

Detailed Description

Definition at line 328 of file lookup.h.

Field Documentation

mhash_t ip_lookup_main_t::address_to_if_address_index

Hash table mapping address to index in interface address pool.

Definition at line 340 of file lookup.h.

ip_adjacency_t* ip_lookup_main_t::adjacency_heap

Definition at line 331 of file lookup.h.

u8 ip_lookup_main_t::builtin_protocol_by_ip_protocol[256]

IP_BUILTIN_PROTOCOL_{TCP,UDP,ICMP,OTHER} by protocol in IP header.

Definition at line 373 of file lookup.h.

u32* ip_lookup_main_t::classify_table_index_by_sw_if_index

First table index to use for this interface, ~0 => none.

Definition at line 347 of file lookup.h.

u32 ip_lookup_main_t::fib_result_n_bytes

Number of bytes in a fib result.

Must be at least sizeof (uword). First word is always adjacency index.

Definition at line 356 of file lookup.h.

u32 ip_lookup_main_t::fib_result_n_words

Definition at line 356 of file lookup.h.

format_function_t* ip_lookup_main_t::format_address_and_length

Either format_ip4_address_and_length or format_ip6_address_and_length.

Definition at line 364 of file lookup.h.

format_function_t* ip_lookup_main_t::format_fib_result

Definition at line 358 of file lookup.h.

ip_interface_address_t* ip_lookup_main_t::if_address_pool

Pool of addresses that are assigned to interfaces.

Definition at line 337 of file lookup.h.

u32* ip_lookup_main_t::if_address_pool_index_by_sw_if_index

Head of doubly linked list of interface addresses for each software interface.

~0 means this interface has no address.

Definition at line 344 of file lookup.h.

u32 ip_lookup_main_t::is_ip6

1 for ip6; 0 for ip4.

Definition at line 361 of file lookup.h.

vlib_combined_counter_main_t ip_lookup_main_t::load_balance_counters

load-balance packet/byte counters indexed by LB index.

Definition at line 334 of file lookup.h.

u8 ip_lookup_main_t::local_next_by_ip_protocol[256]

Table mapping ip protocol to ip[46]-local node next index.

Definition at line 370 of file lookup.h.

u8 ip_lookup_main_t::mcast_feature_arc_index

Feature arc indices.

Definition at line 350 of file lookup.h.

u8 ip_lookup_main_t::output_feature_arc_index

Definition at line 352 of file lookup.h.

format_function_t** ip_lookup_main_t::special_adjacency_format_functions

Special adjacency format functions.

Definition at line 367 of file lookup.h.

u8 ip_lookup_main_t::ucast_feature_arc_index

Definition at line 351 of file lookup.h.


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