|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "wibmod/WIB1/BNL_UDP.hh"#include "wibmod/WIB1/BNL_UDP_Exception.hh"#include <sys/socket.h>#include <string.h>#include <errno.h>#include <string>#include <fcntl.h>#include <sstream>#include <iomanip>#include <netdb.h>#include <algorithm>Go to the source code of this file.
Classes | |
| struct | WIB_packet_t |
Macros | |
| #define | WIB_WR_BASE_PORT 32000 |
| #define | WIB_RD_BASE_PORT 32001 |
| #define | WIB_RPLY_BASE_PORT 32002 |
| #define | WIB_PACKET_KEY 0xDEADBEEF |
| #define | WIB_REQUEST_PACKET_TRAILER 0xFFFF |
| #define | WIB_RPLY_PACKET_SIZE 12 |
| #define | TIMEOUT_SECONDS 2 |
| #define | TIMEOUT_MICROSECONDS 0 |
Functions | |
| static std::string | dump_packet (uint8_t *data, size_t size) |
| #define TIMEOUT_MICROSECONDS 0 |
Definition at line 28 of file BNL_UDP.cpp.
| #define TIMEOUT_SECONDS 2 |
Definition at line 27 of file BNL_UDP.cpp.
| #define WIB_PACKET_KEY 0xDEADBEEF |
Definition at line 21 of file BNL_UDP.cpp.
| #define WIB_RD_BASE_PORT 32001 |
Definition at line 18 of file BNL_UDP.cpp.
| #define WIB_REQUEST_PACKET_TRAILER 0xFFFF |
Definition at line 23 of file BNL_UDP.cpp.
| #define WIB_RPLY_BASE_PORT 32002 |
Definition at line 19 of file BNL_UDP.cpp.
| #define WIB_RPLY_PACKET_SIZE 12 |
Definition at line 25 of file BNL_UDP.cpp.
| #define WIB_WR_BASE_PORT 32000 |
Definition at line 17 of file BNL_UDP.cpp.
|
static |
Definition at line 37 of file BNL_UDP.cpp.