summaryrefslogtreecommitdiff
path: root/usr.bin/tcpbench
AgeCommit message (Expand)Author
2024-03-21Fix white space. OK tobhe@Alexander Bluhm
2023-05-22Remove unused variable kerr.Tobias Heider
2023-05-22Remove duplicate entries in kvars.Alexander Bluhm
2022-08-15Use TCP_INFO instead of kvm magic to extract information about the tcp streams.Claudio Jeker
2022-08-06Use NI_MAXHOST and NI_MAXSERV constants to allocate temporary stringsAlexander Bluhm
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2021-02-04Implement the nc(1) -D socket debug option also in tcpbench(1).Alexander Bluhm
2020-05-04tcpbench: display stats on SIGINFO, not just at exit. ok tb@ procter@ deraadt@Stuart Henderson
2020-05-02Add ping(1)-like summary statistics.Richard Procter
2020-05-02Add ping(1)-like summary statistics.Richard Procter
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