GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
LCS / V1-2-1
Constituent: lcs     Tag: linux-gcc
Interface Data Structures File List Data Fields Globals
LTX_service.c File Reference
LTX processing routines shared by all protocols.
More...
#include <string.h>
#include "PBS/FORK.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "ITC/ITC_msgs.h"
#include "LCBD/LCBC.h"
#include "LCBD/LCBD_drv.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"
Include dependency graph for LTX_service.c:
|
Functions |
FORK_cb_status | LTX_resultList (FORK_cb_prm *prm, FORK_msg_hdr *msg) |
| Process a result list posted back by the LCB.
|
unsigned int | LTX_sendFirst (LTX_Engine *txe) |
| LTX service task send first packet.
|
FORK_cb_status | LTX_sendNext (LTX_Engine *txe, unsigned int status) |
| Field the result item resulting from an event message send.
|
unsigned int | LTX_service (void *prm, const ITC_QueueItem *qitem, void *qipay, unsigned int qilen) |
| LTX service task queue item callback routine.
|
unsigned int | LTX_submit (LTX_Engine *txe, LCBD_cl_event *cl, unsigned int siz) |
| Construct an LTX packet (all kinds) and submit to the LCB.
|
Detailed Description
LTX processing routines shared by all protocols.
CVS $Id: LTX_service.c,v 1.5 2005/09/21 01:28:12 apw Exp $
- Author:
- A.P.Waite
Function Documentation
FORK_cb_status LTX_resultList |
( |
FORK_cb_prm * |
prm, |
|
|
FORK_msg_hdr * |
msg |
|
) |
[static] |
|
|
Process a result list posted back by the LCB.
- Parameters:
-
prm | (in) User context parameter |
msg | (in) Fork message |
- Return values:
-
FORK_C_CONTINUE | Continue fork |
~FORK_C_CONTINUE | Shut down fork |
LTX_resultList() processes LCB result lists posted back to LTX. Processing involves synchronizing multiple messages if so requested (only allocation requests and last packet sends currently request synchronization) then executing the next processing step defined in the synchronization mechanism. |
Here is the call graph for this function:
|
LTX service task send first packet.
- Parameters:
-
- Return values:
-
|
Here is the call graph for this function:
FORK_cb_status LTX_sendNext |
( |
LTX_Engine * |
txe, |
|
|
unsigned int |
status |
|
) |
|
|
|
Field the result item resulting from an event message send.
- Parameters:
-
txe | (in) Transmit engine |
status | (in) Status from previous packet |
- Return values:
-
FORK_C_CONTINUE | Continue fork |
~FORK_C_CONTINUE | Shut down fork |
|
Here is the call graph for this function:
unsigned int LTX_service |
( |
void * |
prm, |
|
|
const ITC_QueueItem * |
qitem, |
|
|
void * |
qipay, |
|
|
unsigned int |
qilen |
|
) |
|
|
|
LTX service task queue item callback routine.
- Parameters:
-
prm | (in) User context parameter |
qitem | (in) Queue item |
qipay | (in) Queue item payload pointer |
qilen | (in) Queue item payload length |
- Return values:
-
|
Here is the call graph for this function:
unsigned int LTX_submit |
( |
LTX_Engine * |
txe, |
|
|
LCBD_cl_event * |
cl, |
|
|
unsigned int |
siz |
|
) |
|
|
|
Construct an LTX packet (all kinds) and submit to the LCB.
- Parameters:
-
txe | (in) LTX transmit engine |
cl | (in) LCB command list |
siz | (in) Size of buffer to send (note 1) |
- Note:
- This is an uncorrected byte count (no "cell rounding") for the packet payload. This routine will deal with adding any necessary header words, cell rounding, and converting to the eight-byte count required by the command list description.
- Return values:
-
LCS_LCBBIND | LCB bind failed |
LCS_LCBSUBMT | LCB submit failed |
LCS_SUCCESS | Success |
|
Here is the call graph for this function:
Generated on Tue Sep 20 21:31:49 2005 by
1.3.3