GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSF / V2-0-4
Constituent: document_lsf     Tag: rad750
#include "LSF/LSF_endianness.h"
Include dependency graph for LSF.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _LSF_record_hdr_bf |
Layout of a record header, bit field representation. More... | |
union | _LSF_record_hdr |
Union of the record header as an uninterpretted 32-bit integer with a bit field representation. More... | |
union | _LSF_record_bdy |
The general structure of the body of an LSF record. More... | |
struct | _LSF_record |
The general structure of an LSF record. More... | |
struct | _LSF_identity_bf |
The bit field representation of the LSF identity word. More... | |
union | _LSF_identity |
Union of the bit field representation of the LSF_identity word and an uninterpretted 32-bit integer. More... | |
struct | _LSF_contribution_hdr |
The layout of a contribution header structure. More... | |
union | _LSF_contribution_bdy |
Beginning of the body of the LSF contribution. More... | |
struct | _LSF_contribution |
The general structure of an LSF contribution. More... | |
struct | _LSF_datagram_hdr |
The LSF datagram header. More... | |
struct | _LSF_root_hdr_bf |
The LSF root header as bit fields. More... | |
union | _LSF_root_hdr |
The LSF root header as a union of 32-bit integer and the bit field representation. More... | |
union | _LSF_root_bdy |
Beginning of the body of the LSF datagram root contribution. More... | |
struct | _LSF_root |
Describes the body when the datagram has a root contribution. More... | |
union | _LSF_datagram_bdy |
Beginning of the body of the LSF datagram. More... | |
struct | _LSF_datagram |
The general structure of an LSF datagram. More... | |
Defines | |
#define | LSF_RECORD_HDR_COMPOSE(_type_id, _bridge, _len32) |
Composes a LSF record header. | |
#define | LSF_IDENTITY_COMPOSE(_type_id, _version, _dir) |
Composes the 32-bit identity word for either a datagram or a contribution from the specified pieces. | |
#define | LSF_DATAGRAM_IDENTITY_COMPOSE(_type_id, _version, _opts) |
Composes the 32-bit identity word for a datagram using the specified values. | |
#define | LSF_CONTRIBUTION_IDENTITY_COMPOSE(_type_id, _version, _opts) |
Composes the 32-bit identity word for a datagram using the specified values. | |
#define | LSF_ROOT_HDR_COMPOSE |
Compose the root header word. | |
Typedefs | |
typedef enum _LSF_RECORD_HDR_S | LSF_RECORD_HDR_S |
Typedef for enum _LSF_RECORD_HDR_S. | |
typedef enum _LSF_RECORD_HDR_V | LSF_RECORD_HDR_V |
typedef for enum _LSF_RECORD_HDR_V | |
typedef enum _LSF_RECORD_HDR_M | LSF_RECORD_HDR_M |
typedef for enum _LSF_RECORD_HDR_M | |
typedef _LSF_record_hdr_bf | LSF_record_hdr_bf |
Typedef for struct _LSF_record_hdr_bf. | |
typedef _LSF_record_hdr | LSF_record_hdr |
Typedef union _LSF_record_hdr. | |
typedef _LSF_record_bdy | LSF_record_bdy |
Typedef for struct _LSF_record_bdy. | |
typedef _LSF_record | LSF_record |
Typedef for struct _LSF_record. | |
typedef enum _LSF_IDENTITY_S | LSF_IDENTITY_S |
Typedef for enum _LSF_IDENTITY_S. | |
typedef enum _LSF_IDENTITY_V | LSF_IDENTITY_V |
Typedef for enum _LSF_IDENTITY_V. | |
typedef enum _LSF_IDENTITY_M | LSF_IDENTITY_M |
Typedef for enum _LSF_IDENTITY_M. | |
typedef _LSF_identity_bf | LSF_identity_bf |
Typedef for struct _LSF_identity_bf. | |
typedef _LSF_identity | LSF_identity |
Typedef for union _LSF_identity. | |
typedef _LSF_contribution_hdr | LSF_contribution_hdr |
Typedef for struct _LSF_contribution_hdr. | |
typedef _LSF_contribution_bdy | LSF_contribution_bdy |
Typedef for union _LSF_contribution_bdy. | |
typedef _LSF_contribution | LSF_contribution |
Typedef for struct _LSF_contribution. | |
typedef _LSF_datagram_hdr | LSF_datagram_hdr |
Typedef for struct _LSF_datagram_hdr. | |
typedef enum _LSF_ROOT_HDR_S | LSF_ROOT_HDR_S |
Typedef for enum _LSF_ROOT_HDR_S. | |
typedef enum _LSF_ROOT_HDR_V | LSF_ROOT_HDR_V |
Typedef for enum _LSF_ROOT_HDR_V. | |
typedef enum _LSF_ROOT_HDR_M | LSF_ROOT_HDR_M |
Typedef for enum _LSF_ROOT_HDR_M. | |
typedef _LSF_root_hdr_bf | LSF_root_hdr_bf |
Typedef for struct _LSF_root_hdr_bf. | |
typedef _LSF_root_hdr | LSF_root_hdr |
Typedef for struct _LSF_root_hdr. | |
typedef _LSF_root_bdy | LSF_root_bdy |
Typedef for union _LSF_root_bdy. | |
typedef _LSF_root | LSF_root |
Typedef for struct _LSF_datagram_root. | |
typedef _LSF_datagram_bdy | LSF_datagram_bdy |
Typedef for union _LSF_datagram_bdy. | |
typedef _LSF_datagram | LSF_datagram |
Typedef for struct _LSF_datagram. | |
Enumerations | |
enum | _LSF_RECORD_HDR_S { LSF_RECORD_HDR_S_BRIDGE = 8, LSF_RECORD_HDR_S_TYPEID = 4, LSF_RECORD_HDR_S_LEN32 = 20 } |
Record level header word, bit field sizes. More... | |
enum | _LSF_RECORD_HDR_V { LSF_RECORD_HDR_V_BRIDGE = 24, LSF_RECORD_HDR_V_TYPEID = 20, LSF_RECORD_HDR_V_LEN32 = 0 } |
Record Level header, bit field right justified offsets. More... | |
enum | _LSF_RECORD_HDR_M { LSF_RECORD_HDR_M_TYPEID, LSF_RECORD_HDR_M_BRIDGE, LSF_RECORD_HDR_M_LEN32 } |
Record Level header, bit field in place masks. More... | |
enum | _LSF_IDENTITY_S { LSF_IDENTITY_S_TYPEID = 20, LSF_IDENTITY_S_VERSION = 8, LSF_IDENTITY_S_OPTS = 4, LSF_IDENTITY_S_RSVD_0 = 1, LSF_IDENTITY_S_RSVD_1 = 1, LSF_IDENTITY_S_ROOT = 1, LSF_IDENTITY_S_DIR = 1, LSF_IDENTITY_S_DGM_CTB = 1, LSF_IDENTITY_S_CTB_REC = 1 } |
Enumeration giving the sizes of the bit fields in the LSF identity word. More... | |
enum | _LSF_IDENTITY_V { LSF_IDENTITY_V_TYPEID = 0, LSF_IDENTITY_V_VERSION = 20, LSF_IDENTITY_V_OPTS = 28, LSF_IDENTITY_V_RSVD_0 = LSF_IDENTITY_V_OPTS + 0, LSF_IDENTITY_V_RSVD_1 = LSF_IDENTITY_V_OPTS + 1, LSF_IDENTITY_V_ROOT = LSF_IDENTITY_V_OPTS + 2, LSF_IDENTITY_V_DIR = LSF_IDENTITY_V_OPTS + 3, LSF_IDENTITY_V_DGM_CTB = LSF_IDENTITY_V_OPTS + 3, LSF_IDENTITY_V_CTB_REC = LSF_IDENTITY_V_OPTS + 3 } |
Enumeration giving the right bit offsets of the bit fields in the LSF identity word. More... | |
enum | _LSF_IDENTITY_M { LSF_IDENTITY_M_TYPEID, LSF_IDENTITY_M_VERSION, LSF_IDENTITY_M_OPTS, LSF_IDENTITY_M_RSVD_0, LSF_IDENTITY_M_RSVD_1, LSF_IDENTITY_M_ROOT, LSF_IDENTITY_M_DIR, LSF_IDENTITY_M_DGM_CTB, LSF_IDENTITY_M_CTB_REC } |
Enumeration giving the in place masks of the bit fields in the LSF identity word. More... | |
enum | _LSF_ROOT_HDR_S { LSF_ROOT_HDR_S_LEN32 = 28, LSF_ROOT_HDR_S_OPTS = 4, LSF_ROOT_HDR_S_RSVD_0 = 1, LSF_ROOT_HDR_S_RSVD_1 = 1, LSF_ROOT_HDR_S_RSVD_2 = 1, LSF_ROOT_HDR_S_CTB = 1 } |
The size, in bits, of the fields of the root header word. More... | |
enum | _LSF_ROOT_HDR_V { LSF_ROOT_HDR_V_LEN32 = 0, LSF_ROOT_HDR_V_OPTS = 28, LSF_ROOT_HDR_V_RSVD_0 = LSF_ROOT_HDR_V_OPTS + 0, LSF_ROOT_HDR_V_RSVD_1 = LSF_ROOT_HDR_V_OPTS + 1, LSF_ROOT_HDR_V_RSVD_2 = LSF_ROOT_HDR_V_OPTS + 2, LSF_ROOT_HDR_V_CTB = LSF_ROOT_HDR_V_OPTS + 3 } |
The right justified bit offset of the fields of the root header word. More... | |
enum | _LSF_ROOT_HDR_M { LSF_ROOT_HDR_M_LEN32, LSF_ROOT_HDR_M_OPTS, LSF_ROOT_HDR_M_RSVD_0, LSF_ROOT_HDR_M_RSVD_1, LSF_ROOT_HDR_M_RSVD_2, LSF_ROOT_HDR_M_CTB } |
The in place bit masks of the fields of the root header word. More... | |
Functions | |
static __inline unsigned int | LSF_identityCompose (unsigned int type_id, unsigned int version, unsigned int dir) |
Composes the 32-bit identity word for either a datagram or a contribution from the specified pieces. | |
static __inline unsigned int | LSF_datagramIdentityCompose (unsigned int type_id, unsigned int version, unsigned int opts) |
Composes the 32-bit identity word for a datagram from the specified pieces. | |
static __inline unsigned int | LSF_contributionIdentityCompose (unsigned int type_id, unsigned int version, unsigned int opts) |
Composes the 32-bit identity word for a contribution from the specified pieces. | |
static __inline unsigned int | LSF_rootHdrCompose (unsigned int len32, unsigned int ctb) |
Compose the root header word. | |
static __inline unsigned int | LSF_recordHdrCompose (unsigned int type_id, unsigned int bridge, unsigned int len32) |
Composes a LSF record header. | |
static __inline LSF_datagram * | LSF_datagramNext (const LSF_datagram *dgm) |
Advances the datagram pointer by the length field specified in the datagram. | |
static __inline LSF_datagram * | LSF_datagramAdvance (const LSF_datagram *dgm, unsigned int n32) |
Advances the datagram pointer by the specified number of 32-bit words. | |
static __inline LSF_contribution * | LSF_contributionNext (const LSF_contribution *ctb) |
Advances the contribution pointer by the length field specified in the contribution header. | |
static __inline LSF_contribution * | LSF_contributionAdvance (const LSF_contribution *ctb, unsigned int n32) |
Advances the contribution pointer by the specified number of 32-bit words. | |
static __inline LSF_record * | LSF_recordNext (const LSF_record *rec) |
Advances the record pointer by the length field specified in the record header. | |
static __inline LSF_record * | LSF_recordAdvance (const LSF_record *evt, unsigned int n32) |
Advances the record pointer by the specified number of 32-bit words. | |
static __inline unsigned int * | LSF_datAdvance (const unsigned int *dat, unsigned int n32) |
Advances the data pointer by the specified number of 32-bit wo. |
CVS $Id: LSF.h,v 1.7 2005/11/02 17:18:19 russell Exp $
LSF, however, does make a statement here
|
Value: ( (((_opts) ) & LSF_IDENTITY_M_OPTS ) \ | (((_version) << LSF_IDENTITY_V_VERSION) & LSF_IDENTITY_M_VERSION) \ | (((_type_id )<< LSF_IDENTITY_V_TYPEID) & LSF_IDENTITY_M_TYPEID ) )
|
|
Value: ( (((_opts) ) & LSF_IDENTITY_M_OPTS ) \ | (((_version) << LSF_IDENTITY_V_VERSION) & LSF_IDENTITY_M_VERSION) \ | (((_type_id )<< LSF_IDENTITY_V_TYPEID) & LSF_IDENTITY_M_TYPEID ) )
|
|
Value: ( (((_dir) << LSF_IDENTITY_V_DIR) & LSF_IDENTITY_M_DIR ) \ | (((_version) << LSF_IDENTITY_V_VERSION) & LSF_IDENTITY_M_VERSION) \ | (((_type_id )<< LSF_IDENTITY_V_TYPEID) & LSF_IDENTITY_M_TYPEID ) )
|
|
Value: ( (((_type_id) << LSF_RECORD_HDR_V_TYPEID) & LSF_RECORD_HDR_M_TYPEID) \ | ((( _bridge) << LSF_RECORD_HDR_V_BRIDGE) & LSF_RECORD_HDR_M_BRIDGE) \ | ((( _len32) << LSF_RECORD_HDR_V_LEN32) & LSF_RECORD_HDR_M_LEN32) )
|
|
Value: (_len32, _ctb) \ ( (((_ctb) << LSF_ROOT_HDR_V_CTB ) & LSF_ROOT_HDR_M_CTB ) \ | (((_len32) << LSF_ROOT_HDR_V_LEN32) & LSF_ROOT_HDR_M_LEN32))
|
|
Typedef for struct _LSF_contribution_hdr.
|
|
Typedef for struct _LSF_datagram_hdr.
|
|
Typedef for union _LSF_identity.
|
|
Typedef for struct _LSF_identity_bf.
|
|
Typedef for enum _LSF_IDENTITY_M.
|
|
Typedef for enum _LSF_IDENTITY_S.
|
|
Typedef for enum _LSF_IDENTITY_V.
|
|
Typedef for struct _LSF_record_hdr_bf.
|
|
|
Enumeration giving the sizes of the bit fields in the LSF identity word.
|
|
Enumeration giving the right bit offsets of the bit fields in the LSF identity word.
|
|
Record Level header, bit field in place masks.
|
|
Record level header word, bit field sizes.
|
|
Record Level header, bit field right justified offsets.
|
|
The in place bit masks of the fields of the root header word.
|
|
The size, in bits, of the fields of the root header word.
|
|
The right justified bit offset of the fields of the root header word.
|
|
Advances the contribution pointer by the specified number of 32-bit words.
|
|
Composes the 32-bit identity word for a contribution from the specified pieces.
|
|
Advances the contribution pointer by the length field specified in the contribution header.
|
|
Advances the data pointer by the specified number of 32-bit wo.
|
|
Advances the datagram pointer by the specified number of 32-bit words.
|
|
Composes the 32-bit identity word for a datagram from the specified pieces.
|
|
Advances the datagram pointer by the length field specified in the datagram.
|
|
Composes the 32-bit identity word for either a datagram or a contribution from the specified pieces.
|
|
Advances the record pointer by the specified number of 32-bit words.
|
|
Composes a LSF record header.
|
|
Advances the record pointer by the length field specified in the record header.
|
|
Compose the root header word.
|