GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > ebfio / rad750
#include <EDS/io/EBF_pkts.h>
Functions | |
int | EBF_pktsCount (EBF_pkts pkts) |
Counts the number of packets. | |
EBF_pkts | EBF_pktsLimit (EBF_pkts pkts, int limit) |
Limits the packets to the specified number of packets. | |
EBF_pkts | EBF_pktsSkip (EBF_pkts pkts, int skip) |
Counts the number of packets. | |
EBF_pkts | EBF_pktsSetup (EBF_pkts pkts, int skip, int limit) |
Skips the specified number of packets and then limits the packets vector. |
CVS $Id: EBF_pkts.c,v 1.4 2011/08/04 19:46:12 russell Exp $
int EBF_pktsCount | ( | EBF_pkts | pkts | ) |
Counts the number of packets.
pkts | Pointer to the vector of packets to count |
References EBF__pktsNext(), _EBF_pkts_u::p, _EBF_pkts_u::ps, and _EBF_pkts_ps::size.
Limits the packets to the specified number of packets.
pkts | Pointer to the vector of packets to limit | |
limit | The number of packets to limit the vector of packets to |
References EBF__pktsNext(), _EBF_pkts_u::p, _EBF_pkts_u::ps, and _EBF_pkts_ps::size.
Referenced by EBF_pktsSetup().
Skips the specified number of packets and then limits the packets vector.
pkts | Pointer to the target vector of packets | |
skip | The number of packets to skip | |
limit | The maximum number of packets, if -1, no limiting is done |
References EBF_pktsLimit(), and EBF_pktsSkip().
Referenced by EBF_streamProcess().
Counts the number of packets.
pkts | Pointer to the target vector of packets | |
skip | The number of packets to skip |
References EBF__pktsNext(), _EBF_pkts_u::p, _EBF_pkts_u::ps, and _EBF_pkts_ps::size.
Referenced by EBF_pktsSetup().