GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-2-0
Constituent: lcs_test     Tag: sun-gcc
#include <stdio.h>
#include <string.h>
#include "PBS/FFS.ih"
#include "PBS/FPA.h"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "PBS/WUT.h"
#include "LCBD/LCB_cr.h"
#include "LCBD/LCBD_drv.h"
#include "LCBD/LCBC.h"
#include "IMM/FPM_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCS/LCS_drvdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"
#include "LCS_prvtest.h"
Include dependency graph for LCS_common.c:
Defines | |
#define | LCS_L_CMD (8) |
Number of command buffers. | |
#define | LCS_L_MSG (16) |
Number of message buffers. | |
Functions | |
FORK_cb_status | fragmentSet (FORK_cb_prm *prm, FORK_msg_hdr *msg) |
Force a fragmentation. | |
WUT_cb_status | fragmentTimer (void *prm, WUT_tmr *wut) |
Timer callback routine to queue a message back to a fork. | |
void * | LRX_allocTest (ITC_Queue *queue, unsigned int siz, ITC_cb_Completion **rtn, void **cb0, void **cb1, void **cb2) |
Allocation plug-in (normal operation ... not testing). | |
unsigned int | LCS_accumRcv (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
Raw packet processing. | |
void | LCS_dumpHex (const void *buf, int bef, int aft) |
Simple hex dump. | |
void | LCS_dumpRcv (ITC_TaskID tid, ITC_QueueID qid) |
Raw packet processing. | |
void | LCS_clearRcv (ITC_TaskID tid, ITC_QueueID qid) |
Raw packet processing. | |
void | LCS_freeBuffer (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx) |
Free allocated buffer. | |
void | LCS_freeCCSDS (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx) |
Free allocated buffer. | |
unsigned int | LCS_testAttach (ITC_TaskID tid) |
Attach LCS testability features to a task. | |
unsigned int | LCS_testInitialize () |
One time initialization of resources needed for LCS testing. | |
unsigned int | LCS_sendCCSDS (unsigned int tst, unsigned int apid, int fst, int lst, int pgs, int beg, int end, ITC_cb_Completion *rtn, FPA_fcb *fcb, unsigned char *buf, LCS_Cmd *cmd) |
Send a message (no memory allocation). | |
unsigned int | LCS_sendCPU (ITC_NodeID nid, ITC_TaskID tid, ITC_QueueID qid, ITC_ProtID pid, int pgs, int beg, int end) |
Send a message (automatic memory allocation). | |
unsigned int | LCS_sendMessage (unsigned int tst, ITC_NodeID nid, ITC_TaskID tid, ITC_QueueID qid, ITC_ProtID pid, int pgs, int beg, int end, ITC_cb_Completion *rtn, FPA_fcb *fcb, unsigned char *buf, LCS_Cmd *cmd) |
Send a message (no memory allocation). | |
unsigned int | LCS_sendSDI (unsigned int apid, int fst, int lst, int pgs, int beg, int end) |
Send a message (automatic memory allocation). | |
Variables | |
LCS_TestControl * | LCS_tcb |
Control block for LCS testing. | |
LCS_Cmd * | cmd |
A command used in the fragmentation test. | |
unsigned int | nomore |
Flag to discontinue the fragmenetation wake-up timer. |
CVS $Id: LCS_common.c,v 1.5 2005/09/08 03:54:13 apw Exp $
|
Force a fragmentation. fragmentSet() sets the LCB CSR register to introduce a fragment. |
Here is the call graph for this function:
|
Timer callback routine to queue a message back to a fork.
|
|
Raw packet processing.
|
Here is the call graph for this function:
|
Raw packet processing.
|
|
Simple hex dump.
|
|
Raw packet processing.
|
|
Free allocated buffer.
|
Here is the call graph for this function:
|
Free allocated buffer.
|
Here is the call graph for this function:
|
Send a message (no memory allocation).
|
Here is the call graph for this function:
|
Send a message (automatic memory allocation).
|
Here is the call graph for this function:
|
Send a message (no memory allocation).
|
Here is the call graph for this function:
|
Send a message (automatic memory allocation).
|
Here is the call graph for this function:
|
Attach LCS testability features to a task.
|
Here is the call graph for this function:
|
Allocation plug-in (normal operation ... not testing).
|