NFE - Change default RX ring size from 128 -> 256, Adjust moderation timer.
[dragonfly.git] / contrib / ipfilter / pcap.h
blobaa2479811a896ac62f1a27f950f4ebcacdc88267
1 /*
2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: pcap.h,v 2.2.2.1 2001/06/26 10:43:20 darrenr Exp $
7 */
8 /*
9 * This header file is constructed to match the version described by
10 * PCAP_VERSION_MAJ.
12 * The structure largely derives from libpcap which wouldn't include
13 * nicely without bpf.
15 typedef struct pcap_filehdr {
16 u_int pc_id;
17 u_short pc_v_maj;
18 u_short pc_v_min;
19 u_int pc_zone;
20 u_int pc_sigfigs;
21 u_int pc_slen;
22 u_int pc_type;
23 } pcaphdr_t;
25 #define TCPDUMP_MAGIC 0xa1b2c3d4
27 #define PCAP_VERSION_MAJ 2
29 typedef struct pcap_pkthdr {
30 struct timeval ph_ts;
31 u_int ph_clen;
32 u_int ph_len;
33 } pcappkt_t;