Commit Graph

493 Commits

Author SHA1 Message Date
sethdelliott
efb7bbe44b Added support for reverse mode (-R for now). 2010-07-01 00:01:57 +00:00
sethdelliott
abfced3c26 Added parameter exchange for MSS, bytes to send, and test duration. 2010-06-30 22:32:17 +00:00
sethdelliott
af70b448ee All communications are now on port 5201 (including streams) 2010-06-30 22:09:45 +00:00
sethdelliott
32885561a4 Server side bug fixes. 2010-06-30 19:57:17 +00:00
sethdelliott
efdc02f743 The server now runs until terminated by the user. Also fixed several memory leaks. 2010-06-30 15:58:16 +00:00
sethdelliott
181d61afab Iperf results are now exchanged between client and server. The server also now prints results. 2010-06-29 22:02:30 +00:00
sethdelliott
43bcc9709c Added iperf_exchange_results function. 2010-06-28 23:56:09 +00:00
sethdelliott
fd10304cbd Updates to Nread/Nwrite in net.c 2010-06-28 22:25:03 +00:00
sethdelliott
4f43111900 Removed unused functions from the iperf api code. 2010-06-26 00:02:22 +00:00
sethdelliott
f0a7395b20 Added usage_long() to iperf_api.h. 2010-06-25 00:33:39 +00:00
sethdelliott
1c9c053c6c Updated code to make '-s' parameter a requirement while running server. Also added usage() and usage_long() functions for printing out iperf usage messages. 2010-06-25 00:31:15 +00:00
sethdelliott
36d18d07fc Fixed a bug that caused control message errors on different platforms. 2010-06-24 22:40:11 +00:00
sethdelliott
29e3ec74c3 Fixed a bug that caused getopt not to work properly when command line arguments are given to the server. 2010-06-24 22:02:24 +00:00
sethdelliott
59aaeda792 Updated parameter exchange to be cross platform compatible. 2010-06-24 20:42:04 +00:00
sethdelliott
7fa9f68fd5 Fixed a bug that caused an error at results display. 2010-06-23 21:34:07 +00:00
sethdelliott
873952e31c Updated reporting to fit the new control socket design. 2010-06-23 20:28:32 +00:00
sethdelliott
465b565c50 New control socket design now works. Now working on finishing up the reporting. 2010-06-23 19:13:37 +00:00
sethdelliott
ba2672a209 Note: The redesign is almost working. Should be finished shortly. 2010-06-21 15:08:47 +00:00
sethdelliott
982c704a8a NOTE: This is not a working revision. I'm in the process of redesigning how the client and server communicate. It will be fixed soon 2010-06-18 21:08:50 +00:00
sethdelliott
ff385f98e9 Fixed format and improved readibility of timer.c functions. Also formalized timer.h header. 2010-06-16 21:48:20 +00:00
sethdelliott
3e402adeb7 Updated reporter callback, interval report, and the tcp info report to print out its message rather than allocating memory. 2010-06-16 20:32:01 +00:00
sethdelliott
ccb086576f Updated iperf_reporter_callback to print out its message rather than returning a pointer to it 2010-06-15 23:33:32 +00:00
sethdelliott
2d8bc019f7 Fixed client side code to be more module and follow state diagram. 2010-06-15 22:26:12 +00:00
sethdelliott
aebbe3a08f Updated the client code to behave like the state machine for TEST_START 2010-06-14 23:49:41 +00:00
Jon Dugan
e088d2d305 move the parameter exchange into iperf_run_client() where it belongs; propogate return status 2010-02-09 07:29:13 +00:00
AaronMatthewBrown
a067fb27c2 Modify auto* scripts to handle the different uuid libraries/headers. 2009-12-10 14:20:48 +00:00
Jon Dugan
79e6f22912 remove svn:executable from locale.[ch] 2009-12-10 08:08:00 +00:00
AaronMatthewBrown
87ed7d6eb9 Silence an automake warning on debian systems. 2009-12-08 21:40:21 +00:00
AaronMatthewBrown
f4a3ddaae6 Add an initial autotools setup.
The main iperf binary is compiled, along with a static libiperf, the unit
tests, and a profiled iperf binary.

The tests, and the profiled iperf binary do not get installed.

To compile, run:

./bootstrap.sh
./configure
make

It has all the normal make options (they come mostly for free). e.g.:

You can run "make install" to install it.
You can run "make dist" which will create a distribution tarball.
You can run "make check" to run all the tests.

I backed up the existing Makefile as "src/Makefile.old" in case folks want to
use that still.
2009-12-08 21:36:24 +00:00
Jon Dugan
d768f73dce more cleanup and rearrangement 2009-12-02 02:08:47 +00:00
Jon Dugan
27f1f3508e move man page into src dir 2009-12-02 02:06:16 +00:00
Jon Dugan
536a0804dc remove old, obsolete cruft 2009-12-02 02:05:36 +00:00
Jon Dugan
90f2aa7216 Make the iperf3 code the trunk. 2009-12-02 01:22:48 +00:00
Brian Tierney
5fa2f3b044 some cleanup, updates 2009-11-20 23:43:53 +00:00
Brian Tierney
78379b172e more Makefile updates 2009-11-20 23:27:54 +00:00
Brian Tierney
ca3ed92e2b better 'make dist' command (still could be better yet) 2009-11-20 23:22:44 +00:00
Brian Tierney
380c769248 fixed bug in final stats summary calculation 2009-11-20 23:13:35 +00:00
Brian Tierney
54cdc61e24 fixed bug where -T flag without -i flag caused core dump 2009-11-20 23:04:23 +00:00
Brian Tierney
6796ba135a fixed minor issue with server stats 2009-11-20 22:38:47 +00:00
Brian Tierney
fda84f3feb fixed bug in server side thoughput calculation 2009-11-20 22:20:10 +00:00
Brian Tierney
6146bde494 fixed stats computation 2009-11-17 18:44:01 +00:00
Brian Tierney
d033e8cefc more valgrind-based cleanup of memory usage 2009-11-16 20:26:20 +00:00
Brian Tierney
dfb2d9d470 some memory usage cleanup based on valgrind report 2009-11-16 20:10:48 +00:00
Brian Tierney
f4e1c1d4a4 fixes for -T mode 2009-11-16 02:50:24 +00:00
Brian Tierney
01a5081d51 working on fixing TCP_INFO, in progress 2009-11-16 01:58:22 +00:00
Brian Tierney
5ed85b8fa1 a bit more cleanup 2009-11-15 17:06:16 +00:00
Brian Tierney
1882b9cb65 turned off some debug code, and fixed a bug in interval times 2009-11-15 04:47:19 +00:00
Brian Tierney
97887027e7 completely reworked stats collection/display code. Mostly working again, and much more readable. 2009-11-15 04:29:47 +00:00
Brian Tierney
b9cef2e24c cleanup of interval_results linked list and stats_callback function. Now uses
a pointer to the last element so doesnt walk the list every time.
2009-11-13 20:14:06 +00:00
Brian Tierney
70866d6dc0 some fixes/cleanup for Linux 2009-11-13 19:20:52 +00:00