Unit ICMPv6

From Ultibo.org
Jump to: navigation, search

Return to Unit Reference


Description


Ultibo ICMPv6 (Internet Control Message Protocol Version 6) unit

Constants



[Expand]
ICMPv6 protocol ICMP6_PROTOCOL_*


[Expand]
ICMPv6 specific constants ICMP6_*


Type definitions



ICMPv6 header

[Expand]

PICMP6Header = ^TICMP6Header;

TICMP6Header = packed record

ICMPv6 packet

[Expand]

PICMP6Packet = ^TICMP6Packet;

TICMP6Packet = record


Class definitions



ICMPv6 specific classes

TICMP6ProtocolTransport = class(TProtocolTransport)
TICMP6Protocol = class(TNetworkProtocol)
TICMP6Socket = class(TProtocolSocket)
TICMP6Buffer = class(TSocketBuffer)


Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure ICMP6Init;
Description: To be documented


ICMPv6 functions

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


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


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


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


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


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


Return to Unit Reference