lib: remove unused libfruutils
[unleashed.git] / contrib / libpcap / dlpisubs.h
blobcdc531c1f65103e8b60032698568f3933cabb2ba
1 #ifndef dlpisubs_h
2 #define dlpisubs_h
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 /*
9 * Private data for capturing on DLPI devices.
11 struct pcap_dlpi {
12 #ifdef HAVE_LIBDLPI
13 dlpi_handle_t dlpi_hd;
14 #endif /* HAVE_LIBDLPI */
15 #ifdef DL_HP_RAWDLS
16 int send_fd;
17 #endif /* DL_HP_RAWDLS */
19 struct pcap_stat stat;
23 * Functions defined by dlpisubs.c.
25 int pcap_stats_dlpi(pcap_t *, struct pcap_stat *);
26 int pcap_process_pkts(pcap_t *, pcap_handler, u_char *, int, u_char *, int);
27 int pcap_process_mactype(pcap_t *, u_int);
28 #ifdef HAVE_SYS_BUFMOD_H
29 int pcap_conf_bufmod(pcap_t *, int);
30 #endif
31 int pcap_alloc_databuf(pcap_t *);
32 int strioctl(int, int, int, char *);
34 #ifdef __cplusplus
36 #endif
38 #endif