Difference between revisions of "Unit ICMP"

From Ultibo.org
Jump to: navigation, search
Line 66: Line 66:
 
----
 
----
  
''To be documented''
+
''None defined''
  
 
=== Function declarations ===
 
=== Function declarations ===

Revision as of 02:33, 30 December 2016

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

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