FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
ip4_main_t Struct Reference

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...
 
u32 fib_masks [33]
 
u32fib_index_by_sw_if_index
 Table index indexed by software interface. More...
 
u8ip_enabled_by_sw_if_index
 
uwordfib_index_by_table_id
 Hash table mapping table id to fib index. More...
 
ip4_add_del_interface_address_callback_tadd_del_interface_address_callbacks
 Functions to call when interface address 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...
 

Detailed Description

IPv4 main type.

State of IPv4 VPP processing including:

  • FIBs
  • Feature indices used in feature topological sort
  • Feature node run time references

Definition at line 95 of file ip4.h.

Field Documentation

ip4_add_del_interface_address_callback_t* ip4_main_t::add_del_interface_address_callbacks

Functions to call when interface address changes.

Definition at line 116 of file ip4.h.

u32* ip4_main_t::fib_index_by_sw_if_index

Table index indexed by software interface.

Definition at line 105 of file ip4.h.

uword* ip4_main_t::fib_index_by_table_id

Hash table mapping table id to fib index.

ID space is not necessarily dense; index space is dense.

Definition at line 112 of file ip4.h.

u32 ip4_main_t::fib_masks[33]

Definition at line 102 of file ip4.h.

struct fib_table_t_* ip4_main_t::fibs

Vector of FIBs.

Definition at line 100 of file ip4.h.

u32 ip4_main_t::flow_hash_seed

Seed for Jenkins hash used to compute ip4 flow hash.

Definition at line 122 of file ip4.h.

struct { ... } ip4_main_t::host_config

Template information for VPP generated packets.

vlib_packet_template_t ip4_main_t::ip4_arp_request_packet_template

Template used to generate IP4 ARP packets.

Definition at line 119 of file ip4.h.

u8* ip4_main_t::ip_enabled_by_sw_if_index

Definition at line 108 of file ip4.h.

ip_lookup_main_t ip4_main_t::lookup_main

Definition at line 97 of file ip4.h.

u8 ip4_main_t::pad[2]

Definition at line 133 of file ip4.h.

u8 ip4_main_t::tos

TOS byte to use for host generated packets.

Definition at line 131 of file ip4.h.

u8 ip4_main_t::ttl

TTL to use for host generated packets.

Definition at line 128 of file ip4.h.


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