]>
The Tcpdump Group git mirrors - libpcap/blob - pcap-dag.h
0776f5932783e053a999fd135f5045bc7b94d26c
2 * pcap-dag.c: Packet capture interface for Endace DAG card.
4 * The functionality of this code attempts to mimic that of pcap-linux as much
5 * as possible. This code is only needed when compiling in the DAG card code
6 * at the same time as another type of device.
8 * Author: Richard Littin, Sean Irvine ({richard,sean}@reeltwo.com)
10 * @(#) $Header: /tcpdump/master/libpcap/pcap-dag.h,v 1.2 2003-07-25 04:04:57 guy Exp $ (LBL)
13 int dag_read(pcap_t
*p
, int cnt
, pcap_handler callback
, u_char
*user
);
14 pcap_t
*dag_open_live(const char *device
, int snaplen
, int promisc
, int to_ms
, char *ebuf
);
15 int dag_setfilter(pcap_t
*p
, struct bpf_program
*fp
);