GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-1 > ebfio / linux-gcc
#include "EDS/io/EBF_pkt.ih"
#include "EDS/EBF_pkt.h"
Classes | |
struct | _EBF_pkts_ps |
The iterator control structure. More... | |
union | _EBF_pkts_u |
The iterator control structure. More... | |
Typedefs | |
typedef struct _EBF_pkts_ps | EBF_pkts_ps |
Typedef for struct _EBF_pkts_ps. | |
typedef unsigned long long int | EBF_pkts |
Opaque type for the packets vector. | |
typedef union _EBF_pkts_u | EBF_pkts_u |
Typedef for struct _EBF_pkts. | |
Functions | |
static __inline EBF_pkt * | EBF__pktsPkt (EBF_pkts pkts) |
Retrieves the next packet. | |
static __inline int | EBF__pktsSize (EBF_pkts pkts) |
Retrieves the length in bytes of the packets vector. | |
static __inline EBF_pkts | EBF__pktsNext (EBF_pkts pkts) |
Pushes the packet iterator to the next packet. | |
static __inline EBF_pkts | EBF__pktsAdvance (EBF_pkts pkts, int size) |
Advances the specified packet iterator forward by the specified number of bytes. | |
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.h,v 1.3 2007/02/14 01:01:53 russell Exp $
When all the packets are exhausted, the empty packets vector will be returned. The empty packets vector is defined as the vector with
unsigned long long int EBF_pkts |
Opaque type for the packets vector.
Advances the specified packet iterator forward by the specified number of bytes.
pkts | The current state of the packet iteractor | |
size | The size, in bytes, to advance the packet iterator |
Pushes the packet iterator to the next packet.
pkts | The current state of the packet interactor |
Retrieves the next packet.
pkts | The current state of the packet interator |
static __inline int EBF__pktsSize | ( | EBF_pkts | pkts | ) | [static] |
Retrieves the length in bytes of the packets vector.
pkts | The current state of the packet interactor |
int EBF_pktsCount | ( | EBF_pkts | pkts | ) |
Counts the number of packets.
pkts | Pointer to the vector of packets to count |
int EBF_pktsLimit | ( | EBF_pkts | pkts, | |
int | limit | |||
) |
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 |
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 |
Counts the number of packets.
pkts | Pointer to the target vector of packets | |
skip | The number of packets to skip |