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
kaustubhprabhu
24b42564ea
changed TCP/UDP server code in accordance with Jon's last commit
2009-06-11 22:18:19 +00:00
Jon Dugan
930b564653
add new_stream and accept callbacks to iperf_test
...
remove init callback from iperf_stream
rework client initialization to take advantage of new_stream callback
2009-06-11 06:55:00 +00:00
Jon Dugan
c2b87ef8d9
rename functions with _create_ to _new_
...
rename functions with _destroy_ to _free_
collapse settings into a single struct for simplicity
rework iperf_new_udp_stream, iperf_new_tcp_stream
2009-06-11 06:36:53 +00:00
kaustubhprabhu
c6f24137f1
changed newlty created APIs for Server side
2009-06-11 01:18:18 +00:00
kaustubhprabhu
6c6757c6f8
Added more APIs for iperf_api.c and changed main.c for comments and log
2009-06-10 00:23:21 +00:00
kaustubhprabhu
061af7d9aa
created new iperf_api.c with functions defined in iperf_api.h
2009-06-09 00:03:37 +00:00
kaustubhprabhu
b085d6d102
created new iperf_api.c with functions defined in iperf_api.h
2009-06-09 00:00:30 +00:00
kaustubhprabhu
9f62884d32
Split Server function in TCP/UDP related functions
2009-06-05 22:00:10 +00:00
kaustubhprabhu
5633640e37
Updated Client side code with Select
2009-06-03 21:04:32 +00:00
kaustubhprabhu
db1760105f
changed the linked list functions
2009-06-02 22:06:49 +00:00
kaustubhprabhu
beec2717ab
changed the linked list functions
2009-06-02 21:26:58 +00:00
kaustubhprabhu
4bd06c53f0
changed code for Select API
2009-06-02 01:13:26 +00:00
Jon Dugan
ff5411c68d
initial whack at iperf API -- still rough
2009-05-30 01:21:44 +00:00
Jon Dugan
56cb7ca790
pass settings rather than using a global
2009-02-24 09:44:14 +00:00
Jon Dugan
bc495fb9f7
fix UNIT_LEN
...
tweak format in unit_snprintf
2009-02-24 09:43:27 +00:00
Jon Dugan
e92877004e
add unit conversion and formatting from old code. remove hungarian gobbledeygook
2009-02-24 08:05:14 +00:00
Jon Dugan
d18ce8e918
bring over old unit converting functions
2009-02-24 06:25:08 +00:00
Jon Dugan
0fdaab072e
initial commit of new code
2009-02-24 06:22:58 +00:00
Jon Dugan
38e1acb706
move old source out of the way, we'll cherry pick some stuff back
2009-02-24 06:19:03 +00:00
Jon Dugan
9081604ec5
create a branch for rewrite of iperf -- dubbed iperf 3
2009-02-24 06:05:42 +00:00
Jon Dugan
b99858c29e
move windows service cruft into service.c
2009-01-24 10:52:31 +00:00
Jon Dugan
bd8c92d8f6
merged Gerrit's nanosleep patch
...
tweaked type of currLen as fixup for Nathan's patch
2008-05-10 03:18:35 +00:00