GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-8-0
Constituent: mem_scp     Tag: linux-gcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "MEM/QMEM.h"
Include dependency graph for QMEM_dump.c:
Data Structures | |
struct | _Qmem_Field |
Description of a datagram field. More... | |
Typedefs | |
typedef _Qmem_Field | Qmem_Field |
Typedef for _Qmem_Field. | |
Functions | |
static void | qmem_dump_boilerplate (char *dgm_name) |
Display some boilerplate header information. | |
static void | qmem_dump_header (char *desc) |
Display some header information. | |
static void | qmem_interp_ctb_type (unsigned int value) |
Interpret a contribution type field value. | |
static void | qmem_interp_dec (unsigned int value) |
Interpret a field value as a decimal number. | |
static void | qmem_interp_dgm_type (unsigned int value) |
Interpret a datagram type field value. | |
static void | qmem_interp_dir (unsigned int value) |
Interpret a dir field value. | |
static void | qmem_interp_extra (unsigned int value) |
Interpret an extra field value. | |
static void | qmem_interp_lat_unit (unsigned int value) |
Interpret a lat_unit field value. | |
static void | qmem_interp_length (unsigned int value) |
Interpret a length field value. | |
static void | qmem_interp_spare (unsigned int value) |
Interpret a spare field value. | |
static void | qmem_interp_u32 (unsigned int value) |
Interpret a 32-bit field value as an unsigned number. | |
static void | qmem_show_field (unsigned char *buf_p, unsigned int start_byte, unsigned int end_byte, unsigned int start_bit, unsigned int end_bit, char *desc_p, void(*interp_p)(unsigned int val)) |
Show a field from a buffer. | |
static unsigned int | qmem_dump_fields (Qmem_Field *field_p, unsigned int num_fields, unsigned char *buf_p, unsigned int start_byte) |
Dump fields from a buffer. | |
static unsigned int | qmem_dump_extra (unsigned char *buf_p, unsigned int buf_bytes, unsigned int offset) |
Dump extra data bytes. | |
static unsigned int | qmem_dump_dgm_hdr (unsigned char *buf_p, unsigned int buf_bytes, unsigned int offset) |
Dump a datagram header. | |
static unsigned int | qmem_dump_ctb_hdr (unsigned char *buf_p, unsigned int buf_bytes, unsigned int offset) |
Dump a contribution header. | |
static unsigned int | qmem_dump_desc_ctb (unsigned char *buf_p, unsigned int buf_bytes, unsigned int offset) |
Dump a memory dump description contribution body. | |
static unsigned int | qmem_dump_data_ctb (unsigned char *buf_p, unsigned int buf_bytes, unsigned int offset) |
Dump a memory dump data contribution body. | |
static unsigned int | qmem_dump_ctb (unsigned char *buf_p, unsigned int buf_bytes, unsigned int offset) |
Dump a memory dump datagram contribution. | |
void | QMEM_dump (char *buf_p, unsigned int buf_bytes) |
Dump a MEM package datagram. |
** CVS $Id: QMEM_dump.c,v 1.1 2005/09/21 16:45:08 dmay Exp $ **
These functions display the contents of SSR datagrams sent by the MEM package.
|
Dump a MEM package datagram.
|
|
Display some boilerplate header information.
|
|
Dump a memory dump datagram contribution.
|
|
Dump a contribution header.
|
|
Dump a memory dump data contribution body.
|
|
Dump a memory dump description contribution body.
|
|
Dump a datagram header.
|
|
Dump extra data bytes.
|
|
Dump fields from a buffer.
|
|
Display some header information.
|
|
Interpret a contribution type field value.
|
|
Interpret a field value as a decimal number.
|
|
Interpret a datagram type field value.
|
|
Interpret a dir field value.
|
|
Interpret an extra field value.
|
|
Interpret a lat_unit field value.
|
|
Interpret a length field value.
|
|
Interpret a spare field value.
|
|
Interpret a 32-bit field value as an unsigned number.
|
|
Show a field from a buffer.
|