Commit Graph

493 Commits

Author SHA1 Message Date
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
kaustubhprabhu
7dd1f0cd55 modified reporter callback for floating point errors 2009-07-06 18:37:21 +00:00
kaustubhprabhu
c6ffef11b4 implemented UDP-timer changes , o/p format changes 2009-07-02 01:07:32 +00:00
kaustubhprabhu
8b44cd5a88 implemented code review changes - r100/101, added a check on failure to receive STREAM_END message 2009-06-30 23:41:23 +00:00
kaustubhprabhu
6044ffd6f5 changed reporter callback for udp display, code review comments -99/100 2009-06-30 00:42:33 +00:00
kaustubhprabhu
81a2df59df changed timer_expired function call 2009-06-29 19:30:39 +00:00
kaustubhprabhu
e1634906f1 corrected interval statics calculation 2009-06-29 18:20:40 +00:00
kaustubhprabhu
b406b735e8 added interval_results to linked list 2009-06-27 00:34:38 +00:00
kaustubhprabhu
5ebed4362f added locale.h for standard o/p formats 2009-06-26 01:00:45 +00:00
kaustubhprabhu
5f0a15f96f changed format of reports to default iperf format, added timer functions, added local.h for standard o/p formats 2009-06-26 00:55:56 +00:00
kaustubhprabhu
b890e75d5e added ALL_STREAMS_END message from client to server, changed message communication code for TCP 2009-06-25 19:40:48 +00:00
kaustubhprabhu
368cc7bc7c Corrected message communication memory leak, added result exchange messages for TCP 2009-06-25 00:59:56 +00:00
kaustubhprabhu
16975b3bba added messege communication betweenn client and serverin iperf_api.c, moved state to iperf_settings in iperf_api.h 2009-06-24 00:52:45 +00:00
kaustubhprabhu
d7f56e1528 Changed iperf_udp_send() function : added timer and timer delay calcualation 2009-06-23 00:11:18 +00:00
kaustubhprabhu
aa9ca2689b added function- timer_expired_micro() for timer expiry in microseconds 2009-06-23 00:07:36 +00:00
kaustubhprabhu
6162535684 implemented options -m, -M, -N, -f for command line arguements 2009-06-19 22:35:42 +00:00
kaustubhprabhu
ff4f2d4430 implemented changes in reporter_callback functionality 2009-06-19 00:05:29 +00:00
Jon Dugan
bc3211eea3 moved constants and #define from iperf_api.c to iperf_api.h 2009-06-18 02:40:48 +00:00
Jon Dugan
7b1bded36e significant changes to the iperf structures:
iperf_stream_result now uses two struct timeval's instead of a duration
  bufsize in iperf_settings is now blksize
  iperf_test no longer has remote_addr and local_addr
  iperf_test now uses server_hostname to hold the server name
  listener_port in iperf_test has been renamed server_port
  custom_data in iperf_stream_result is now data (opaque data)
  added an opaque data memeber to iperf_stream, named data

updates to iperf_api.c from the name changes

this simplifies the run client code because we don't have to do so much
footwork for netdial

the calculation for the throughput currently uses test->duration rather than
the difference of the stream_results timevals.
2009-06-18 02:39:13 +00:00
Jon Dugan
4f54b8f91b reformat comments after tab normalization 2009-06-18 02:32:12 +00:00
Jon Dugan
1276da5bdf normalize tabs to 4 spaces 2009-06-18 01:49:38 +00:00
Jon Dugan
e1558c20ad update Makefile to work with iperf_api.c 2009-06-18 01:49:18 +00:00
kaustubhprabhu
12c37dca2f implemented -p (protocol) related changes, added connect_msg() function 2009-06-18 00:07:55 +00:00
kaustubhprabhu
07222cef2f implmented code review changes and stats_callback, reporter_callback functions 2009-06-17 00:01:32 +00:00
kaustubhprabhu
d70a792d6c implemented code review changes from r81 -r87 2009-06-16 18:59:50 +00:00
kaustubhprabhu
c5826da269 added basic stats_callback for -i option 2009-06-16 00:57:29 +00:00
kaustubhprabhu
f05558b01d added function iperf_free_stream() with appropriate contents, changed few references 2009-06-15 23:57:43 +00:00
kaustubhprabhu
ba492bef36 added new field listener_port in iperf_api.h, changed udp_Accept() port assignment in iperf_api.c 2009-06-15 19:43:52 +00:00
kaustubhprabhu
d1dc4db8c2 corrected recv error check condition in server, added Display() function for debug purpose 2009-06-15 17:53:09 +00:00
kaustubhprabhu
116e8bcbcf added iperf_run_client, iperf_tcp_send, iperf_udp_Send and client side changes in iperf_init_test 2009-06-12 22:23:05 +00:00
kaustubhprabhu
2d4dec84ad corrected UDP accept part in iperf_udp_accept 2009-06-12 19:04:37 +00:00
kaustubhprabhu
3a96746bc2 added the tcp window related checks on server side 2009-06-12 00:03:12 +00:00