|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "detdataformats/DAQEthHeader.hpp"#include "dpdklibs/udp/IPV4UDPPacket.hpp"#include "fddetdataformats/WIBEthFrame.hpp"#include <rte_byteorder.h>#include <rte_ether.h>#include <rte_ip.h>#include <rte_udp.h>#include <cstddef>#include <cstdint>#include <string>Go to the source code of this file.
Classes | |
| struct | dunedaq::dpdklibs::wibeth::PacketConfig |
| struct | dunedaq::dpdklibs::wibeth::HeaderPatch |
Namespaces | |
| namespace | dunedaq |
| The DUNE-DAQ namespace. | |
| namespace | dunedaq::dpdklibs |
| namespace | dunedaq::dpdklibs::wibeth |
Functions | |
| rte_be32_t | dunedaq::dpdklibs::wibeth::parse_ipv4_addr (const std::string &addr) |
| void | dunedaq::dpdklibs::wibeth::patch_daq_header (void *wibeth_frame, const HeaderPatch &patch) |
| void | dunedaq::dpdklibs::wibeth::construct_packet (void *ethernet_packet, const void *wibeth_frame, const PacketConfig &cfg, const HeaderPatch &patch={}) |
Construction of Ethernet/IPv4/UDP headers around a WIBEthFrame for DPDK TX. Free of DPDK runtime calls, so the byte construction is unit-testable without EAL or a NIC.
Definition in file WIBEthPacketBuilder.hpp.