|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
One UDP datagram read from a capture. More...
#include <md_feed/pcap_reader.hpp>
Public Attributes | |
| uint64_t | ts_ns = 0 |
| Capture time, nanoseconds since the epoch. | |
| uint32_t | dst_addr = 0 |
| IPv4 destination, host byte order. | |
| uint16_t | dst_port = 0 |
| const uint8_t * | data = nullptr |
| UDP payload. | |
| size_t | size = 0 |
One UDP datagram read from a capture.
data points into the reader's buffer and is valid until the next call to PcapReader::next().
Definition at line 29 of file pcap_reader.hpp.
| const uint8_t* slick::sim::md_feed::PcapPacket::data = nullptr |
UDP payload.
Definition at line 33 of file pcap_reader.hpp.
| uint32_t slick::sim::md_feed::PcapPacket::dst_addr = 0 |
IPv4 destination, host byte order.
Definition at line 31 of file pcap_reader.hpp.
| uint16_t slick::sim::md_feed::PcapPacket::dst_port = 0 |
Definition at line 32 of file pcap_reader.hpp.
| size_t slick::sim::md_feed::PcapPacket::size = 0 |
Definition at line 34 of file pcap_reader.hpp.
| uint64_t slick::sim::md_feed::PcapPacket::ts_ns = 0 |
Capture time, nanoseconds since the epoch.
Definition at line 30 of file pcap_reader.hpp.