#include <wscout_pcap_trace.hh>
Public Member Functions | |
Packet (std::ifstream &fstream, bool swap, int32_t zone) | |
Equality comparison. | |
bool | operator== (const Packet &rhs) const |
bool | operator!= (const Packet &lhs) const |
Public Attributes | |
struct timeval | ts |
uint32_t | caplen |
uint32_t | len |
boost::shared_ptr < uint8_t > | data |
wscout::pcap::Trace::PacketIterator::Packet::Packet | ( | std::ifstream & | fstream, | |
bool | swap, | |||
int32_t | zone | |||
) |
Construct a PCAP packet from a file.
struct timeval wscout::pcap::Trace::PacketIterator::Packet::ts [read] |
Time of arrival.
Number of captured bytes.
Packet len.
boost::shared_ptr<uint8_t> wscout::pcap::Trace::PacketIterator::Packet::data |
Packet data.