Difference between revisions of "Unit Loopback"

From Ultibo.org
Jump to: navigation, search
Line 31: Line 31:
 
----
 
----
  
''To be documented''
+
 
 +
'''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 ===
 
=== Class definitions ===

Revision as of 05:05, 20 January 2017

Return to Unit Reference


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


To be documented

Public variables


None defined

Function declarations



Initialization functions

procedure LoopbackInit;
Description: To be documented
Note None documented


Return to Unit Reference