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 &) |
libpcap
related compounds. typedef void(* pcapxx::handler)(void *user, const pkthdr *h, const void *bytes) |
Callback function that handle a single frame/packet.
[in,out] | user | User data. |
[in] | h | The frame's PCAP header. |
[in] | bytes | The frame's content. |
std::ostream & pcapxx::operator<< | ( | std::ostream & | os, | |
const frame_descriptor & | fd | |||
) | [inline] |
Dump a frame descriptor to a C++ stream.