Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (32 sloc) 0.702 kb
cb44cb0 @yuguy Support for libdlpi, and for enabling "passive mode" on Solaris systems
yuguy authored
1 #ifndef dlpisubs_h
2 #define dlpisubs_h
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 /*
e9e96bb @guyharris Move platform-dependent pcap_t data out of the pcap_t structure.
guyharris authored
9 * Private data for capturing on DLPI devices.
10 */
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 */
18
19 struct pcap_stat stat;
20 };
21
22 /*
23 * Functions defined by dlpisubs.c.
cb44cb0 @yuguy Support for libdlpi, and for enabling "passive mode" on Solaris systems
yuguy authored
24 */
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);
d9b4202 @yuguy From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
yuguy authored
27 int pcap_process_mactype(pcap_t *, u_int);
cb44cb0 @yuguy Support for libdlpi, and for enabling "passive mode" on Solaris systems
yuguy authored
28 #ifdef HAVE_SYS_BUFMOD_H
48bc6c3 @guyharris Add an API to set "immediate mode".
guyharris authored
29 int pcap_conf_bufmod(pcap_t *, int);
cb44cb0 @yuguy Support for libdlpi, and for enabling "passive mode" on Solaris systems
yuguy authored
30 #endif
d9b4202 @yuguy From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
yuguy authored
31 int pcap_alloc_databuf(pcap_t *);
cb44cb0 @yuguy Support for libdlpi, and for enabling "passive mode" on Solaris systems
yuguy authored
32 int strioctl(int, int, int, char *);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif
Something went wrong with that request. Please try again.