Property | Type | Description | |
---|---|---|---|
DestinationIpAddress | |||
DscpValue | byte | ||
ExplicitCongestionNotice | byte | ||
FragmentGroupId | ushort | ||
FragmentOffset | ushort | ||
InternetHeaderLength | byte | ||
IpHeaderFlags | byte | ||
IpPacketLength | ushort | ||
IsIp6 | bool | ||
PacketHeaderChecksum | ushort | ||
SourceIpAddress | |||
TimeToLive | byte |
Method | Description | |
---|---|---|
IpPacketHeader ( |
Initializes a new instance of the IpPacketHeader class.
|
public IpPacketHeader ( |
||
sourceIpAddress | Source IP Address, not assumed to be on the local host.. | |
destinationIpAddress | Destination IP Address. | |
isIp6 | bool | if set to |
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. |
return | System.Net |
public IPAddress,System.Net DestinationIpAddress | ||
return |
public IPAddress,System.Net SourceIpAddress | ||
return |