lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Drp::encoder_header_t Struct Reference

#include <UdpEncoder.hh>

Public Attributes

uint16_t frameCount
 Frame counter, in network byte order on the wire; UdpReceiver converts it and uses it to detect missing and out-of-order frames.
 
uint8_t reserved1 [2]
 Two bytes named reserved1; not used in UdpEncoder.cc.
 
uint16_t majorVersion
 Major version, in network byte order on the wire; the loopback sender writes UdpEncoder::MajorVersion.
 
uint8_t minorVersion
 Minor version; the loopback sender writes UdpEncoder::MinorVersion.
 
uint8_t microVersion
 Micro version; the loopback sender writes UdpEncoder::MicroVersion.
 
char hardwareID [16]
 Hardware ID text (16 bytes), logged at debug level; the loopback sender writes LOOPBACK SIM.
 
uint8_t reserved2
 One byte named reserved2; not used in UdpEncoder.cc.
 
uint8_t channelMask
 Channel mask; the loopback sender writes 0x01, otherwise not read in UdpEncoder.cc.
 
uint8_t errorMask
 Error mask; not read in UdpEncoder.cc.
 
uint8_t mode
 Header mode byte; not read in UdpEncoder.cc.
 
uint8_t reserved3 [4]
 Four bytes named reserved3; not used in UdpEncoder.cc.
 

Member Data Documentation

◆ channelMask

uint8_t Drp::encoder_header_t::channelMask

Channel mask; the loopback sender writes 0x01, otherwise not read in UdpEncoder.cc.

◆ errorMask

uint8_t Drp::encoder_header_t::errorMask

Error mask; not read in UdpEncoder.cc.

◆ frameCount

uint16_t Drp::encoder_header_t::frameCount

Frame counter, in network byte order on the wire; UdpReceiver converts it and uses it to detect missing and out-of-order frames.

◆ hardwareID

char Drp::encoder_header_t::hardwareID[16]

Hardware ID text (16 bytes), logged at debug level; the loopback sender writes LOOPBACK SIM.

◆ majorVersion

uint16_t Drp::encoder_header_t::majorVersion

Major version, in network byte order on the wire; the loopback sender writes UdpEncoder::MajorVersion.

◆ microVersion

uint8_t Drp::encoder_header_t::microVersion

Micro version; the loopback sender writes UdpEncoder::MicroVersion.

◆ minorVersion

uint8_t Drp::encoder_header_t::minorVersion

Minor version; the loopback sender writes UdpEncoder::MinorVersion.

◆ mode

uint8_t Drp::encoder_header_t::mode

Header mode byte; not read in UdpEncoder.cc.

◆ reserved1

uint8_t Drp::encoder_header_t::reserved1[2]

Two bytes named reserved1; not used in UdpEncoder.cc.

◆ reserved2

uint8_t Drp::encoder_header_t::reserved2

One byte named reserved2; not used in UdpEncoder.cc.

◆ reserved3

uint8_t Drp::encoder_header_t::reserved3[4]

Four bytes named reserved3; not used in UdpEncoder.cc.


The documentation for this struct was generated from the following file: