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