C# Class Tx.Network.IpPacketHeader

Data model class that describes the header of IP packets.
Afficher le fichier Open project: Reactive-Extensions/Tx

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Method Details

IpPacketHeader() public méthode

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.
Résultat System.Net

Property Details

DestinationIpAddress public_oe property

Destination IP Address.
public IPAddress,System.Net DestinationIpAddress
Résultat System.Net.IPAddress

DscpValue public_oe property

DSCP value to encode.
public byte DscpValue
Résultat byte

ExplicitCongestionNotice public_oe property

ECN value to encode.
public byte ExplicitCongestionNotice
Résultat byte

FragmentGroupId public_oe property

Fragement identifier, could be 0.
public ushort FragmentGroupId
Résultat ushort

FragmentOffset public_oe property

The fragment offset, could be 0.
public ushort FragmentOffset
Résultat ushort

InternetHeaderLength public_oe property

The internet header length
public byte InternetHeaderLength
Résultat byte

IpHeaderFlags public_oe property

The IP header flags.
public byte IpHeaderFlags
Résultat byte

IpPacketLength public_oe property

Length of the complete packet.
public ushort IpPacketLength
Résultat ushort

IsIp6 public_oe property

The is ip6
public bool IsIp6
Résultat bool

PacketHeaderChecksum public_oe property

The packet header checksum.
public ushort PacketHeaderChecksum
Résultat ushort

SourceIpAddress public_oe property

Source IP Address, not assumed to be on the local host.
public IPAddress,System.Net SourceIpAddress
Résultat System.Net.IPAddress

TimeToLive public_oe property

Internet TTL.
public byte TimeToLive
Résultat byte