Difference between revisions of "Unit ICMP"

From Ultibo.org
Jump to: navigation, search
Line 59: Line 59:
  
 
=== Type definitions ===
 
=== Type definitions ===
 +
----
 +
 +
''To be documented''
 +
 +
=== Class definitions ===
 
----
 
----
  

Revision as of 06:05, 19 January 2017

Return to Unit Reference


Description


Ultibo ICMP (Internet Control Message Protocol) unit

To be documented

Constants



[Expand]
ICMP specific constants ICMP_PROTOCOL_*


[Expand]
ICMP constants ICMP_*


Type definitions


To be documented

Class definitions


To be documented

Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure ICMPInit;
Description: To be documented


ICMP functions

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


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


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


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


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


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


Return to Unit Reference