pcapxx::internals Namespace Reference

Internal compounds - not designed for users. More...


Classes

struct  frame_iterator
 Iterator over frames for PCAP descriptors . More...

Functions

template<class D, class B>
void fill (void *, const pkthdr *, const void *)


Detailed Description

Internal compounds - not designed for users.

Function Documentation

template<class D, class B>
void pcapxx::internals::fill ( void *  it,
const pkthdr *  h,
const void *  b 
) [inline]

Set a frame iterator's value according to a PCAP header and data.

Actually, this function should be a static method of frame_iterator. GCC does not allow that however since version 4.2.1. (Apparently it refuses to use a static method as template parameter for descriptor::loop.)


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