summaryrefslogtreecommitdiff
path: root/usr.bin/tcpbench
AgeCommit message (Expand)Author
2016-04-06Lose the pointless third paramater to fcntl(F_GETFL). Using SOCK_NONBLOCKKenneth R Westerback
2016-03-28remove unused variableCharles Longeau
2016-03-21Instead of creating a socket with socket() or accept() and thenPhilip Guenther
2015-11-17Normalize Makefile format, and remove bad advice #BINMODE=2555Theo de Raadt
2015-11-13pledge tcpbench, from David Hill, tweaked the -s case.Sebastian Benoit
2015-02-09If the kmem options are in use, drop the gid earlier.Theo de Raadt
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-10-24Remove unnecessary include: netinet/in_systm.h is not needed by theseLawrence Teo
2014-10-16Use reallocarray() to get integer overflow detection.Lawrence Teo
2014-08-19add -4 and -6 flags for saying if you want to force ipv4 or ipv6David Gwynne
2014-02-26Once more, the default routing table id is inherited from the processClaudio Jeker
2013-12-25final circleq to tailq fix. restore the previous pointer check by readingTed Unangst
2013-12-24more fixing after circleq conversion. a better fix to check the prevTed Unangst
2013-12-20Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQKenneth R Westerback
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2012-10-02Simplify rtable assignment and cut some cruftChristiano F. Haesbaert
2012-08-17Don't need this anymore, we have them in bsd.own.mk.Christiano F. Haesbaert
2012-06-16When the last user disconnects, make sure we display the status lineChristiano F. Haesbaert
2012-05-08Fix double-free when -n is used with -b.Christiano F. Haesbaert
2012-04-13Kill "goto again" uppon EINTR and check EWOULDBLOCK in accept(2).Christiano F. Haesbaert
2012-04-07Rate-limit accepting of new connections while we are experiencing fdChristiano F. Haesbaert
2012-01-31Remove setpgid() call, this is a leftover from when we were forked.Christiano F. Haesbaert
2012-01-29Don't use floating precision while printing PPS in UDP mode.Christiano F. Haesbaert
2012-01-26add a timer to tcpbench as a command-line option (-t) soHenning Brauer
2011-12-18Don't lie the number of estabilished connections. nconns is the numberChristiano F. Haesbaert
2011-12-18Typo.Christiano F. Haesbaert
2011-12-04Fix some warnx() calls which should be fprintf plus KNF.Christiano F. Haesbaert
2011-10-07Kill unecessary break in UDP_MODE, simplify code a bit by killing someChristiano F. Haesbaert
2011-10-01Sort the lines on -l output and match the order on the column output.Christiano F. Haesbaert
2011-09-09Add -b option which allows the client side to bind the socket to aChristiano F. Haesbaert
2011-08-23oops! -T snuck into the wrong place...Jason McIntyre
2011-08-23Allow TOS/TCLASS to be set with -T, accept the same keywords as in pf.conf.Christiano F. Haesbaert
2011-08-20event_del() a persistent event; fixes segfault seen on the server when theStuart Henderson
2011-06-21Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudioMike Belopuhov
2011-03-16various cleanup;Jason McIntyre
2011-03-15add DPADD; from bradTheo de Raadt
2011-03-09Implement UDP mode for tcpbench and switch tcpbench to use libevent.Claudio Jeker
2010-10-26add HISTORY and AUTHORS sections.Felix Kronlage
2010-10-19Add a few more tcpcb and sockbuffer variables that tcpbench can inspect.Claudio Jeker
2010-09-28Make -k work in clientmode by passing the right socket to theClaudio Jeker
2010-07-03put .Os in the right place;Jason McIntyre
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
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
2009-09-08Move connect code out ouf clientloop into own function. This code can beClaudio Jeker
2009-09-08There is no need for two getaddrinfo implementations for client and server.Claudio Jeker
2009-08-29gcc2 hates claudioTheo de Raadt
2009-08-28Change the way how the server works. Instead of forking of a child perClaudio Jeker
2009-08-13use Bk/Ek to avoid ugly split in synopsis;Jason McIntyre