artdaq_core_demo  v1_07_01
demo::UDPFragment::Metadata Struct Reference

Metadata describing the contents of the UDPFragment. More...

#include <artdaq-core-demo/Overlays/UDPFragment.hh>

Public Types

typedef uint64_t data_t
 The fundamental unit of Metadata data.
 

Public Attributes

data_t port: 16
 The port on which the data was received.
 
data_t address: 32
 The IPv4 address the data was received on.
 
data_t unused: 16
 Unused bits of the data_t field.
 

Static Public Attributes

static size_t const size_words = 1ull
 Size of the UDPFragment::Metadata object, in units of Metadata::data_t.
 

Detailed Description

Metadata describing the contents of the UDPFragment.

The AsciiFragment::Metadata struct is used to store information about the upstream environment from where the fragment came. In the case of UDPFragment, this is the port and address at which the data was received.

Definition at line 30 of file UDPFragment.hh.


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