Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / bsd / libpcap / dist / dlpisubs.h
blob1236e06c72aa8cf002902231a5799091174acfbf
1 /* $NetBSD: dlpisubs.h,v 1.2 2014/11/19 19:33:30 christos Exp $ */
3 #ifndef dlpisubs_h
4 #define dlpisubs_h
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
11 * Private data for capturing on DLPI devices.
13 struct pcap_dlpi {
14 #ifdef HAVE_LIBDLPI
15 dlpi_handle_t dlpi_hd;
16 #endif /* HAVE_LIBDLPI */
17 #ifdef DL_HP_RAWDLS
18 int send_fd;
19 #endif /* DL_HP_RAWDLS */
21 struct pcap_stat stat;
25 * Functions defined by dlpisubs.c.
27 int pcap_stats_dlpi(pcap_t *, struct pcap_stat *);
28 int pcap_process_pkts(pcap_t *, pcap_handler, u_char *, int, u_char *, int);
29 int pcap_process_mactype(pcap_t *, u_int);
30 #ifdef HAVE_SYS_BUFMOD_H
31 int pcap_conf_bufmod(pcap_t *, int);
32 #endif
33 int pcap_alloc_databuf(pcap_t *);
34 int strioctl(int, int, int, char *);
36 #ifdef __cplusplus
38 #endif
40 #endif