Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

# sf_pkthdr Struct Reference
[NPF structures and definitions]

Header associated to a packet in the driver's buffer when the driver is in dump mode. Similar to the bpf_hdr structure, but simpler. More...

`#include <Packet.h>`

## Data Fields
timeval | ts
| time stamp
UINT | caplen
UINT | len
| Length of the original packet (off wire).

## Detailed Description

Header associated to a packet in the driver's buffer when the driver is in dump mode. Similar to the bpf_hdr structure, but simpler.

Definition at line 221 of file Packet.h.

## Field Documentation

UINT caplen

| Length of captured portion. The captured portion can be different from the original packet, because it is possible (with a proper filter) to instruct the driver to capture only a portion of the packets. Definition at line 223 of file Packet.h.

UINT len

| Length of the original packet (off wire). Definition at line 226 of file Packet.h.

struct timeval ts

| time stamp Definition at line 222 of file Packet.h.

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

- Packet.h

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.