12#ifndef __PCAP_UTIL_INT_H__
13#define __PCAP_UTIL_INT_H__
15extern if_info_t *if_info_new(
const char *name,
const char *description,
18#ifdef HAVE_PCAP_REMOTE
19extern 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);
23extern GList *get_interface_list_findalldevs(
int *err,
char **err_str);
26 cap_device_open_status *status,
char **status_str);
29 cap_device_open_status *open_status,
30 char (*open_status_str)[PCAP_ERRBUF_SIZE]);
31#ifdef HAVE_PCAP_CREATE
33 cap_device_open_status *status,
char **status_str);
34extern pcap_t *open_capture_device_pcap_create(
capture_options *capture_opts,
36 cap_device_open_status *open_status,
37 char (*open_status_str)[PCAP_ERRBUF_SIZE]);
40 cap_device_open_status *status,
char **status_str);
41extern pcap_t *open_capture_device_pcap_open_live(
interface_options *interface_opts,
42 int timeout, cap_device_open_status *open_status,
43 char (*open_status_str)[PCAP_ERRBUF_SIZE]);
50extern char *cant_get_if_list_error_message(
const char *err_str);
57extern const char *get_pcap_failure_secondary_error_message(cap_device_open_status open_status,
58 const char *open_status_str);
Definition capture_opts.h:248
Definition capture_ifinfo.h:43
Definition capture_ifinfo.h:57
Definition capture_opts.h:196