C# Class IgmpHeader, Hermod

Inheritance: AProtocolHeader
Afficher le fichier Open project: Vanaheimr/Hermod Class Usage Examples

Méthodes publiques

Свойство Type Description
AllSystemsAddress System.IPv4Address
IgmpHeaderLength int
IgmpLeaveGroup byte
IgmpMembershipQuery byte
IgmpMembershipReport byte
IgmpMembershipReportV2 byte

Méthodes publiques

Méthode Description
Create ( byte igmpPacket, int &bytesCopied ) : IgmpHeader,

This routine creates an instance of the IgmpHeader 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 creates the byte array representation of the IGMP packet as it would look on the wire.

IgmpHeader ( ) : System

Simple constructor for the IGMP header that initializes the member fields.

Method Details

Create() public static méthode

This routine creates an instance of the IgmpHeader 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 igmpPacket, int &bytesCopied ) : IgmpHeader,
igmpPacket byte Byte array containing the binary IGMP header
bytesCopied int Number of bytes used in header
Résultat IgmpHeader,

GetProtocolPacketBytes() public méthode

This routine creates the byte array representation of the IGMP packet as it would look on the wire.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte Payload to copy after the IGMP header
Résultat byte[]

IgmpHeader() public méthode

Simple constructor for the IGMP header that initializes the member fields.
public IgmpHeader ( ) : System
Résultat System

Property Details

AllSystemsAddress public_oe static_oe property

public static IPv4Address,System AllSystemsAddress
Résultat System.IPv4Address

IgmpHeaderLength public_oe static_oe property

public static int IgmpHeaderLength
Résultat int

IgmpLeaveGroup public_oe static_oe property

public static byte IgmpLeaveGroup
Résultat byte

IgmpMembershipQuery public_oe static_oe property

public static byte IgmpMembershipQuery
Résultat byte

IgmpMembershipReport public_oe static_oe property

public static byte IgmpMembershipReport
Résultat byte

IgmpMembershipReportV2 public_oe static_oe property

public static byte IgmpMembershipReportV2
Résultat byte