]> sjero.net Git - iperf/blobdiff - include/List.h
Native IPv6 support for iperf
[iperf] / include / List.h
index 13ec44cc22c18dbc63a0986563b6c1102a8572d8..326be4b5fced9bf9d3347d8599d64d233c35e425 100644 (file)
@@ -62,8 +62,6 @@
  * List handling utilities to replace STD vector
  */
 
-struct Iperf_ListEntry;
-
 /*
  * A List entry that consists of a sockaddr
  * a pointer to the Audience that sockaddr is
@@ -71,7 +69,7 @@ struct Iperf_ListEntry;
  * entry
  */
 struct Iperf_ListEntry {
-    iperf_sockaddr data;
+    struct sockaddr_storage data;
     MultiHeader *holder;
     thread_Settings *server;
     Iperf_ListEntry *next;
@@ -85,12 +83,12 @@ extern Iperf_ListEntry *clients;
  */
 void Iperf_pushback ( Iperf_ListEntry *add, Iperf_ListEntry **root );
 
-void Iperf_delete ( iperf_sockaddr *del, Iperf_ListEntry **root );
+void Iperf_delete ( struct sockaddr_storage *del, Iperf_ListEntry **root );
 
 void Iperf_destroy ( Iperf_ListEntry **root );
 
-Iperf_ListEntry* Iperf_present ( iperf_sockaddr *find, Iperf_ListEntry *root );
+Iperf_ListEntry* Iperf_present ( struct sockaddr_storage *find, Iperf_ListEntry *root );
 
-Iperf_ListEntry* Iperf_hostpresent ( iperf_sockaddr *find, Iperf_ListEntry *root );
+Iperf_ListEntry* Iperf_hostpresent ( struct sockaddr_storage *find, Iperf_ListEntry *root );
 
 #endif