FD.io VPP  v19.01.3-6-g70449b9b9
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 132 of file ip4_packet.h.

Member Function Documentation

◆ CLIB_PACKED() [1/2]

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

◆ CLIB_PACKED() [2/2]

ip4_header_t::CLIB_PACKED ( struct { u32 checksum_data_32[5];}  )

Field Documentation

◆ @208

struct { ... }

◆ address_pair

ip4_address_pair_t ip4_header_t::address_pair

Definition at line 172 of file ip4_packet.h.

◆ checksum

u16 ip4_header_t::checksum

Definition at line 163 of file ip4_packet.h.

◆ dst_address

ip4_address_t ip4_header_t::dst_address

Definition at line 170 of file ip4_packet.h.

◆ flags_and_fragment_offset

u16 ip4_header_t::flags_and_fragment_offset

Definition at line 151 of file ip4_packet.h.

◆ fragment_id

u16 ip4_header_t::fragment_id

Definition at line 147 of file ip4_packet.h.

◆ ip_version_and_header_length

u8 ip4_header_t::ip_version_and_header_length

Definition at line 138 of file ip4_packet.h.

◆ length

u16 ip4_header_t::length

Definition at line 144 of file ip4_packet.h.

◆ protocol

u8 ip4_header_t::protocol

Definition at line 160 of file ip4_packet.h.

◆ src_address

ip4_address_t ip4_header_t::src_address

Definition at line 170 of file ip4_packet.h.

◆ tos

u8 ip4_header_t::tos

Definition at line 141 of file ip4_packet.h.

◆ ttl

u8 ip4_header_t::ttl

Definition at line 157 of file ip4_packet.h.


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