Commit Graph

624 Commits

Author SHA1 Message Date
Brian Tierney
146be079ba added comment on lack of portability 2009-10-24 20:43:06 +00:00
Brian Tierney
d56546318e add comment 2009-10-23 23:01:46 +00:00
Brian Tierney
a1eb8922d3 TCP_INFO seems to be working on FreeBSD now 2009-10-23 22:58:32 +00:00
Brian Tierney
c0c797b0eb some cleanup for FreeBSD, and further work on TCP_INFO (not finished) 2009-10-23 22:30:17 +00:00
Brian Tierney
d842bb6c9c some minor cleanup 2009-10-23 19:14:17 +00:00
Brian Tierney
6f5723846d lots more cleanup. Seems to work for single stream TCP now. UDP broke. Parallel TCP not tested 2009-10-23 01:30:55 +00:00
Brian Tierney
a725333452 more cleanup; TCP works again now, lots of debug messages still in there 2009-10-22 20:12:57 +00:00
Brian Tierney
c00858d228 added Nread and Nwrite routines, as alternatives to recv 2009-10-22 20:12:27 +00:00
Brian Tierney
657083f27f more cleanup, lots of comments/questions/debug code added, currently broken 2009-10-20 16:56:02 +00:00
Brian Tierney
371c23d833 now compiles on FreeBSD, and fixed -h option 2009-10-20 03:33:50 +00:00
Brian Tierney
b25e5235cb updates/bug fixes (still not done) 2009-10-20 00:07:42 +00:00
Brian Tierney
540d2ae4c2 starting adding TCP_INFO stuff. Not yet tested or finished 2009-10-19 23:44:36 +00:00
Brian Tierney
e434aab6a2 code cleanup: used 'indent' to enforce consistant style 2009-10-19 22:35:18 +00:00
kaustubhprabhu
2d62ee81b2 removed extra log prints 2009-08-13 23:16:06 +00:00
kaustubhprabhu
702c882fe2 added support for abrupt termination Ctrl+c 2009-08-10 21:57:52 +00:00
kaustubhprabhu
27a5c9f3ec changed TCP payload buffer assignment 2009-08-08 00:37:28 +00:00
kaustubhprabhu
aadd324191 corrected interval [sum] bandwidth 2009-08-06 21:22:44 +00:00
kaustubhprabhu
f2eccde89e changed tcp payload to normal for performance improvement 2009-08-06 21:00:03 +00:00
kaustubhprabhu
7ec1259bd7 added setpriority to increase the priority of execution 2009-08-06 20:29:22 +00:00
kaustubhprabhu
7e97b90df5 replaced malloc()for buffer in send() with sp->buffer in stream 2009-08-06 20:26:59 +00:00
kaustubhprabhu
b359357773 changed default window size assignment in iperf_init_test() 2009-08-03 22:20:45 +00:00
kaustubhprabhu
4cb629896a changed recv window assignment, added non-blocking sockets on server side 2009-08-03 20:14:08 +00:00
kaustubhprabhu
c434311b0d changed default port assignment in main() 2009-07-29 21:16:52 +00:00
kaustubhprabhu
675aadd72a simplified main() 2009-07-29 00:30:52 +00:00
kaustubhprabhu
c5038eea0a disabled timer for -n option 2009-07-28 20:21:30 +00:00
kaustubhprabhu
5212846ff4 added -n option for bytes to be sent, added function headers in iperf_api.h 2009-07-28 18:39:18 +00:00
kaustubhprabhu
62aab8d53d corrected blksize in result exchange messages, removed unncessary conditions in reporter callback 2009-07-27 23:01:31 +00:00
kaustubhprabhu
d47cf1d204 added cookie in all state messages, changed tcp payload, changed receive_result_from_server 2009-07-27 22:05:49 +00:00
Jon Dugan
6f6716aed1 rework iperf_run using switch statement; add missing break from arg processing 2009-07-24 21:30:17 +00:00
Jon Dugan
a28983bbe1 fix linux compilation (needed -luuid); linux doesn't define FD_COPY, use memcpy instaed; formatting fixes 2009-07-24 21:06:16 +00:00
Jon Dugan
a613b6a3b6 fix formatting 2009-07-24 21:01:48 +00:00
kaustubhprabhu
40a1df10c1 changed cookie as a string in struct iperf_setting, param_exchange and in Param_exchange message 2009-07-24 18:21:50 +00:00
Jon Dugan
aa3ad76730 rework uuids; rework Makefile 2009-07-23 18:22:24 +00:00
Jon Dugan
a294fbda37 remove autoconf goop 2009-07-23 16:14:36 +00:00
kaustubhprabhu
e7c1d33fce added uuid related functions, added macros for compilation on FreeBSD 2009-07-23 00:34:57 +00:00
kaustubhprabhu
89fe565493 added PARAM_Exchange messages and cookies to prevent test collisions 2009-07-21 23:28:18 +00:00
Jon Dugan
7b63081921 client select was reusing fd_set; use FD_COPY to copy fd_sets 2009-07-21 20:16:09 +00:00
Jon Dugan
955db52cda always report bytes transferred in units of bytes, data rates still use the -f option 2009-07-21 19:00:54 +00:00
kaustubhprabhu
8bc20ef280 added iperf_free_test() and changed server side code in main() 2009-07-20 19:13:08 +00:00
kaustubhprabhu
cbd16a325f bug fix:name resolution issue, TCP reception corrected by adding MSG_WAITALL flag in recv function 2009-07-16 23:17:05 +00:00
kaustubhprabhu
254a65cf73 regular EOD backup, TCP/UDP payload converted to network address format by client 2009-07-16 00:45:24 +00:00
kaustubhprabhu
04b7ffa70f changed TCP Payload assignment, added a sleep() betweeen ALL_STREAM_END and RESULT_REQUEST message to ensure server gets both messages 2009-07-15 01:00:27 +00:00
kaustubhprabhu
3023ce6ec5 corrected interval byte count mismatch, corrected out of order packet count 2009-07-13 21:50:08 +00:00
kaustubhprabhu
fea54f51f7 omitted STREAM_BEGIN message from bytes calculation 2009-07-13 18:44:18 +00:00
kaustubhprabhu
48b0f1a334 added lost UDP packet count, added timeval struct for intervals measurement 2009-07-11 00:09:23 +00:00
kaustubhprabhu
f4ca73a1b1 added udp jitter/packet count calculation 2009-07-09 23:44:05 +00:00
kaustubhprabhu
71a7ccf6d3 minor changes and packet payloads changed 2009-07-08 22:57:43 +00:00
kaustubhprabhu
6b65cf6e25 removed memory leaks from reporter callback 2009-07-08 00:44:00 +00:00
kaustubhprabhu
515e2f6e2c added listener socket for UDP. This allows server to listen for TCP/UDP on same port 2009-07-07 00:37:47 +00:00
kaustubhprabhu
a428063b8b simplified reporter callback by removing conditional assignments 2009-07-06 21:29:23 +00:00