Difference between revisions of "Unit Loopback"

From Ultibo.org
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
----
 
----
  
'''Ultibo Loopback Network adapter unit'''
+
'''Ultibo Loopback Network Adapter unit'''
 
+
''To be documented''
+
  
 
=== Constants ===
 
=== Constants ===
Line 54: Line 52:
 
----
 
----
  
''To be documented''
+
 
 +
'''Loopback specific classes'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| [[TLoopbackAdapter|<code>TLoopbackAdapter = class(TNetworkAdapter)</code>]]
 +
|-
 +
|}
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| [[TLoopbackAdapterTransport|<code>TLoopbackAdapterTransport = class(TAdapterTransport)</code>]]
 +
|-
 +
|}
 +
<br />
  
 
=== Public variables ===
 
=== Public variables ===
Line 73: Line 84:
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
|-
 
|-
! '''Note'''
+
! Note
 
| None documented
 
| None documented
 
|-
 
|-

Latest revision as of 05:27, 31 August 2021

Return to Unit Reference


Description


Ultibo Loopback Network Adapter unit

Constants



Loopback specific constants _LOOPBACK_*
MAX_LOOPBACK_BUFFERS = 256; Used for Recv Queues (Increased to Handle Higher Data Rate)
MIN_LOOPBACK_BUFFERS = 4; Used for Send Queues


Type definitions



Loopback buffer

PLoopbackBuffer = ^TLoopbackBuffer;

TLoopbackBuffer = packed record

Size:Word; Size of Data
Data:array[0..MAX_PHYSICAL_PACKET - 3] of Byte; MAX_PHYSICAL_PACKET - Word


Class definitions



Loopback specific classes

TLoopbackAdapter = class(TNetworkAdapter)
TLoopbackAdapterTransport = class(TAdapterTransport)


Public variables


None defined

Function declarations



Initialization functions

procedure LoopbackInit;
Description: To be documented
Note None documented


Return to Unit Reference