Difference between revisions of "Unit Loopback"
From Ultibo.org
(Created page with "Return to Unit Reference === Description === ---- ''To be documented'' === Constants === ---- ''To be documented'' === Type definitions === ---- ''To...") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
---- | ---- | ||
− | '' | + | '''Ultibo Loopback Network Adapter unit''' |
=== Constants === | === Constants === | ||
---- | ---- | ||
− | '' | + | |
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Loopback specific constants''' <code> _LOOPBACK_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>MAX_LOOPBACK_BUFFERS = 256;</code> | ||
+ | | Used for Recv Queues (Increased to Handle Higher Data Rate) | ||
+ | |- | ||
+ | | <code>MIN_LOOPBACK_BUFFERS = 4;</code> | ||
+ | | Used for Send Queues | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Type definitions === | === Type definitions === | ||
---- | ---- | ||
− | '' | + | |
+ | '''Loopback buffer''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>PLoopbackBuffer = ^TLoopbackBuffer;</code> | ||
+ | |||
+ | <code>TLoopbackBuffer = packed record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>Size:Word;</code> | ||
+ | | Size of Data | ||
+ | |- | ||
+ | | <code>Data:array[0..MAX_PHYSICAL_PACKET - 3] of Byte;</code> | ||
+ | | MAX_PHYSICAL_PACKET - Word | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | |||
+ | === Class definitions === | ||
+ | ---- | ||
+ | |||
+ | |||
+ | '''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 === | ||
---- | ---- | ||
− | '' | + | ''None defined'' |
=== Function declarations === | === Function declarations === | ||
---- | ---- | ||
− | |||
+ | '''Initialization functions''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure LoopbackInit;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! Note | ||
+ | | None documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
Return to [[Unit_Reference|Unit Reference]] | Return to [[Unit_Reference|Unit Reference]] |
Latest revision as of 05:27, 31 August 2021
Return to Unit Reference
Contents
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