GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSD / V0-4-4
Constituent: qsd_print     Tag: linux-gcc
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _CCSDS_apidDscNode |
APID Descriptor node. More... | |
struct | _CCSDS_apidHandlers |
The list handlers for the APID. More... | |
struct | _CCSDS_apidDsc |
Description of a packet for a specified APID. More... | |
Typedefs | |
typedef _CCSDS_header | CCSDS_header |
Typedef for struct _CCSDS_header. | |
typedef _CCSDS_apidDscTbl | CCSDS_apidDscTbl |
typedef _CCSDS_apidDscNode | CCSDS_apidDscNode |
Typedef for _CCSDS_apidDscNode. | |
typedef _CCSDS_apidHandlers | CCSDS_apidHandlers |
Typedef for struct _CCSDS_apidHandlers. | |
typedef _CCSDS_apidDsc | CCSDS_apidDsc |
Typedef for struct _CCSDS_apidDsc. | |
typedef _CCSDS_telemetry | CCSDS_telemetry |
typedef enum _CCSDS_APIDDSC_BRIDGE_K | CCSDS_APIDDSC_BRIDGE_K |
Typedef for enum _CCSDS_APIDDSC_BRIDGE_K. | |
typedef enum _CCSDS_APIDDSC_K | CCSDS_APIDDSC_K |
Typedef for enum _CCSDS_APIDDSC_K. | |
typedef int(* | CCSDS_packetChecker )(void *ctx, void *stream, const CCSDS_telemetry *pkt, CCSDS_apidDsc *dsc) |
This routine is callback immediately after a CCSDS packet has been read. | |
typedef int(* | CCSDS_payloadProcessor )(void *ctx, const void *payload, int nbytes) |
User callback routine to process the fully assembled payload of a sequence of CCSDS packets. | |
typedef enum _CCSDS_APIDDSC_POPTS_V | CCSDS_APIDDSC_POPTS_V |
Typedef for enum _CCSDS_APIDDSC_POPTS_V. | |
typedef enum _CCSDS_APIDDSC_POPTS_M | CCSDS_APIDDSC_POPTS_M |
Typedef for enum _CCSDS_APIDDSC_POPTS_M. | |
Enumerations | |
enum | _CCSDS_APIDDSC_BRIDGE_K { CCSDS_APIDDSC_BRIDGE_K_PAYLOAD = 0, CCSDS_APIDDSC_BRIDGE_K_HEADER = 1, CCSDS_APIDDSC_BRIDGE_K_RSVD_2 = 2, CCSDS_APIDDSC_BRIDGE_K_PAD = 3 } |
Enumerates how the odd 16-bit word, hereafter called the bridge word, that follows the normal 7 x 16-bit CCSDS header is to be treated. More... | |
enum | _CCSDS_APIDDSC_K { CCSDS_APIDDSC_K_SEQ_RESET = 0xffff } |
Encapsulates known constants of the Apid Descriptor. More... | |
enum | _CCSDS_APIDDSC_POPTS_V { CCSDS_APIDDSC_POPTS_V_CHECKER = 0, CCSDS_APIDDSC_POPTS_V_PROCESSOR = 1, CCSDS_APIDDSC_POPTS_V_SWAP = 2 } |
Processing options, right shifts. More... | |
enum | _CCSDS_APIDDSC_POPTS_M { CCSDS_APIDDSC_POPTS_M_CHECKER = (1 << CCSDS_APIDDSC_POPTS_V_CHECKER), CCSDS_APIDDSC_POPTS_M_PROCESSOR = (1 << CCSDS_APIDDSC_POPTS_V_PROCESSOR), CCSDS_APIDDSC_POPTS_M_SWAP = (1 << CCSDS_APIDDSC_POPTS_V_SWAP) } |
Processing options, inplace masks. More... | |
Functions | |
int | CCSDS_apidDscRegister (CCSDS_apidDscTbl *tbl, CCSDS_apidDsc *dsc, void *ctx, unsigned short int apid, CCSDS_APIDDSC_BRIDGE_K bridge, unsigned char *buf, unsigned int buf_size) |
void | CCSDS_apidDscConstruct (CCSDS_apidDsc *dsc, void *ctx, unsigned short int apid, CCSDS_APIDDSC_BRIDGE_K bridge, unsigned char *buf, unsigned int buf_size) |
void | CCSDS_apidDscReset (CCSDS_apidDsc *dsc) |
CCSDS_apidDsc * | CCSDS_apidDscFind (CCSDS_apidDscTbl *tbl, const CCSDS_header *hdr) |
int | CCSDS_apidDscSwap32 (CCSDS_apidDsc *dsc) |
int | CCSDS_apidDscSwap16 (CCSDS_apidDsc *dsc) |
static __inline const void * | CCSDS_apidDscPktBeg (const CCSDS_apidDsc *dsc) |
Returns a pointer to the beginning of the current LDF datagram. | |
static __inline const void * | CCSDS_apidDscPktEnd (const CCSDS_apidDsc *dsc) |
Returns a pointer to the end (actually one bytes past the end) of the current LDF datagram. | |
static __inline int | CCSDS_apidDscPktLen (const CCSDS_apidDsc *dsc) |
Returns the length, in bytes, of the current LDF record. | |
static __inline void | CCSDS_apidDscSeqReset (CCSDS_apidDsc *dsc) |
Resets the sequence number to indicate that the next packet encountered is the first. Since the sequence number of the first packet to be processed is unknown, this effectively disables the sequence checking. | |
static __inline void | CCSDS_apidDscSeqSet (CCSDS_apidDsc *dsc, unsigned short int seq) |
Sets the sequence number to the indicated value. This routine is only of interested when trying to resynch to a stream. | |
static __inline void | CCSDS_apidDscPacketCheckerSet (CCSDS_apidDsc *dsc, int enb, CCSDS_packetChecker rtn, void *ctx) |
Establishes the packet checking routine. This routine is called to verify the integrity of a just read CCSDS packet. | |
static __inline void | CCSDS_apidDscPayloadProcessorSet (CCSDS_apidDsc *dsc, int enb, CCSDS_payloadProcessor rtn, void *ctx) |
Establishes the payload processing routine. This routine is called when the payload of all CCSDS packets have been assembled. Enabling the SWAP option will 32-bit swap the payload before handing it to the user. | |
static __inline void | CCSDS_apidDscPoptsEnable (CCSDS_apidDsc *dsc, unsigned int popt) |
Enables the specified set of processing options,. | |
static __inline void | CCSDS_apidDscPoptsDisable (CCSDS_apidDsc *dsc, unsigned int popt) |
Disables the specified set of processing options,. | |
static __inline void | CCSDS_apidDscPoptsSet (CCSDS_apidDsc *dsc, unsigned int popts) |
Sets the specified set of processing options,. | |
static __inline unsigned int | CCSDS_apidDscPopts (CCSDS_apidDsc *dsc) |
Returns the set of currently enabled processing options. | |
static __inline void | CCSDS_apidDscPoptsSwapEnable (CCSDS_apidDsc *dsc) |
Convenience function to enabled the swapping processing option. | |
static __inline void | CCSDS_apidDscPoptsSwapDisable (CCSDS_apidDsc *dsc) |
Convenience function to disabled the swapping processing option. |
CVS $Id: CCSDS_apidDsc.h,v 1.5 2009/03/28 16:10:35 russell Exp $
|
Typedef for enum _CCSDS_APIDDSC_BRIDGE_K.
|
|
This routine is callback immediately after a CCSDS packet has been read.
|
|
User callback routine to process the fully assembled payload of a sequence of CCSDS packets.
|
|
|
Encapsulates known constants of the Apid Descriptor.
|
|
Processing options, inplace masks.
|
|
Processing options, right shifts.
|
|
Establishes the packet checking routine. This routine is called to verify the integrity of a just read CCSDS packet.
|
|
Establishes the payload processing routine. This routine is called when the payload of all CCSDS packets have been assembled. Enabling the SWAP option will 32-bit swap the payload before handing it to the user.
|
|
Returns a pointer to the beginning of the current LDF datagram.
|
|
Returns a pointer to the end (actually one bytes past the end) of the current LDF datagram.
|
|
Returns the length, in bytes, of the current LDF record.
|
|
Returns the set of currently enabled processing options.
|
|
Disables the specified set of processing options,.
|
|
Enables the specified set of processing options,.
|
|
Sets the specified set of processing options,.
|
|
Convenience function to disabled the swapping processing option.
|
|
Convenience function to enabled the swapping processing option.
|
|
Resets the sequence number to indicate that the next packet encountered is the first. Since the sequence number of the first packet to be processed is unknown, this effectively disables the sequence checking.
|
|
Sets the sequence number to the indicated value. This routine is only of interested when trying to resynch to a stream.
|