summaryrefslogtreecommitdiff
path: root/usr.bin/tcpbench/tcpbench.c
AgeCommit message (Collapse)Author
2010-09-28Make -k work in clientmode by passing the right socket to theClaudio Jeker
stats_prepare() function.
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
2009-12-11try not to use size_t in places it does not belong; ok djmTheo de Raadt
2009-09-11- adjust usage() to fit in 80 columnsStuart Henderson
- re-order client options in usage() to match server options and the manual, as suggested by jmc. ok jmc@
2009-09-08Move connect code out ouf clientloop into own function. This code can beClaudio Jeker
reused by the upcomming UDP mode. OK henning
2009-09-08There is no need for two getaddrinfo implementations for client and server.Claudio Jeker
Merge them and make the client code look more like the server one. OK henning@
2009-08-29gcc2 hates claudioTheo de Raadt
2009-08-28Change the way how the server works. Instead of forking of a child perClaudio Jeker
connection do multiplexing via poll(2). This allows to use more concurrent connections and to specify additional kvm data to fetch. This was all done by Christiano Farina Haesbaert (christiano.fh gmail dot com) plus some input by myself. OK henning@
2009-08-13Print a warning when rdomain is used on non-AF_INET sockets. Those areClaudio Jeker
currently not supported. Requested by djm sort of.
2009-08-13Allow tcpbench to bind to a different rdomain.Claudio Jeker
OK sthen, djm and maybe more
2008-09-18remove unused variableCharles Longeau
sure henning@
2008-08-14only update stats when we actually wrote sth, relevant for -n, ok djmHenning Brauer
From: Pierre Riteau <pierre.riteau@gmail.com>
2008-06-26some minor improvements from Pierre Riteau; ok djmJason McIntyre
2008-06-15turd polishing (useless chatter removed), ok djmHenning Brauer
2008-06-12allow the tcpbench client side to open more than one tcp connectionHenning Brauer
to the server and use them simultaniously. ok djm ryan
2008-05-15fix uninitialised variable; from ray@Damien Miller
2008-05-09s/bench/tcpbench/ in usage(); spotted by schellekens.dries AT gmail.comDamien Miller
2008-05-09import tcpbench, a small TCP benchmarking tool that can also sampleDamien Miller
relevant kernel variables via kvm(3) ok dlg@ deraadt@