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

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

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

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

Retrieve a descriptor to the dumped file.


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

Generated on Wed Jul 30 19:51:35 2008 for wipal by  doxygen 1.5.6