Lines Matching defs:pcap_md
86 struct pcap_md { struct
87 struct pcap_stat stat;
89 int use_bpf; /* using kernel filter */
90 u_long TotPkts; /* can't oflow for 79 hrs on ether */
91 u_long TotAccepted; /* count accepted by filter */
92 u_long TotDrops; /* count of dropped packets */
93 long TotMissed; /* missed by i/f during this run */
94 long OrigMissed; /* missed by i/f before this run */
95 char *device; /* device name */
97 int sock_packet; /* using Linux 2.0 compatible interface */
98 int timeout; /* timeout specified to pcap_open_live */
99 int clear_promisc; /* must clear promiscuous mode when we close */
100 int cooked; /* using SOCK_DGRAM rather than SOCK_RAW */
101 int ifindex; /* interface index of device we're bound to */
102 int lo_ifindex; /* interface index of the loopback device */
103 struct pcap *next; /* list of open promiscuous sock_packet pcaps */
104 u_int packets_read; /* count of packets read with recvfrom() */
109 u_char *dag_mem_bottom; /* DAG card current memory bottom pointer */
110 u_char *dag_mem_top; /* DAG card current memory top pointer */
112 void *dag_mem_base; /* DAG card memory base address */
113 u_int dag_mem_bottom; /* DAG card current memory bottom offset */
114 u_int dag_mem_top; /* DAG card current memory top offset */
116 int dag_fcs_bits; /* Number of checksum bits from link layer */
117 int dag_offset_flags; /* Flags to pass to dag_offset(). */
118 int dag_stream; /* DAG stream number */
119 int dag_timeout; /* timeout specified to pcap_open_live.