]> git.meshlink.io Git - meshlink/blobdiff - src/sptps_test.c
Estimate RTT, bandwidth and packet loss between nodes.
[meshlink] / src / sptps_test.c
index 0511a13a65711d393c1d17ea34b0645fa9f8d6e5..9db63ff3985cbcf51b50fa202731958e03911e01 100644 (file)
@@ -1,6 +1,6 @@
 /*
     sptps_test.c -- Simple Peer-to-Peer Security test program
-    Copyright (C) 2011 Guus Sliepen <guus@tinc-vpn.org>,
+    Copyright (C) 2011-2012 Guus Sliepen <guus@tinc-vpn.org>,
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -29,6 +29,7 @@ bool send_request(void *c, const char *msg, ...) { return false; }
 struct list_t *connection_list = NULL;
 bool send_meta(void *c, const char *msg , int len) { return false; }
 char *logfilename = NULL;
+struct timeval now;
 
 ecdsa_t mykey, hiskey;