DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
WIBEthPacketBuilder.cpp File Reference
#include "dpdklibs/wibeth/WIBEthPacketBuilder.hpp"
#include "detdataformats/DAQEthHeader.hpp"
#include <rte_byteorder.h>
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_udp.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <cstdint>
#include <cstring>
#include <stdexcept>
#include <string>
Include dependency graph for WIBEthPacketBuilder.cpp:

Go to the source code of this file.

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={})

Detailed Description

Implementation of the WIBEth packet builder.

Definition in file WIBEthPacketBuilder.cpp.