DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ARP.hpp File Reference
#include <cstdint>
#include <rte_mbuf.h>
#include "dpdklibs/udp/Utils.hpp"
Include dependency graph for ARP.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dunedaq
 Including Qt Headers.
 
namespace  dunedaq::dpdklibs
 
namespace  dunedaq::dpdklibs::arp
 

Enumerations

enum  {
  dunedaq::dpdklibs::arp::ARP_REQUEST = 1 , dunedaq::dpdklibs::arp::ARP_REPLY = 2 , dunedaq::dpdklibs::arp::RARP_REQUEST = 3 , dunedaq::dpdklibs::arp::RARP_REPLY = 4 ,
  dunedaq::dpdklibs::arp::GRATUITOUS_ARP = 5
}
 
enum  { dunedaq::dpdklibs::arp::CLEAR_FAST_ALLOC_FLAG = 0x00000001 , dunedaq::dpdklibs::arp::DO_TX_FLUSH = 0x00000002 }
 

Functions

void dunedaq::dpdklibs::arp::uint16Swap (void *t, void *f)
 
void dunedaq::dpdklibs::arp::ethAddrSwap (void *t, void *f)
 
void dunedaq::dpdklibs::arp::inetAddrSwap (void *t, void *f)
 
void dunedaq::dpdklibs::arp::inetAddrCopy (void *t, void *f)
 
void dunedaq::dpdklibs::arp::pktgen_send_garp (struct rte_mbuf *m, uint32_t port_id, rte_be32_t binary_ip_address)
 
void dunedaq::dpdklibs::arp::pktgen_process_arp (struct rte_mbuf *m, uint32_t pid, rte_be32_t binary_ip_address)
 

Detailed Description

ARP helpers

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 ARP.hpp.