eBPF for Windows
Data Fields
_IPV4_HEADER Struct Reference

#include <ip.h>

Data Fields

union {
   uint8_t   VersionAndHeaderLength
 
   struct {
      uint8_t   HeaderLength: 4
 
      uint8_t   Version: 4
 
   } 
 
   struct {
      uint8_t   ihl: 4
 
      uint8_t   version: 4
 
   } 
 
}; 
 
union {
   uint8_t   tos
 
   uint8_t   TypeOfServiceAndEcnField
 
   struct {
      uint8_t   EcnField: 2
 
      uint8_t   TypeOfService: 6
 
   } 
 
}; 
 
union {
   uint16_t   tot_len
 
   uint16_t   TotalLength
 
}; 
 
union {
   uint16_t   id
 
   uint16_t   Identification
 
}; 
 
union {
   uint16_t   frag_off
 
   uint16_t   FlagsAndOffset
 
   struct {
      uint16_t   DontUse1: 5
 
      uint16_t   MoreFragments: 1
 
      uint16_t   DontFragment: 1
 
      uint16_t   Reserved: 1
 
      uint16_t   DontUse2: 8
 
   } 
 
}; 
 
union {
   uint8_t   ttl
 
   uint8_t   TimeToLive
 
}; 
 
union {
   uint8_t   protocol
 
   uint8_t   Protocol
 
}; 
 
union {
   uint16_t   check
 
   uint16_t   HeaderChecksum
 
}; 
 
union {
   uint32_t   saddr
 
   uint32_t   SourceAddress
 
}; 
 
union {
   uint32_t   daddr
 
   uint32_t   DestinationAddress
 
}; 
 

Field Documentation

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ 

union { ... }

◆ check

uint16_t _IPV4_HEADER::check

◆ daddr

uint32_t _IPV4_HEADER::daddr

◆ DestinationAddress

uint32_t _IPV4_HEADER::DestinationAddress

◆ DontFragment

uint16_t _IPV4_HEADER::DontFragment

◆ DontUse1

uint16_t _IPV4_HEADER::DontUse1

◆ DontUse2

uint16_t _IPV4_HEADER::DontUse2

◆ EcnField

uint8_t _IPV4_HEADER::EcnField

◆ FlagsAndOffset

uint16_t _IPV4_HEADER::FlagsAndOffset

◆ frag_off

uint16_t _IPV4_HEADER::frag_off

◆ HeaderChecksum

uint16_t _IPV4_HEADER::HeaderChecksum

◆ HeaderLength

uint8_t _IPV4_HEADER::HeaderLength

◆ id

uint16_t _IPV4_HEADER::id

◆ Identification

uint16_t _IPV4_HEADER::Identification

◆ ihl

uint8_t _IPV4_HEADER::ihl

◆ MoreFragments

uint16_t _IPV4_HEADER::MoreFragments

◆ protocol

uint8_t _IPV4_HEADER::protocol

◆ Protocol

uint8_t _IPV4_HEADER::Protocol

◆ Reserved

uint16_t _IPV4_HEADER::Reserved

◆ saddr

uint32_t _IPV4_HEADER::saddr

◆ SourceAddress

uint32_t _IPV4_HEADER::SourceAddress

◆ TimeToLive

uint8_t _IPV4_HEADER::TimeToLive

◆ tos

uint8_t _IPV4_HEADER::tos

◆ tot_len

uint16_t _IPV4_HEADER::tot_len

◆ TotalLength

uint16_t _IPV4_HEADER::TotalLength

◆ ttl

uint8_t _IPV4_HEADER::ttl

◆ TypeOfService

uint8_t _IPV4_HEADER::TypeOfService

◆ TypeOfServiceAndEcnField

uint8_t _IPV4_HEADER::TypeOfServiceAndEcnField

◆ Version

uint8_t _IPV4_HEADER::Version

◆ version

uint8_t _IPV4_HEADER::version

◆ VersionAndHeaderLength

uint8_t _IPV4_HEADER::VersionAndHeaderLength

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