GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-2-1
Constituent: lcs     Tag: linux-gcc
#include <string.h>
#include "PBS/FFS.ih"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCBD/LATP.h"
#include "LCBD/LCBC.h"
#include "LCBD/LCBD_drv.h"
#include "LCBD/LCBD_evt.h"
#include "LCS/LCS_drvdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"
Include dependency graph for LRX_service.c:
Defines | |
#define | LRX_K_CL_PAY ( LCS_K_CL_HDR + sizeof( LCS_ProtocolCPU ) ) |
Offset in command list to message payload. | |
#define | LRX_K_CL_SIZE ( ( LRX_K_CL_PAY + 0x07 ) >> 3 ) |
Size of a single cell command list. | |
Functions | |
unsigned int | LRX_allocQueueItem (LRX_Engine *rxe, LCS_ProtocolCPU *hdr) |
Allocate an ITC queue item in which to assemble a message. | |
unsigned int | LRX_copyContribution (unsigned int dsc, LRX_Engine *rxe, LCS_ProtocolCPU *hdr, unsigned int truncated, unsigned int incomplete, unsigned int sdx) |
Copy the incoming fragment to the output buffering. | |
unsigned int | LRX_process (LRX_Service *lrx, unsigned int dsc, LCBD_evt *evt, unsigned int category, unsigned int fragment, unsigned int truncated, unsigned int sdx) |
Service LCB protocol 3 messages. | |
void | LRX_replyDispatch (LCS_ProtocolCPU *hdr) |
Forward a reply packet to the task/transmission engine. | |
void | LRX_replySend (LRX_Engine *rxe, LCS_ProtocolCPU *hdr, unsigned int status) |
Reply to requester (either memory allocation or last packet). | |
unsigned int | LRX_replySent (void *prm, LCBD_xcb *xcb) |
LCB result item processor for a LCS reply packet. | |
void | LRX_reset (LRX_Service *lrx, LRX_Engine *rxe) |
Copy the incoming fragment to the output buffering. | |
unsigned int | LRX_service2 (void *prm, unsigned int dsc, LCBD_evt *evt) |
Service LCB protocol 2 messages. | |
unsigned int | LRX_service3 (void *prm, unsigned int dsc, LCBD_evt *evt) |
Service LCB protocol 2 messages. | |
void * | LRX_allocNormal (ITC_Queue *queue, unsigned int siz, ITC_cb_Completion **rtn, void **cb0, void **cb1, void **cb2) |
Allocation plug-in (normal operation ... not testing). | |
Variables | |
const char | s_packet [] = "packet" |
The string "packet". | |
const char | s_fragment [] = "fragment" |
The string "fragment". | |
const char | s_alloc [] = "allocation request" |
The string "allocation request". | |
const int | sequencing_prt [5] = { 2, 2, 3, 3, 3 } |
Map from packet sequence type to protocol. | |
const char * | sequencing_txt [5] |
Map from packet sequence type to text string. |
CVS $Id: LRX_service.c,v 1.7 2005/09/21 01:28:12 apw Exp $
|
Allocation plug-in (normal operation ... not testing).
This routine is constructed as a plug-in so that the LCS test suite can substitute in a more elaborate allocator complete with buffer pre-painting and other such test-only gizmos. |
|
Allocate an ITC queue item in which to assemble a message.
|
|
Copy the incoming fragment to the output buffering.
|
|
Service LCB protocol 3 messages.
|
Here is the call graph for this function:
|
Forward a reply packet to the task/transmission engine.
|
Here is the call graph for this function:
|
Reply to requester (either memory allocation or last packet).
|
Here is the call graph for this function:
|
LCB result item processor for a LCS reply packet.
|
|
Copy the incoming fragment to the output buffering.
|
|
Service LCB protocol 2 messages.
|
Here is the call graph for this function:
|
Service LCB protocol 2 messages.
|
Here is the call graph for this function:
|
Initial value: { s_packet, s_fragment, s_packet, s_fragment, s_alloc }
|