#include <Packet.h>
Data Fields | |
ULONG | SN |
Sequence number of the packet. | |
struct bpf_hdr | header |
bpf header, created by the tap, and copied unmodified to user level programs. |
Each packet in one of the kernel buffers is prepended by this header. It encapsulates the bpf_header, which will be passed to user level programs, as well as the sequence number of the packet, set by the producer (the tap function), and used by the consumer (the read function) to "reorder" the packets contained in the various kernel buffers.
Definition at line 334 of file Packet.h.
struct bpf_hdr header [read] |
documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2008 CACE Technologies. All rights reserved.