FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
ip4_header_t Union Reference
+ Collaboration diagram for ip4_header_t:

Public Member Functions

 CLIB_PACKED (struct{u64 checksum_data_64[2];u32 checksum_data_64_32[1];})
 
 CLIB_PACKED (struct{u32 checksum_data_32[5];})
 

Data Fields

struct {
   u8   ip_version_and_header_length
 
   u8   tos
 
   u16   length
 
   u16   fragment_id
 
   u16   flags_and_fragment_offset
 
   u8   ttl
 
   u8   protocol
 
   u16   checksum
 
   union {
      struct {
         ip4_address_t   src_address
 
         ip4_address_t   dst_address
 
      } 
 
      ip4_address_pair_t   address_pair
 
   } 
 
}; 
 

Detailed Description

Definition at line 126 of file ip4_packet.h.

Member Function Documentation

ip4_header_t::CLIB_PACKED ( struct{u64 checksum_data_64[2];u32 checksum_data_64_32[1];}  )
ip4_header_t::CLIB_PACKED ( struct{u32 checksum_data_32[5];}  )

Field Documentation

struct { ... }
ip4_address_pair_t ip4_header_t::address_pair

Definition at line 166 of file ip4_packet.h.

u16 ip4_header_t::checksum

Definition at line 157 of file ip4_packet.h.

ip4_address_t ip4_header_t::dst_address

Definition at line 164 of file ip4_packet.h.

u16 ip4_header_t::flags_and_fragment_offset

Definition at line 145 of file ip4_packet.h.

u16 ip4_header_t::fragment_id

Definition at line 141 of file ip4_packet.h.

u8 ip4_header_t::ip_version_and_header_length

Definition at line 132 of file ip4_packet.h.

u16 ip4_header_t::length

Definition at line 138 of file ip4_packet.h.

u8 ip4_header_t::protocol

Definition at line 154 of file ip4_packet.h.

ip4_address_t ip4_header_t::src_address

Definition at line 164 of file ip4_packet.h.

u8 ip4_header_t::tos

Definition at line 135 of file ip4_packet.h.

u8 ip4_header_t::ttl

Definition at line 151 of file ip4_packet.h.


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