pcapxx::pkthdr Struct Reference

PCAP frame/packet header. More...

#include <trace-tools/pcap/pkthdr.hh>

List of all members.

Public Attributes

unsigned id
struct timeval ts
size_t caplen
size_t len


Detailed Description

PCAP frame/packet header.

A PCAP header holds information regarding a frame/packet that are not directly embedded inside the frame/packet's bytes.


Member Data Documentation

unsigned pcapxx::pkthdr::id

Frame/packet's position inside the trace.

struct timeval pcapxx::pkthdr::ts [read]

Time of arrival.

size_t pcapxx::pkthdr::caplen

Number of captured bytes.

size_t pcapxx::pkthdr::len

Length of the frame/packet.


The documentation for this struct was generated from the following file:
Generated on Wed Sep 12 16:02:47 2007 for trace-tools by  doxygen 1.5.3