Turnstone Operating System
Loading...
Searching...
No Matches
network_ipv4_header_t Struct Reference

Public Attributes

uint32_t header_length: 4
 
uint32_t version: 4
 
uint32_t ecn: 2
 
uint32_t dscp: 6
 
uint32_t total_length: 16
 
uint32_t identification: 16
 
union {
   struct flags_fragment_offset_fields_t {
      uint16_t   fragment_offset: 13
 
      uint16_t   flags: 3
 
   }   fields
 
   uint16_t   bits
 
flags_fragment_offset
 
uint32_t ttl: 8
 
network_ipv4_protocol_t protocol: 8
 
uint32_t header_checksum: 16
 
network_ipv4_address_t source_ip
 
network_ipv4_address_t destination_ip
 

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