GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-4-1

Constituent: lcs     Tag: sun-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

static 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 cel)
 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.6 2006/04/27 21:41:11 apw Exp $
Author:
A.P.Waite

Function Documentation

static 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.

unsigned int LTX_sendFirst LTX_Engine txe  ) 
 

LTX service task send first packet.

Parameters:
txe (in) Transmit engine
Return values:
x Assorted

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

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:
x Assorted

unsigned int LTX_submit LTX_Engine txe,
LCBD_cl_event *  cl,
unsigned int  cel
 

Construct an LTX packet (all kinds) and submit to the LCB.

Parameters:
txe (in) LTX transmit engine
cl (in) LCB command list
cel (in) Cell count (complete message)
Return values:
LCS_LCBBIND LCB bind failed
LCS_LCBSUBMT LCB submit failed
LCS_SUCCESS Success


Generated on Thu Apr 27 21:29:04 2006 by  doxygen 1.4.4