GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-1 > edsd / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

EDSD_siv.c File Reference

EDS siv demo and test routines, implementation. More...

#include "EDS/EDS_fw.h"
#include "EDS/EDSD_siv.h"
#include "EDS/EBF_siv.h"
#include "EDS/EBF_evt.h"
#include "EDS/EBF_pkt.h"
#include "EDS/EBF_edw.h"
#include <stdio.h>

Classes

struct  _EDSD_sivCtl
 The control structure for the SIV demo/test. More...

Typedefs

typedef struct
_EDSD_sivCtl 
EDSD_sivCtl
 Typedef for struct _EDSD_sivCtl.

Functions

int EDSD_sivSizeof (void)
 Size, in bytes, of EDSD siv control block.
int EDSD_sivConstruct (EDSD_sivCtl *ctl)
 Initialization routine.
unsigned int EDSD_sivProcess (EDSD_sivCtl *ctl, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwEvt *evt)
 Loops through the packets, testing the packet reassembly code.
int EDSD_sivReport (const EDSD_sivCtl *ctl)
 Reporting routine.
int EDSD_sivDestruct (EDSD_sivCtl *ctl)
 Destruction routine.


Detailed Description

EDS siv demo and test routines, implementation.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: EDSD_siv.c,v 1.3 2005/10/13 22:01:00 russell Exp $

Function Documentation

int EDSD_sivConstruct ( EDSD_sivCtl ctl  ) 

Initialization routine.

Returns:
0, for success
Parameters:
ctl The SIV control block

int EDSD_sivDestruct ( EDSD_sivCtl ctl  ) 

Destruction routine.

Returns:
0, for success
Parameters:
ctl The SIV control block

unsigned int EDSD_sivProcess ( EDSD_sivCtl ctl,
unsigned int  pktBytes,
EBF_pkt *  pkt,
EBF_siv  siv,
EDS_fwEvt *  evt 
)

Loops through the packets, testing the packet reassembly code.

Parameters:
ctl Control structure for the siv demo
pktBytes The number of bytes in packet
pkt Pointer to the packet
siv The state information vector
evt The unpacked event, may be NULL

int EDSD_sivReport ( const EDSD_sivCtl ctl  ) 

Reporting routine.

Returns:
0, for success
Parameters:
ctl The SIV control block

int EDSD_sivSizeof ( void   ) 

Size, in bytes, of EDSD siv control block.

Returns:
0, for success


Generated on Fri Feb 26 09:17:00 2010 by  doxygen 1.5.3