pcapxx Namespace Reference

PCAP and libpcap related compounds. More...


Classes

struct  descriptor
 Enable various PCAP operations. More...
struct  dumper
 Enable frame/packet dumping to PCAP files. More...
struct  frame_descriptor
 Describe a PCAP frame/packet. More...
struct  pkthdr
 PCAP frame/packet header. More...

Namespaces

namespace  internals

Typedefs

typedef void(* handler )(void *user, const pkthdr *h, const void *bytes)

Functions

std::ostream & operator<< (std::ostream &, const frame_descriptor &)


Detailed Description

PCAP and libpcap related compounds.

Typedef Documentation

typedef void(* pcapxx::handler)(void *user, const pkthdr *h, const void *bytes)

Callback function that handle a single frame/packet.

Parameters:
[in,out] user User data.
[in] h The frame's PCAP header.
[in] bytes The frame's content.


Function Documentation

std::ostream & pcapxx::operator<< ( std::ostream &  os,
const frame_descriptor &  fd 
) [inline]

Dump a frame descriptor to a C++ stream.


Generated on Wed Sep 12 16:02:47 2007 for trace-tools by  doxygen 1.5.3