Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
packetHdr.h File Reference
#include "packetHdrV1.h"
+ Include dependency graph for packetHdr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PACKET_LENGTH_OFFSET_OF_DWORD   0
 
#define PACKET_HDR_VERSION_OFFSET_OF_DWORD   1
 
#define PACKET_HDR_VERSION_OFFSET_IN_DWORD   24
 
#define PACKET_HDR_VERSION_NUM_BITS   8
 
#define PACKET_HDR_VERSION_MASK   0xff000000
 
#define PACKET_HDR_LENGTH_OFFSET_OF_DWORD   1
 
#define PACKET_HDR_LENGTH_OFFSET_IN_DWORD   16
 
#define PACKET_HDR_LENGTH_NUM_BITS   8
 
#define PACKET_HDR_LENGTH_MASK   0x00ff0000
 
#define CURRENT_PACKET_VERSION   1
 
#define CURRENT_PACKETHDR_LENGTH   PACKETV1_HDR_LENGTH
 
#define PACKETV1_QUANTUM
 

Variables

CONSTANT UINT currentPacketHdrLength = CURRENT_PACKETHDR_LENGTH
 
const UINT packetQuantum = 2
 

Macro Definition Documentation

#define CURRENT_PACKET_VERSION   1

Definition at line 60 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 60 of file packetHdr.h

#define CURRENT_PACKETHDR_LENGTH   PACKETV1_HDR_LENGTH

Definition at line 61 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 61 of file packetHdr.h

#define PACKET_HDR_LENGTH_MASK   0x00ff0000

Definition at line 55 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 55 of file packetHdr.h

Referenced by getPacketHdrLength(), and setPacketHdrLength().

#define PACKET_HDR_LENGTH_NUM_BITS   8

Definition at line 54 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 54 of file packetHdr.h

#define PACKET_HDR_LENGTH_OFFSET_IN_DWORD   16

Definition at line 53 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 53 of file packetHdr.h

Referenced by getPacketHdrLength(), and setPacketHdrLength().

#define PACKET_HDR_LENGTH_OFFSET_OF_DWORD   1

Definition at line 52 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 52 of file packetHdr.h

Referenced by getPacketHdrLength(), and setPacketHdrLength().

#define PACKET_HDR_VERSION_MASK   0xff000000

Definition at line 50 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 50 of file packetHdr.h

Referenced by getPacketHdrVersion(), and setPacketHdrVersion().

#define PACKET_HDR_VERSION_NUM_BITS   8

Definition at line 49 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 49 of file packetHdr.h

#define PACKET_HDR_VERSION_OFFSET_IN_DWORD   24

Definition at line 48 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 48 of file packetHdr.h

Referenced by getPacketHdrVersion(), and setPacketHdrVersion().

#define PACKET_HDR_VERSION_OFFSET_OF_DWORD   1

Definition at line 47 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 47 of file packetHdr.h

Referenced by getPacketHdrVersion(), and setPacketHdrVersion().

#define PACKET_LENGTH_OFFSET_OF_DWORD   0

Definition at line 45 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 45 of file packetHdr.h

Referenced by getPacketLength(), and setPacketLength().

#define PACKETV1_QUANTUM

Definition at line 65 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 65 of file packetHdr.h

Variable Documentation

CONSTANT UINT currentPacketHdrLength = CURRENT_PACKETHDR_LENGTH

Definition at line 63 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 63 of file packetHdr.h

const UINT packetQuantum = 2

Definition at line 66 of file packetHdr.h.

View newest version in sPHENIX GitHub at line 66 of file packetHdr.h

Referenced by extendPacketLength().