FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ip_lookup_main_t Struct Reference
+ Collaboration diagram for ip_lookup_main_t:

Data Fields

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...
 
ip_interface_prefix_tif_prefix_pool
 Pool of prefixes containing addresses assigned to interfaces. More...
 
mhash_t prefix_to_if_prefix_index
 Hash table mapping prefix to index in interface prefix pool. 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
 
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...
 
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 121 of file lookup.h.

Field Documentation

◆ address_to_if_address_index

mhash_t ip_lookup_main_t::address_to_if_address_index

Hash table mapping address to index in interface address pool.

Definition at line 127 of file lookup.h.

◆ builtin_protocol_by_ip_protocol

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 161 of file lookup.h.

◆ classify_table_index_by_sw_if_index

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 140 of file lookup.h.

◆ fib_result_n_bytes

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 149 of file lookup.h.

◆ fib_result_n_words

u32 ip_lookup_main_t::fib_result_n_words

Definition at line 149 of file lookup.h.

◆ format_address_and_length

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 155 of file lookup.h.

◆ if_address_pool

ip_interface_address_t* ip_lookup_main_t::if_address_pool

Pool of addresses that are assigned to interfaces.

Definition at line 124 of file lookup.h.

◆ if_address_pool_index_by_sw_if_index

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 131 of file lookup.h.

◆ if_prefix_pool

ip_interface_prefix_t* ip_lookup_main_t::if_prefix_pool

Pool of prefixes containing addresses assigned to interfaces.

Definition at line 134 of file lookup.h.

◆ is_ip6

u32 ip_lookup_main_t::is_ip6

1 for ip6; 0 for ip4.

Definition at line 152 of file lookup.h.

◆ local_next_by_ip_protocol

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 158 of file lookup.h.

◆ mcast_feature_arc_index

u8 ip_lookup_main_t::mcast_feature_arc_index

Feature arc indices.

Definition at line 143 of file lookup.h.

◆ output_feature_arc_index

u8 ip_lookup_main_t::output_feature_arc_index

Definition at line 145 of file lookup.h.

◆ prefix_to_if_prefix_index

mhash_t ip_lookup_main_t::prefix_to_if_prefix_index

Hash table mapping prefix to index in interface prefix pool.

Definition at line 137 of file lookup.h.

◆ ucast_feature_arc_index

u8 ip_lookup_main_t::ucast_feature_arc_index

Definition at line 144 of file lookup.h.


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