DtvKit_ATSC3.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
sIpHeader_t Struct Reference

#include <atsc_core_common.h>

Public Attributes

uint8_t cVersion
 
uint8_t cProtocol
 
int32_t iHeaderLength
 
int32_t iTotalLength
 
int32_t iCheckSum
 
int32_t iId
 
int32_t iFragment
 
int32_t iEndFlag
 
int32_t iFragOffset
 
uint64_t lSrc
 
uint64_t lDest
 

Detailed Description

struct Header formation for IP packets

Member Data Documentation

◆ cProtocol

uint8_t sIpHeader_t::cProtocol

Represents the protocol field of the IP header, indicating the protocol used in the payload of the IP packet

◆ cVersion

uint8_t sIpHeader_t::cVersion

To parse the IP version as IPv4 or not

◆ iCheckSum

int32_t sIpHeader_t::iCheckSum

The checksum field of the IP header(11&12th bytes)

◆ iEndFlag

int32_t sIpHeader_t::iEndFlag

Indicates whether this fragment is the last fragment in the packet

◆ iFragment

int32_t sIpHeader_t::iFragment

Represents a flag indicating whether the packet is a fragment

◆ iFragOffset

int32_t sIpHeader_t::iFragOffset

Represents the fragment offset field of the IP header

◆ iHeaderLength

int32_t sIpHeader_t::iHeaderLength

Length of the IP header in bytes

◆ iId

int32_t sIpHeader_t::iId

Identification field of the IP header

◆ iTotalLength

int32_t sIpHeader_t::iTotalLength

Total length of the IP packet

◆ lDest

uint64_t sIpHeader_t::lDest

Represents the destination IP address of the packet.

◆ lSrc

uint64_t sIpHeader_t::lSrc

Represents the source IP address of the packet


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