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
Jon Dugan
0c9092408e
added patch to address underflow when -n is not a multiple of -l
...
from Nathan Jones: https://sourceforge.net/tracker/index.php?func=detail&aid=1943432&group_id=128336&atid=711373
2008-05-10 02:26:48 +00:00
Jon Dugan
7566010019
bumped version number on trunk to 2.1-CURRENT
2008-04-09 00:15:31 +00:00
Jon Dugan
2c094e1e14
print report headers only once
...
use correct report header for UDP tests
2008-04-09 00:08:11 +00:00
Jon Dugan
1f11f10308
rebuild Makefile.in to include COPYING
2008-04-08 03:40:17 +00:00
Jon Dugan
5439ecd5e0
rename LICENSE to COPYING for autotools convienence
2008-04-08 03:37:30 +00:00
Jon Dugan
b2e02ac17e
* Add man page to autoconf goo
...
* Bump the version in autoconf
* Add missing LICENSE file
2008-04-08 03:32:45 +00:00
Jon Dugan
1e12002c82
worked in Claus Klein's help string patches
...
removed silly #error from the congestion patch
preliminary manpage (!)
bumped version number to 2.0.4
changed email address to iperf-users@lists.sourceforge.net
removed duplicate help strings
2008-04-02 08:25:36 +00:00
Jon Dugan
9889143ebe
ChangeLog update for last commit
2008-03-19 22:24:19 +00:00
Jon Dugan
62bb2588af
Stephen Hemminger's congestion control patch for Linux
2008-03-19 22:23:26 +00:00
Jon Dugan
1d560e15c4
commit Stephen Hemminger's Linux theading improvements
2008-03-19 22:17:13 +00:00
Jon Dugan
8533afdf9d
bump version
2008-03-19 03:51:50 +00:00
Jon Dugan
4ca10dd877
Rework Client::RunTCP so to update the stats for every packet if -i is set.
...
If -i is not set then the stats are only updated at the end of the run. This
was fallout of Andrew's patch.
2008-03-12 21:55:22 +00:00