wavelength 1.0.0
Loading...
Searching...
No Matches
IpHeader Struct Reference

An IPv4 header. More...

#include <icmppacket.h>

Public Attributes

unsigned char mVersionAndLength
unsigned char mTypeOfService
unsigned short mTotalLength
unsigned short mIdentification
unsigned short mFragment
unsigned char mTimeToLive
unsigned char mProtocol
unsigned short mChecksum
unsigned int mSource
unsigned int mDestination

Detailed Description

An IPv4 header.

Multibyte fields are in network byte order on the wire.

Member Data Documentation

◆ mVersionAndLength

unsigned char IpHeader::mVersionAndLength

Version and header length.

◆ mTypeOfService

unsigned char IpHeader::mTypeOfService

Type of service.

◆ mTotalLength

unsigned short IpHeader::mTotalLength

Total length.

◆ mIdentification

unsigned short IpHeader::mIdentification

Identification.

◆ mFragment

unsigned short IpHeader::mFragment

Flags and fragment offset.

◆ mTimeToLive

unsigned char IpHeader::mTimeToLive

Time to live.

◆ mProtocol

unsigned char IpHeader::mProtocol

Protocol number.

◆ mChecksum

unsigned short IpHeader::mChecksum

Header checksum.

◆ mSource

unsigned int IpHeader::mSource

Source address.

◆ mDestination

unsigned int IpHeader::mDestination

Destination address.


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