diff options
Diffstat (limited to 'contrib/libpcap/dlpisubs.h')
-rw-r--r-- | contrib/libpcap/dlpisubs.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/libpcap/dlpisubs.h b/contrib/libpcap/dlpisubs.h new file mode 100644 index 000000000000..67acd292f400 --- /dev/null +++ b/contrib/libpcap/dlpisubs.h @@ -0,0 +1,28 @@ +/* + * @(#) $Header: /tcpdump/master/libpcap/dlpisubs.h,v 1.1.2.2 2008-04-04 19:39:05 guy Exp $ + */ + +#ifndef dlpisubs_h +#define dlpisubs_h + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Functions used by dlpisubs.c. + */ +int pcap_stats_dlpi(pcap_t *, struct pcap_stat *); +int pcap_process_pkts(pcap_t *, pcap_handler, u_char *, int, u_char *, int); +int pcap_process_mactype(pcap_t *, u_int); +#ifdef HAVE_SYS_BUFMOD_H +int pcap_conf_bufmod(pcap_t *, int, int); +#endif +int pcap_alloc_databuf(pcap_t *); +int strioctl(int, int, int, char *); + +#ifdef __cplusplus +} +#endif + +#endif |