summaryrefslogtreecommitdiffstats
path: root/include/active_hosts.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/active_hosts.h')
-rw-r--r--include/active_hosts.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/include/active_hosts.h b/include/active_hosts.h
index 9635032..757d15c 100644
--- a/include/active_hosts.h
+++ b/include/active_hosts.h
@@ -66,8 +66,10 @@
*/
struct Iperf_ListEntry {
iperf_sockaddr host;
- struct SumReport *sum_report;
+ iperf_sockaddr multicast;
+ struct SumReport *sumreport;
int thread_count;
+ int gid;
#if WIN32
SOCKET socket;
#else
@@ -78,10 +80,13 @@ struct Iperf_ListEntry {
struct Iperf_Table {
Mutex my_mutex;
- struct Iperf_ListEntry *root;
- int count;
- int total_count;
+ struct Iperf_ListEntry *sum_root;
+ struct Iperf_ListEntry *flow_root;
int groupid;
+#if HAVE_THREAD_DEBUG
+ int sum_count;
+ int flow_count;
+#endif
};
/*
@@ -89,7 +94,6 @@ struct Iperf_Table {
*/
void Iperf_initialize_active_table (void);
void Iperf_destroy_active_table (void);
-int Iperf_push_host (struct thread_Settings *agent);
-int Iperf_push_host_port_conditional (struct thread_Settings *agent);
+bool Iperf_push_host (struct thread_Settings *agent);
void Iperf_remove_host (struct thread_Settings *agent);
#endif