12 #ifndef __PCAP_UTIL_INT_H__
13 #define __PCAP_UTIL_INT_H__
15 extern if_info_t *if_info_new(
const char *name,
const char *description,
18 #ifdef HAVE_PCAP_REMOTE
19 extern GList *get_interface_list_findalldevs_ex(
const char *hostname,
20 const char *port,
int auth_type,
const char *username,
const char *passwd,
21 int *err,
char **err_str);
23 extern GList *get_interface_list_findalldevs(
int *err,
char **err_str);
25 #ifdef HAVE_PCAP_SET_TSTAMP_PRECISION
33 extern void request_high_resolution_timestamp(pcap_t *pcap_h);
37 cap_device_open_status *status,
char **status_str);
40 cap_device_open_status *open_status,
41 char (*open_status_str)[PCAP_ERRBUF_SIZE]);
42 #ifdef HAVE_PCAP_CREATE
44 cap_device_open_status *status,
char **status_str);
45 extern pcap_t *open_capture_device_pcap_create(
capture_options *capture_opts,
47 cap_device_open_status *open_status,
48 char (*open_status_str)[PCAP_ERRBUF_SIZE]);
51 cap_device_open_status *status,
char **status_str);
52 extern pcap_t *open_capture_device_pcap_open_live(
interface_options *interface_opts,
53 int timeout, cap_device_open_status *open_status,
54 char (*open_status_str)[PCAP_ERRBUF_SIZE]);
61 extern char *cant_get_if_list_error_message(
const char *err_str);
Definition: capture_opts.h:250
Definition: capture_ifinfo.h:102
Definition: capture_ifinfo.h:42
Definition: capture_opts.h:198