1 /* $NetBSD: dlpisubs.h,v 1.1.1.3 2013/04/06 15:57:46 christos Exp $ */ 2 3 /* 4 * @(#) Header: /tcpdump/master/libpcap/dlpisubs.h,v 1.2 2008-04-04 19:37:45 guy Exp 5 */ 6 7 #ifndef dlpisubs_h 8 #define dlpisubs_h 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /* 15 * Functions used by dlpisubs.c. 16 */ 17 int pcap_stats_dlpi(pcap_t *, struct pcap_stat *); 18 int pcap_process_pkts(pcap_t *, pcap_handler, u_char *, int, u_char *, int); 19 int pcap_process_mactype(pcap_t *, u_int); 20 #ifdef HAVE_SYS_BUFMOD_H 21 int pcap_conf_bufmod(pcap_t *, int, int); 22 #endif 23 int pcap_alloc_databuf(pcap_t *); 24 int strioctl(int, int, int, char *); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif 31