C# Class Icmpv6EchoRequest, Hermod

Inheritance: AProtocolHeader
Mostrar archivo Open project: Vanaheimr/Hermod Class Usage Examples

Public Properties

Property Type Description
Icmpv6EchoRequestLength int

Public Methods

Method Description
Create ( byte echoData, int &bytesCopied ) : Icmpv6EchoRequest,

This routine creates an instance of the Icmpv6EchoRequest 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 method builds the byte array representation of the ICMPv6 echo request header as it would appear on the wire.

Icmpv6EchoRequest ( ) : System

Simple constructor for the ICMPv6 echo request header

Method Details

Create() public static method

This routine creates an instance of the Icmpv6EchoRequest 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.
public static Create ( byte echoData, int &bytesCopied ) : Icmpv6EchoRequest,
echoData byte Byte array containing the binary ICMPv6 echo request header
bytesCopied int Number of bytes used in header
return Icmpv6EchoRequest,

GetProtocolPacketBytes() public method

This method builds the byte array representation of the ICMPv6 echo request header as it would appear on the wire.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte Payload to appear after the ICMPv6 echo request header
return byte[]

Icmpv6EchoRequest() public method

Simple constructor for the ICMPv6 echo request header
public Icmpv6EchoRequest ( ) : System
return System

Property Details

Icmpv6EchoRequestLength public_oe static_oe property

public static int Icmpv6EchoRequestLength
return int