11 #ifndef __PCAP_UTIL_INT_H__ 12 #define __PCAP_UTIL_INT_H__ 14 extern if_info_t *if_info_new(
const char *name,
const char *description,
16 extern void if_info_add_address(
if_info_t *if_info,
struct sockaddr *addr);
17 #ifdef HAVE_PCAP_FINDALLDEVS 18 #ifdef HAVE_PCAP_REMOTE 19 extern GList *get_interface_list_findalldevs_ex(
const char *source,
20 struct pcap_rmtauth *auth,
int *err,
char **err_str);
22 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);
40 char (*open_err_str)[PCAP_ERRBUF_SIZE]);
41 #ifdef HAVE_PCAP_CREATE 44 extern pcap_t *open_capture_device_pcap_create(
capture_options *capture_opts,
46 char (*open_err_str)[PCAP_ERRBUF_SIZE]);
50 extern pcap_t *open_capture_device_pcap_open_live(
interface_options *interface_opts,
51 int timeout,
char (*open_err_str)[PCAP_ERRBUF_SIZE]);
58 extern gchar *cant_get_if_list_error_message(
const char *err_str);
Definition: capture_ifinfo.h:83
Definition: capture_opts.h:201
Definition: capture_ifinfo.h:37
Definition: capture_opts.h:249