|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Classes | |
| struct | PacketConfig |
| struct | HeaderPatch |
Functions | |
| rte_be32_t | parse_ipv4_addr (const std::string &addr) |
| void | patch_daq_header (void *wibeth_frame, const HeaderPatch &patch) |
| void | construct_packet (void *ethernet_packet, const void *wibeth_frame, const PacketConfig &cfg, const HeaderPatch &patch={}) |
Variables | |
| constexpr std::size_t | kEthernetHeaderBytes = sizeof(rte_ether_hdr) |
| constexpr std::size_t | kIPv4HeaderBytes = sizeof(rte_ipv4_hdr) |
| constexpr std::size_t | kUDPHeaderBytes = sizeof(rte_udp_hdr) |
| constexpr std::size_t | kPacketHeaderBytes = sizeof(dunedaq::dpdklibs::udp::ipv4_udp_packet_hdr) |
| constexpr std::size_t | kDAQEthHeaderBytes = sizeof(dunedaq::detdataformats::DAQEthHeader) |
| constexpr std::size_t | kWIBEthFrameBytes = sizeof(dunedaq::fddetdataformats::WIBEthFrame) |
| constexpr std::size_t | kEthernetPacketBytes |
| constexpr std::size_t | kIPv4TotalBytes = kIPv4HeaderBytes + kUDPHeaderBytes + kWIBEthFrameBytes |
| constexpr std::size_t | kUDPDatagramBytes = kUDPHeaderBytes + kWIBEthFrameBytes |
| constexpr std::uint16_t | kWIBEthBlockLength |
| constexpr std::uint64_t | kDefaultTimestampStep = 2048 |
| constexpr double | kDefaultRateHz = 62500000.0 / static_cast<double>(kDefaultTimestampStep) |
| void dunedaq::dpdklibs::wibeth::construct_packet | ( | void * | ethernet_packet, |
| const void * | wibeth_frame, | ||
| const PacketConfig & | cfg, | ||
| const HeaderPatch & | patch = {} ) |
Definition at line 54 of file WIBEthPacketBuilder.cpp.
| rte_be32_t dunedaq::dpdklibs::wibeth::parse_ipv4_addr | ( | const std::string & | addr | ) |
Definition at line 24 of file WIBEthPacketBuilder.cpp.
| void dunedaq::dpdklibs::wibeth::patch_daq_header | ( | void * | wibeth_frame, |
| const HeaderPatch & | patch ) |
Definition at line 34 of file WIBEthPacketBuilder.cpp.
|
constexpr |
Definition at line 30 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 39 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 38 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 26 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 32 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 27 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 34 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 29 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 35 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 28 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 36 of file WIBEthPacketBuilder.hpp.
|
constexpr |
Definition at line 31 of file WIBEthPacketBuilder.hpp.