summaryrefslogtreecommitdiffstats
path: root/usr.bin/tcpbench/tcpbench.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* If the kmem options are in use, drop the gid earlier.deraadt2015-02-091-10/+11
* Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert2014-11-261-1/+1
* Remove unnecessary include: netinet/in_systm.h is not needed by theselteo2014-10-241-1/+0
* Use reallocarray() to get integer overflow detection.lteo2014-10-161-2/+2
* add -4 and -6 flags for saying if you want to force ipv4 or ipv6dlg2014-08-191-3/+11
* final circleq to tailq fix. restore the previous pointer check by readingtedu2013-12-251-1/+12
* more fixing after circleq conversion. a better fix to check the prevtedu2013-12-241-13/+4
* Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQkrw2013-12-201-4/+4
* handle ECONNABORTED errors from accept(). In many code blocks they can bederaadt2013-03-111-1/+2
* Simplify rtable assignment and cut some crufthaesbaert2012-10-021-22/+5
* When the last user disconnects, make sure we display the status linehaesbaert2012-06-161-4/+5
* Fix double-free when -n is used with -b.haesbaert2012-05-081-1/+2
* Kill "goto again" uppon EINTR and check EWOULDBLOCK in accept(2).haesbaert2012-04-131-19/+7
* Rate-limit accepting of new connections while we are experiencing fdhaesbaert2012-04-071-10/+50
* Remove setpgid() call, this is a leftover from when we were forked.haesbaert2012-01-311-3/+0
* Don't use floating precision while printing PPS in UDP mode.haesbaert2012-01-291-3/+3
* add a timer to tcpbench as a command-line option (-t) sohenning2012-01-261-4/+26
* Don't lie the number of estabilished connections. nconns is the numberhaesbaert2011-12-181-1/+2
* Fix some warnx() calls which should be fprintf plus KNF.haesbaert2011-12-041-5/+5
* Kill unecessary break in UDP_MODE, simplify code a bit by killing somehaesbaert2011-10-071-18/+11
* Sort the lines on -l output and match the order on the column output.haesbaert2011-10-011-40/+41
* Add -b option which allows the client side to bind the socket to ahaesbaert2011-09-091-11/+43
* Allow TOS/TCLASS to be set with -T, accept the same keywords as in pf.conf.haesbaert2011-08-231-4/+98
* event_del() a persistent event; fixes segfault seen on the server when thesthen2011-08-201-0/+1
* Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudiomikeb2011-06-211-12/+18
* various cleanup;jmc2011-03-161-4/+4
* Implement UDP mode for tcpbench and switch tcpbench to use libevent.claudio2011-03-091-427/+461
* Add a few more tcpcb and sockbuffer variables that tcpbench can inspect.claudio2010-10-191-0/+12
* Make -k work in clientmode by passing the right socket to theclaudio2010-09-281-3/+2
* Fix the naming of interfaces and variables for rdomains and rtablesguenther2010-07-031-18/+18
* try not to use size_t in places it does not belong; ok djmderaadt2009-12-111-5/+5
* - adjust usage() to fit in 80 columnssthen2009-09-111-5/+4
* Move connect code out ouf clientloop into own function. This code can beclaudio2009-09-081-22/+32
* There is no need for two getaddrinfo implementations for client and server.claudio2009-09-081-23/+12
* gcc2 hates claudioderaadt2009-08-291-3/+1
* Change the way how the server works. Instead of forking of a child perclaudio2009-08-281-240/+377
* Print a warning when rdomain is used on non-AF_INET sockets. Those areclaudio2009-08-131-2/+4
* Allow tcpbench to bind to a different rdomain.claudio2009-08-131-3/+22
* remove unused variablechl2008-09-181-1/+0
* only update stats when we actually wrote sth, relevant for -n, ok djmhenning2008-08-141-10/+11
* some minor improvements from Pierre Riteau; ok djmjmc2008-06-261-19/+6
* turd polishing (useless chatter removed), ok djmhenning2008-06-151-2/+5
* allow the tcpbench client side to open more than one tcp connectionhenning2008-06-121-67/+102
* fix uninitialised variable; from ray@djm2008-05-151-3/+3
* s/bench/tcpbench/ in usage(); spotted by schellekens.dries AT gmail.comdjm2008-05-091-3/+3
* import tcpbench, a small TCP benchmarking tool that can also sampledjm2008-05-091-0/+829