Difference between revisions of "Unit Loopback"
From Ultibo.org
								
												
				| Line 55: | Line 55: | ||
| − | '''Loopback   | + | '''Loopback specific classes'''  | 
| − | + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
| − | |   | + | | [[TLoopbackAdapter|<code>TLoopbackAdapter = class(TNetworkAdapter)</code>]]  | 
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | | <code>  | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
|}  | |}  | ||
| − | + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | {| class="wikitable" style="font-size: 14px;   | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
| − | | <code>  | + | | [[TLoopbackAdapterTransport|<code>TLoopbackAdapterTransport = class(TAdapterTransport)</code>]]  | 
| − | + | ||
|-  | |-  | ||
|}  | |}  | ||
| − | |||
<br />  | <br />  | ||
Revision as of 05:22, 22 May 2018
Return to Unit Reference
Contents
Description
Ultibo Loopback Network adapter unit
To be documented
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