1 /* 2 * pcap-dag.c: Packet capture interface for Endace DAG card. 3 * 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. 7 * 8 * Author: Richard Littin, Sean Irvine ({richard,sean}@reeltwo.com) 9 * 10 * @(#) $Header: /tcpdump/master/libpcap/pcap-dag.h,v 1.3.4.1 2005/07/07 06:56:04 guy Exp $ (LBL) 11 */ 12 13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf); 14 int dag_platform_finddevs(pcap_if_t **devlistp, char *errbuf); 15