Unit IGMP

From Ultibo.org
Jump to: navigation, search

Return to Unit Reference


Description


Ultibo IGMP (Internet Group Management Protocol) unit

Constants



[Expand]
IGMP protocol IGMP_PROTOCOL_*


[Expand]
IGMP specific constants IGMP_*


Type definitions



IGMP header

[Expand]

PIGMPHeader = ^TIGMPHeader;

TIGMPHeader = packed record

IGMP packet

[Expand]

PIGMPPacket = ^TIGMPPacket;

TIGMPPacket = record


Class definitions



IGMP specific classes

TIGMPProtocolTransport = class(TProtocolTransport)
TIGMPProtocol = class(TNetworkProtocol)
TIGMPGroup = class(TListObject)
TIGMPSocket = class(TProtocolSocket)
TIGMPBuffer = class(TSocketBuffer)


Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure IGMPInit;
Description: To be documented


IGMP functions

[Expand]
function CheckIGMP(AFamily:Word; ABuffer:Pointer):Boolean;
Description: Verify that the packet is a valid IGMP packet


[Expand]
function GetIGMPHeaderOffset(AFamily:Word; ABuffer:Pointer):Word;
Description: To be documented


[Expand]
function GetIGMPHeaderLength(AFamily:Word; ABuffer:Pointer):Word;
Description: To be documented


[Expand]
function GetIGMPDataOffset(AFamily:Word; ABuffer:Pointer):Word;
Description: To be documented


[Expand]
function GetIGMPDataLength(AFamily:Word; ABuffer:Pointer):Word;
Description: To be documented


[Expand]
function ChecksumIGMP(AFamily:Word; ABuffer:Pointer; AOffset,ALength:Word):Word;
Description: Checksum the IGMP Header on Send/Validate the Checksum on Receive


Return to Unit Reference