FD.io VPP  v18.10-34-gcce845e
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...
 
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 120 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 126 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 154 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 133 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 142 of file lookup.h.

u32 ip_lookup_main_t::fib_result_n_words

Definition at line 142 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 148 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 123 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 130 of file lookup.h.

u32 ip_lookup_main_t::is_ip6

1 for ip6; 0 for ip4.

Definition at line 145 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 151 of file lookup.h.

u8 ip_lookup_main_t::mcast_feature_arc_index

Feature arc indices.

Definition at line 136 of file lookup.h.

u8 ip_lookup_main_t::output_feature_arc_index

Definition at line 138 of file lookup.h.

u8 ip_lookup_main_t::ucast_feature_arc_index

Definition at line 137 of file lookup.h.


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