DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "dpdklibs/udp/Utils.hpp"
#include "detdataformats/DAQEthHeader.hpp"
#include "logging/Logging.hpp"
#include "datahandlinglibs/DataHandlingIssues.hpp"
#include <algorithm>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iterator>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | dunedaq |
Including Qt Headers. | |
namespace | dunedaq::dpdklibs |
namespace | dunedaq::dpdklibs::udp |
Functions | |
std::uint16_t | dunedaq::dpdklibs::udp::get_payload_size_udp_hdr (struct rte_udp_hdr *udp_hdr) |
std::uint16_t | dunedaq::dpdklibs::udp::get_payload_size (struct ipv4_udp_packet_hdr *ipv4_udp_hdr) |
rte_be32_t | dunedaq::dpdklibs::udp::ip_address_dotdecimal_to_binary (std::uint8_t byte1, std::uint8_t byte2, std::uint8_t byte3, std::uint8_t byte4) |
struct ipaddr | dunedaq::dpdklibs::udp::ip_address_binary_to_dotdecimal (rte_le32_t binary_ipv4_address) |
std::string | dunedaq::dpdklibs::udp::get_ipv4_decimal_addr_str (struct ipaddr ipv4_address) |
char * | dunedaq::dpdklibs::udp::get_udp_payload (const rte_mbuf *mbuf) |
void | dunedaq::dpdklibs::udp::hex_digits_to_stream (std::ostringstream &ostrs, int value, char separator=':', char fill='0', int digits=2) |
std::string | dunedaq::dpdklibs::udp::get_udp_header_str (struct rte_mbuf *mbuf) |
std::string | dunedaq::dpdklibs::udp::get_udp_packet_str (struct rte_mbuf *mbuf) |
void | dunedaq::dpdklibs::udp::add_file_contents_to_vector (const std::string &filename, std::vector< char > &buffervec) |
std::vector< std::pair< const void *, int > > | dunedaq::dpdklibs::udp::get_ethernet_packets (const std::vector< char > &buffervec) |
void | dunedaq::dpdklibs::udp::set_daqethheader_test_values (detdataformats::DAQEthHeader &daqethheader_obj) noexcept |
std::string | dunedaq::dpdklibs::udp::get_rte_mbuf_str (const rte_mbuf *mbuf) noexcept |
std::string | dunedaq::dpdklibs::udp::get_opmon_string (const StreamUID &sid) |
UDP related utility functions' implementations
This is part of the DUNE DAQ , copyright 2020. Licensing/copyright details are in the COPYING file that you should have received with this code.
Definition in file Utils.cpp.