diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-12-04 11:19:29 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-12-04 11:19:29 +0000 |
commit | 08bbd29c71b8068e419f95a7a8cb7332ef0a3a3d (patch) | |
tree | f0bdb59e0947e9cfeac882b6b58a4753af6511be /capture-pcap-util-int.h | |
parent | 48537a7a6505e68faadbed9837a4159c2758d442 (diff) | |
download | wireshark-08bbd29c71b8068e419f95a7a8cb7332ef0a3a3d.tar.gz wireshark-08bbd29c71b8068e419f95a7a8cb7332ef0a3a3d.tar.bz2 wireshark-08bbd29c71b8068e419f95a7a8cb7332ef0a3a3d.zip |
Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)
- retrieving the list of remote PCAP interfaces
- password authentication support
- UDP data fransfer
- packet sampling (available in WinPcap 4.x)
etc.
fix problem if non-default rpcap port is used
svn path=/trunk/; revision=23750
Diffstat (limited to 'capture-pcap-util-int.h')
-rw-r--r-- | capture-pcap-util-int.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/capture-pcap-util-int.h b/capture-pcap-util-int.h index 3ab330aedd..ccdd54dfdb 100644 --- a/capture-pcap-util-int.h +++ b/capture-pcap-util-int.h @@ -26,12 +26,23 @@ #define __PCAP_UTIL_INT_H__ #ifdef HAVE_LIBPCAP +#ifdef HAVE_PCAP_REMOTE +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include <pcap.h> +#endif extern if_info_t *if_info_new(char *name, char *description); extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr); #ifdef HAVE_PCAP_FINDALLDEVS +#ifdef HAVE_PCAP_REMOTE +extern GList *get_interface_list_findalldevs_ex(const char *source, + struct pcap_rmtauth *auth, int *err, char **err_str); +#else extern GList *get_interface_list_findalldevs(int *err, char **err_str); #endif +#endif /* * Get an error message string for a CANT_GET_INTERFACE_LIST error from |