C# Класс Tx.Network.IpPacketHeader

Data model class that describes the header of IP packets.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DestinationIpAddress System.Net.IPAddress
DscpValue byte
ExplicitCongestionNotice byte
FragmentGroupId ushort
FragmentOffset ushort
InternetHeaderLength byte
IpHeaderFlags byte
IpPacketLength ushort
IsIp6 bool
PacketHeaderChecksum ushort
SourceIpAddress System.Net.IPAddress
TimeToLive byte

Открытые методы

Метод Описание
IpPacketHeader ( IPAddress sourceIpAddress, IPAddress destinationIpAddress, bool isIp6, byte internetHeaderLength, byte dscpValue, byte explicitCongestionNotice, ushort ipPacketLength, ushort fragmentGroupId, byte ipHeaderFlags, ushort fragmentOffset, byte timeToLive, ushort packetHeaderChecksum ) : System.Net

Initializes a new instance of the IpPacketHeader class.

Описание методов

IpPacketHeader() публичный Метод

Initializes a new instance of the IpPacketHeader class.
public IpPacketHeader ( IPAddress sourceIpAddress, IPAddress destinationIpAddress, bool isIp6, byte internetHeaderLength, byte dscpValue, byte explicitCongestionNotice, ushort ipPacketLength, ushort fragmentGroupId, byte ipHeaderFlags, ushort fragmentOffset, byte timeToLive, ushort packetHeaderChecksum ) : System.Net
sourceIpAddress System.Net.IPAddress Source IP Address, not assumed to be on the local host..
destinationIpAddress System.Net.IPAddress Destination IP Address.
isIp6 bool if set to true IP version is 6 otherwise 4.
internetHeaderLength byte Length of the internet header.
dscpValue byte DSCP value to encode.
explicitCongestionNotice byte ECN value to encode.
ipPacketLength ushort Length of the complete packet.
fragmentGroupId ushort Fragement identifier, could be 0..
ipHeaderFlags byte The IP header flags.
fragmentOffset ushort The fragment offset, could be 0.
timeToLive byte Internet TTL.
packetHeaderChecksum ushort The packet header checksum.
Результат System.Net

Описание свойств

DestinationIpAddress публичное свойство

Destination IP Address.
public IPAddress,System.Net DestinationIpAddress
Результат System.Net.IPAddress

DscpValue публичное свойство

DSCP value to encode.
public byte DscpValue
Результат byte

ExplicitCongestionNotice публичное свойство

ECN value to encode.
public byte ExplicitCongestionNotice
Результат byte

FragmentGroupId публичное свойство

Fragement identifier, could be 0.
public ushort FragmentGroupId
Результат ushort

FragmentOffset публичное свойство

The fragment offset, could be 0.
public ushort FragmentOffset
Результат ushort

InternetHeaderLength публичное свойство

The internet header length
public byte InternetHeaderLength
Результат byte

IpHeaderFlags публичное свойство

The IP header flags.
public byte IpHeaderFlags
Результат byte

IpPacketLength публичное свойство

Length of the complete packet.
public ushort IpPacketLength
Результат ushort

IsIp6 публичное свойство

The is ip6
public bool IsIp6
Результат bool

PacketHeaderChecksum публичное свойство

The packet header checksum.
public ushort PacketHeaderChecksum
Результат ushort

SourceIpAddress публичное свойство

Source IP Address, not assumed to be on the local host.
public IPAddress,System.Net SourceIpAddress
Результат System.Net.IPAddress

TimeToLive публичное свойство

Internet TTL.
public byte TimeToLive
Результат byte