GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QMEM / V0-0-0
Constituent: qmem_dump_packets     Tag: sun-gcc
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
Include dependency graph for QMEM.h:
This graph shows which files directly or indirectly include this file:
Typedefs | |
typedef enum _QMEM_Status | QMEM_Status |
Typedef for _QMEM_Status. | |
typedef enum _QMEM_Lat_Unit | QMEM_Lat_Unit |
Typedef for _QMEM_Lat_Unit. | |
typedef enum _QMEM_Datagram_Id | QMEM_Datagram_Id |
Typedef for _QMEM_Datagram_Id. | |
typedef _QMEM_Context | QMEM_Context |
Typedef for opaque parsing context. | |
Enumerations | |
enum | _QMEM_Status { QMEM_STATUS_OK = 0, QMEM_STATUS_BAD_CTX = -1, QMEM_STATUS_SHORT = -2, QMEM_STATUS_TRUNCATED = -3, QMEM_STATUS_BAD_DIR = -4, QMEM_STATUS_BAD_TYPE = -5, QMEM_STATUS_BAD_VER = -6, QMEM_STATUS_BAD_HDR = -7, QMEM_STATUS_INCOMPLETE = -8, QMEM_STATUS_NULL_PTR = -9, QMEM_STATUS_BAD_CTB_LEN = -10, QMEM_STATUS_NOT_NEXT = -11 } |
QMEM function status codes. More... | |
enum | _QMEM_Lat_Unit { QMEM_LAT_UNIT_UNKNOWN = -1, QMEM_LAT_UNIT_SIU = 0, QMEM_LAT_UNIT_EPU_0 = 1, QMEM_LAT_UNIT_EPU_1 = 2, QMEM_LAT_UNIT_EPU_2 = 3 } |
Identifiers of the LAT units that can produce MEM datagrams. More... | |
enum | _QMEM_Datagram_Id { QMEM_DGM_ID_DUMP = LSF_ID_K_MEM } |
Identifiers of the MEM datagrams. More... | |
Functions | |
unsigned int | QMEM_sizeof_context (void) |
Return the size of a parsing context. | |
unsigned int | QMEM_sizeof_max_dump_data (void) |
Return the maximum amount of dump data within a datagram. | |
unsigned int | QMEM_sizeof_max_datagram (void) |
Return the maximum size of a memory dump datagram. | |
QMEM_Status | QMEM_init_context (QMEM_Context *context_p, unsigned char *data_buf_p, unsigned int data_buf_bytes) |
Initialize a parsing context. | |
QMEM_Status | QMEM_start_parsing (QMEM_Context *context_p, const LSF_datagram *dgm_p, unsigned int dgm_bytes, int dgm_swapped) |
Start parsing a datagram. | |
QMEM_Status | QMEM_parse_contribution (QMEM_Context *context_p, const LSF_contribution *ctb_p, unsigned int dgm_bytes, int dgm_swapped) |
Parse a contribution within a datagram. | |
QMEM_Status | QMEM_parse_datagram (QMEM_Context *context_p, const LSF_datagram *dgm_p, unsigned int dgm_bytes, int dgm_swapped) |
Parse an entire memory dump datagram. | |
QMEM_Status | QMEM_status (QMEM_Context *context_p) |
Return the status of the parsing of the current datagram. | |
QMEM_Lat_Unit | QMEM_lat_unit (QMEM_Context *context_p) |
Return the LAT unit that sent a memory dump. | |
unsigned int | QMEM_tran_id (QMEM_Context *context_p) |
Return the transaction ID value from the telecommand that requested a memory dump. | |
unsigned int | QMEM_cmd_fcode (QMEM_Context *context_p) |
Return the function code of the telecommand that requested a memory dump. | |
unsigned int | QMEM_start_addr (QMEM_Context *context_p) |
Return the starting address of a memory dump. | |
unsigned int | QMEM_num_datagrams (QMEM_Context *context_p) |
Return the number of datagrams parsed for the memory dump. | |
unsigned int | QMEM_bytes_dumped (QMEM_Context *context_p) |
Return the number of bytes dumped. | |
unsigned int | QMEM_bytes_available (QMEM_Context *context_p) |
Return the number of dumped bytes that were saved. | |
unsigned char * | QMEM_data_buf (QMEM_Context *context_p) |
Return a pointer to a buffer containing saved dump data. |
** CVS $Id: QMEM.h,v 1.1.1.1 2005/12/13 21:46:08 dmay Exp $ **
Defines the public interface to the functions that interpret the memory dump telemetry sent to the SSR.
|
Identifiers of the MEM datagrams.
|
|
Identifiers of the LAT units that can produce MEM datagrams.
|
|
|
Return the number of dumped bytes that were saved.
|
|
Return the number of bytes dumped.
|
|
Return the function code of the telecommand that requested a memory dump.
|
|
Return a pointer to a buffer containing saved dump data.
|
|
Initialize a parsing context.
|
|
Return the LAT unit that sent a memory dump.
|
|
Return the number of datagrams parsed for the memory dump.
|
|
Parse a contribution within a datagram.
|
|
Parse an entire memory dump datagram.
|
|
Return the size of a parsing context.
|
|
Return the maximum size of a memory dump datagram.
|
|
Return the maximum amount of dump data within a datagram.
|
|
Return the starting address of a memory dump.
|
|
Start parsing a datagram.
|
|
Return the status of the parsing of the current datagram.
|
|
Return the transaction ID value from the telecommand that requested a memory dump.
|