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