Property | Type | Description | |
---|---|---|---|
Icmpv6EchoReplyCode | byte | ||
Icmpv6EchoReplyType | byte | ||
Icmpv6EchoRequestCode | byte | ||
Icmpv6EchoRequestType | byte | ||
Icmpv6HeaderLength | int | ||
ipv6Header | Ipv6Header, |
Method | Description | |
---|---|---|
Create ( byte icmpv6Packet, int &bytesCopied ) : Icmpv6Header, |
This routine creates an instance of the Icmpv6Header class from a byte array that is a received IGMP packet. This is useful when a packet is received from the network and the header object needs to be constructed from those values.
|
|
GetProtocolPacketBytes ( byte payLoad ) : byte[] |
This routine builds the ICMPv6 packet and payload into a byte array. It also computes the IPv6 pseudo header checksum that appears in the ICMPv6 packet.
|
|
Icmpv6Header ( ) : System |
Simple constructor for the ICMPv6 protocol header.
|
|
Icmpv6Header ( Ipv6Header, packetHeader ) : System |
Constructor for the ICMPv6 header which also takes a reference to the encompassing IPv6 header. This is necessary since the IPv6 protocol defines a pseudo header checksum which requires the checksum to be calculated over fields in the ICMPv6 header and payload as well as fields from the IPv6 packet.
|
public static Create ( byte icmpv6Packet, int &bytesCopied ) : Icmpv6Header, | ||
icmpv6Packet | byte | Byte array containing the binary ICMPv6 header |
bytesCopied | int | Number of bytes used in header |
return | Icmpv6Header, |
public GetProtocolPacketBytes ( byte payLoad ) : byte[] | ||
payLoad | byte | A byte array representing the ICMPv6 payload |
return | byte[] |
public Icmpv6Header ( Ipv6Header, packetHeader ) : System | ||
packetHeader | Ipv6Header, | Reference to the Ipv6Header object encompassing the ICMPv6 packet |
return | System |
public static byte Icmpv6EchoRequestCode | ||
return | byte |
public static byte Icmpv6EchoRequestType | ||
return | byte |