pcapxx::dumper Struct Reference

Enable frame/packet dumping to PCAP files. More...

#include <wipal/pcap/dumper.hh>

List of all members.

Public Member Functions

 dumper (const std::string &filename, int32_t type, int32_t snaplen)
void operator() (const pkthdr *, const void *pkt)
template<class D >
void operator() (const frame_descriptor< D > &)
descriptor< tool::bottomdesc () const


Detailed Description

Enable frame/packet dumping to PCAP files.

A PCAP dumper allows you to dump frames/packets into a file.


Member Function Documentation

descriptor< tool::bottom > pcapxx::dumper::desc (  )  const [inline]

Retrieve a descriptor to the dumped file.

template<class D >
void pcapxx::dumper::operator() ( const frame_descriptor< D > &  d  )  [inline]

Dump a frame/packet given a frame descritpor.

void pcapxx::dumper::operator() ( const pkthdr h,
const void *  pkt 
) [inline]

Dump a frame/packet given a PCAP header and some data.


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

Generated on Wed Apr 22 22:52:43 2009 for wipal by  doxygen 1.5.8