70
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
P
P
a
a
y
y
l
l
o
o
a
a
d
d
B
B
u
u
f
f
f
f
e
e
r
r
M
M
o
o
d
d
e
e
The Payload Buffer Modes (PBMs) can be used to implement dynamic payload for either
MAC or UDP- frame for this transmit frame, by using the separate buffer queue. The
separate buffer queue will only be used, if the Buffer Queue Header Pointer is
appropriate initialized ( not zero ) and the Payload Generation is disabled. The Buffer
Queue itself implements a queue with one or multiple payload buffers, which each
provides it's individual payload for the transmit frame. Due to the Buffer Queue function
capabilities, different payload buffers can be used for the transmission of the frame. If a
Payload Buffer Mode different from
FDX_TX_FRAME_PBM_STD
is used, the data for
the frame must be provided in a separate Buffer, allocated via the
FdxCmdTxBufferQueueAlloc
function, dependent on the Payload Buffer Mode.
Value:
Description:
FDX_TX_FRAME_PBM_STD
Complete frame data is taken from the entry
ul_BufferQueueHandle
must be set to NULL
FDX_TX_FRAME_PBM_MAC
Note: This mode cannot be selected if a
Payload Generation Mode different
from FDX_TX_FRAME_PGM_USER
has been selected for this frame.
MAC- Payload is provided in the separate Buffer Queue.
That means, the BIU- Processor fetches the Frame Header
Words and the first 16 bytes of the frame data out from this
entry and switches then to the separate buffer queue. Thus,
the complete MAC- Header and the two static bytes of the
IP- Header are used from this entry and the rest of the
frame payload is used from the separate buffer queue.
ul_BufferQueueHandle
must contain a valid Buffer Queue
handle, previously allocated via the function
FdxCmdTxBufferQueueAlloc
.
FDX_TX_FRAME_PBM_UDP
Note: This mode cannot be selected if a
Payload Generation Mode different
from FDX_TX_FRAME_PGM_USER
has been selected for this frame.
UDP- Payload is provided in the separate Buffer Queue.
That means, the BIU- Processor fetches the Frame Header
Words and the first 40 bytes of the frame data out from this
entry and switches then to the separate buffer queue. Thus,
the complete MAC- Header, the IP- Header and 6 bytes of
the UDP- Header are used from this entry and the
remainder of the frame payload is used from the separate
buffer queue. That means, the 2 bytes of the UDP-
Checksum (always zero) and the UDP- payload resides in
the separate buffer.
ul_BufferQueueHandle
must contain a valid Buffer Queue
handle, previously allocated via the function
FdxCmdTxBufferQueueAlloc
.
FDX_TX_FRAME_PBM_FULL
Note: This mode cannot be selected if a
Payload Generation Mode different
from FDX_TX_FRAME_PGM_USER
has been selected for this frame.
The full MAC-Frame is provided in the separate Buffer
Queue. That means, the BIU- Processor fetches the Frame
Header Words out from this entry and switches then to the
separate buffer queue.
ul_BufferQueueHandle
must contain a valid Buffer Queue
handle, previously allocated via the function
FdxCmdTxBufferQueueAlloc
.