C# 클래스 Tx.Network.IpPacketHeader

Data model class that describes the header of IP packets.
파일 보기 프로젝트 열기: Reactive-Extensions/Tx

공개 프로퍼티들

프로퍼티 타입 설명
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