summaryrefslogtreecommitdiff
path: root/usr.bin/tcpbench
AgeCommit message (Expand)Author
2020-02-12Standardize argument naming for "sourceaddr" and unify the wording a bit,Ingo Schwarze
2019-11-26Prevent divide-by zero in tcpbench(1). Found while testing iwm(4).Stefan Sperling
2018-09-28If tpcbench(8) is startet with -r0 it does not print statistics.Alexander Bluhm
2018-09-28Fix white spaces.Alexander Bluhm
2018-08-08In the early pledge, add "unveil" to permit changes a little later on.Theo de Raadt
2018-05-22drop unnecessary timerclear; tv_sec & tv_usec are assigned immediatelycheloha
2018-05-10more errx -> err, from schwarze@Sebastian Benoit
2018-05-10Do not mention TCP in tcpbench comments and error messages regardingAlexander Bluhm
2018-05-10print strdup error with err(). From Nan Xiao nan AT chinadtrace DOTSebastian Benoit
2018-05-09consistent verb form; from nan xiaoJason McIntyre
2017-07-09remove redundant variable declarations in Makefiles, since those areMarc Espie
2016-09-25Document the dependency on sysctl kern.allowkmemTheo de Raadt
2016-09-19Add OpenBSD RCS id.Alexander Bluhm
2016-07-21zap trailing whitespace;Jason McIntyre
2016-07-21Add AF_UNIX support to tcpbench and also make it possible to randomize theClaudio Jeker
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