GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-2-0

Constituent: lcs_test     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LCS_integrity.c File Reference

Test general message integrity. More...

#include <stdio.h>
#include <string.h>
#include <time.h>
#include "PBS/PBS.h"
#include "PBS/FORK.h"
#include "PBS/FPA.h"
#include "ITC/ITC_drvdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvtest.h"

Include dependency graph for LCS_integrity.c:

Include dependency graph

Functions

FORK_cb_status exitIntegrity (FORK_cb_prm *prm, FORK_msg_hdr *msg)
 Exit routine for LCS protocol integrity test.

WUT_cb_status expireTimer (void *prm, WUT_tmr *wut)
 Timer callback routine to queue a message back to a fork.

FORK_cb_status forkIntegrity (FORK_cb_prm *prm, FORK_msg_hdr *msg)
 Main routine for LCS protocol integrity tests.

unsigned int LCS_integrity (ITC_NodeID dnid, ITC_TaskID dtid, ITC_QueueID dqid, ITC_ProtID pid, ITC_TaskID stid)
 Main routine for LCS protocol integrity tests.


Detailed Description

Test general message integrity.

CVS $Id: LCS_integrity.c,v 1.2 2005/04/15 21:45:45 apw Exp $
Author:
A.P.Waite

Function Documentation

FORK_cb_status exitIntegrity FORK_cb_prm *  prm,
FORK_msg_hdr *  msg
[static]
 

Exit routine for LCS protocol integrity test.

exitIntegrity() performs exit processing (post-analysis and resource freeing) for the integrity test.

Here is the call graph for this function:

WUT_cb_status expireTimer void *  prm,
WUT_tmr *  wut
[static]
 

Timer callback routine to queue a message back to a fork.

Parameters:
prm (in) User context parameter
wut (in) Timer handle
expireTimer() is the routine called at interrupt level by the timeout timer. It simply places the test command back on the meta-hi queue.

FORK_cb_status forkIntegrity FORK_cb_prm *  prm,
FORK_msg_hdr *  msg
[static]
 

Main routine for LCS protocol integrity tests.

forkIntegrity() tests general message integrity by scanning through a large variety of message lengths and message alignments.

Here is the call graph for this function:

static unsigned int LCS_integrity ITC_NodeID  dnid,
ITC_TaskID  dtid,
ITC_QueueID  dqid,
ITC_ProtID  pid,
ITC_TaskID  stid
 

Main routine for LCS protocol integrity tests.

Parameters:
dnid (in) Destination ITC node ID
dtid (in) Destination ITC task ID
dqid (in) Destination ITC queue ID
pid (in) Protocol ID
stid (in) Source ITC task ID
LCS_integrity() tests general message integrity by scanning through a large variety of message lengths and message alignments.

Here is the call graph for this function:


Generated on Fri Sep 9 03:56:18 2005 by doxygen 1.3.3