PcapFile Class Reference

#include <PcapFile.h>

Collaboration diagram for PcapFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PcapFile (string file, Stream::RW_TYPE tp)
 ~PcapFile (void)
string getFullname ()
string getFilename ()
string getLocation ()
bool workHeader ()
bool isOpen ()
FramereadFrame ()
bool writeFrame (Frame &pkt)
StreamgetStream ()

Private Types

typedef struct
PcapFile::_PCAP_FILE_HEADER 
PCAP_FILE_HEADER
typedef struct
PcapFile::_PCAP_FILE_HEADER
PPCAP_FILE_HEADER
typedef struct
PcapFile::_PCAP_REC_HEADER 
PCAP_REC_HEADER
typedef struct
PcapFile::_PCAP_REC_HEADER
PPCAP_REC_HEADER

Private Attributes

string fullname
Streamstream
Stream::RW_TYPE rwtype

Classes

struct  _PCAP_FILE_HEADER
struct  _PCAP_REC_HEADER


Member Typedef Documentation


Constructor & Destructor Documentation

PcapFile::PcapFile ( string  file,
Stream::RW_TYPE  tp 
)

PcapFile::~PcapFile ( void   ) 


Member Function Documentation

string PcapFile::getFullname (  ) 

string PcapFile::getFilename (  ) 

string PcapFile::getLocation (  ) 

bool PcapFile::workHeader (  ) 

bool PcapFile::isOpen (  ) 

Frame * PcapFile::readFrame (  ) 

bool PcapFile::writeFrame ( Frame pkt  ) 

Stream & PcapFile::getStream (  ) 


Member Data Documentation

string PcapFile::fullname [private]


The documentation for this class was generated from the following files:

Generated on Wed Jun 18 09:40:46 2008 for pktanon by  doxygen 1.5.5