![]() |
FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
IPv4 main type. More...
Collaboration diagram for ip4_main_t:Data Fields | |
| ip_lookup_main_t | lookup_main |
| struct fib_table_t_ * | fibs |
| Vector of FIBs. More... | |
| struct ip4_fib_t_ * | v4_fibs |
| Vector of MTries. More... | |
| struct mfib_table_t_ * | mfibs |
| Vector of MFIBs. More... | |
| u32 | fib_masks [33] |
| u32 * | fib_index_by_sw_if_index |
| Table index indexed by software interface. More... | |
| u32 * | mfib_index_by_sw_if_index |
| Table index indexed by software interface. More... | |
| u8 * | ip_enabled_by_sw_if_index |
| uword * | fib_index_by_table_id |
| Hash table mapping table id to fib index. More... | |
| uword * | mfib_index_by_table_id |
| Hash table mapping table id to multicast fib index. More... | |
| ip4_add_del_interface_address_callback_t * | add_del_interface_address_callbacks |
| Functions to call when interface address changes. More... | |
| ip4_table_bind_callback_t * | table_bind_callbacks |
| Functions to call when interface to table biding changes. More... | |
| vlib_packet_template_t | ip4_arp_request_packet_template |
| Template used to generate IP4 ARP packets. More... | |
| u32 | flow_hash_seed |
| Seed for Jenkins hash used to compute ip4 flow hash. More... | |
| struct { | |
| u8 ttl | |
| TTL to use for host generated packets. More... | |
| u8 tos | |
| TOS byte to use for host generated packets. More... | |
| u8 pad [2] | |
| } | host_config |
| Template information for VPP generated packets. More... | |
| uword | mtrie_heap_size |
| Heapsize for the Mtries. More... | |
| void * | mtrie_mheap |
| The memory heap for the mtries. More... | |
IPv4 main type.
State of IPv4 VPP processing including:
| ip4_add_del_interface_address_callback_t* ip4_main_t::add_del_interface_address_callbacks |
| u32* ip4_main_t::fib_index_by_sw_if_index |
| uword* ip4_main_t::fib_index_by_table_id |
| struct fib_table_t_* ip4_main_t::fibs |
| u32 ip4_main_t::flow_hash_seed |
| struct { ... } ip4_main_t::host_config |
Template information for VPP generated packets.
| vlib_packet_template_t ip4_main_t::ip4_arp_request_packet_template |
| ip_lookup_main_t ip4_main_t::lookup_main |
| u32* ip4_main_t::mfib_index_by_sw_if_index |
| uword* ip4_main_t::mfib_index_by_table_id |
| struct mfib_table_t_* ip4_main_t::mfibs |
| ip4_table_bind_callback_t* ip4_main_t::table_bind_callbacks |
| u8 ip4_main_t::tos |
| struct ip4_fib_t_* ip4_main_t::v4_fibs |