} interface_type;
#ifdef HAVE_PCAP_REMOTE
-struct remote_host {
+struct remote_host_info {
gchar *remote_host; /**< Host name or network address for remote capturing */
gchar *remote_port; /**< TCP port of remote RPCAP server */
gint auth_type; /**< Authentication type */
typedef struct remote_options_tag {
capture_source src_type;
- struct remote_host remote_host_opts;
+ struct remote_host_info remote_host_opts;
#ifdef HAVE_PCAP_SETSAMPLING
capture_sampling sampling_method;
int sampling_param;
{
GtkTreeModel *model;
GtkTreeIter iter;
- struct remote_host *rh;
+ struct remote_host_info *rh;
gboolean create_new = FALSE;
gchar *string;
guint i, pos = REMOTE_HOST_START;
recent_print_remote_host (gpointer key _U_, gpointer value, gpointer user)
{
FILE *rf = user;
- struct remote_host *ri = value;
+ struct remote_host_info *ri = value;
fprintf (rf, RECENT_KEY_REMOTE_HOST ": %s,%s,%d\n", ri->remote_host, ri->remote_port, ri->auth_type);
}
{
GList *vals = prefs_get_string_list (s);
GList *valp = vals;
- struct remote_host *rh;
+ struct remote_host_info *rh;
gint auth_type;
char *p;