#include <PcapFile.h>
Public Member Functions | |
PcapFile (string file, Stream::RW_TYPE tp) | |
~PcapFile (void) | |
string | getFullname () |
string | getFilename () |
string | getLocation () |
bool | workHeader () |
bool | isOpen () |
Frame * | readFrame () |
bool | writeFrame (Frame &pkt) |
Stream & | getStream () |
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 |
Stream * | stream |
Stream::RW_TYPE | rwtype |
Classes | |
struct | _PCAP_FILE_HEADER |
struct | _PCAP_REC_HEADER |
typedef struct PcapFile::_PCAP_FILE_HEADER PcapFile::PCAP_FILE_HEADER [private] |
typedef struct PcapFile::_PCAP_FILE_HEADER * PcapFile::PPCAP_FILE_HEADER [private] |
typedef struct PcapFile::_PCAP_REC_HEADER PcapFile::PCAP_REC_HEADER [private] |
typedef struct PcapFile::_PCAP_REC_HEADER * PcapFile::PPCAP_REC_HEADER [private] |
PcapFile::PcapFile | ( | string | file, | |
Stream::RW_TYPE | tp | |||
) |
PcapFile::~PcapFile | ( | void | ) |
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 | ( | ) |
string PcapFile::fullname [private] |
Stream* PcapFile::stream [private] |
Stream::RW_TYPE PcapFile::rwtype [private] |