メイン   モジュール   デー タ構造   ファイルリスト   データフィールド   グローバル   関連ページ   注意事項   English

PacketHeader Struct Reference
[NPF structures and definitions]

Structure prepended to each packet in the kernel buffer pool. More...

#include <Packet.h>


Data Fields

ULONG SN
 Sequence number of the packet.

bpf_hdr header
 bpf header, created by the tap, and copied unmodified to user level programs.


Detailed Description

Structure prepended to each packet in the kernel buffer pool.

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 386 of file Packet.h.


Field Documentation

struct bpf_hdr header
 

bpf header, created by the tap, and copied unmodified to user level programs.

Definition at line 389 of file Packet.h.

Referenced by NPF_Read(), NPF_tap(), and NPF_TransferDataComplete().

ULONG SN
 

Sequence number of the packet.

Definition at line 388 of file Packet.h.

Referenced by NPF_Read(), NPF_tap(), and NPF_TransferDataComplete().


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

documentation. Copyright (c)2002-2003 Politecnico di Torino.
2005 translated by Telebusiness,Inc.
 All rights reserved.