1*8b26181fSAndroid Build Coastguard Worker /* 2*8b26181fSAndroid Build Coastguard Worker * pcap-dag.c: Packet capture interface for Endace DAG card. 3*8b26181fSAndroid Build Coastguard Worker * 4*8b26181fSAndroid Build Coastguard Worker * The functionality of this code attempts to mimic that of pcap-linux as much 5*8b26181fSAndroid Build Coastguard Worker * as possible. This code is only needed when compiling in the DAG card code 6*8b26181fSAndroid Build Coastguard Worker * at the same time as another type of device. 7*8b26181fSAndroid Build Coastguard Worker * 8*8b26181fSAndroid Build Coastguard Worker * Author: Richard Littin, Sean Irvine ({richard,sean}@reeltwo.com) 9*8b26181fSAndroid Build Coastguard Worker */ 10*8b26181fSAndroid Build Coastguard Worker 11*8b26181fSAndroid Build Coastguard Worker pcap_t *dag_create(const char *, char *, int *); 12*8b26181fSAndroid Build Coastguard Worker int dag_findalldevs(pcap_if_list_t *devlistp, char *errbuf); 13