wscout::pcap::Trace::PacketIterator::Packet Struct Reference

PCAP packet. More...

#include <wscout_pcap_trace.hh>

List of all members.

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


Detailed Description

PCAP packet.

Constructor & Destructor Documentation

wscout::pcap::Trace::PacketIterator::Packet::Packet ( std::ifstream &  fstream,
bool  swap,
int32_t  zone 
)

Construct a PCAP packet from a file.


Member Data Documentation

struct timeval wscout::pcap::Trace::PacketIterator::Packet::ts [read]

Time of arrival.

uint32_t wscout::pcap::Trace::PacketIterator::Packet::caplen

Number of captured bytes.

uint32_t wscout::pcap::Trace::PacketIterator::Packet::len

Packet len.

boost::shared_ptr<uint8_t> wscout::pcap::Trace::PacketIterator::Packet::data

Packet data.


The documentation for this struct was generated from the following files:
Generated on Wed Sep 12 16:02:50 2007 for WScout by  doxygen 1.5.3