Agora  1.2.0
Agora project
ipv4_hdr_t Struct Reference

#include <eth_common.h>

Public Member Functions

std::string to_string () const
 

Public Attributes

uint8_t ihl: 4
 
uint8_t version: 4
 
uint8_t ecn: 2
 
uint8_t dscp: 6
 
uint16_t tot_len
 
uint16_t id
 
uint16_t frag_off
 
uint8_t ttl
 
uint8_t protocol
 
uint16_t check
 
uint32_t src_ip
 
uint32_t dst_ip
 

Member Function Documentation

◆ to_string()

std::string ipv4_hdr_t::to_string ( ) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ check

uint16_t ipv4_hdr_t::check

◆ dscp

uint8_t ipv4_hdr_t::dscp

◆ dst_ip

uint32_t ipv4_hdr_t::dst_ip

◆ ecn

uint8_t ipv4_hdr_t::ecn

◆ frag_off

uint16_t ipv4_hdr_t::frag_off

◆ id

uint16_t ipv4_hdr_t::id

◆ ihl

uint8_t ipv4_hdr_t::ihl

◆ protocol

uint8_t ipv4_hdr_t::protocol

◆ src_ip

uint32_t ipv4_hdr_t::src_ip

◆ tot_len

uint16_t ipv4_hdr_t::tot_len

◆ ttl

uint8_t ipv4_hdr_t::ttl

◆ version

uint8_t ipv4_hdr_t::version

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