Use TCP_INFO instead of kvm magic to extract information about the tcp streams.
authorclaudio <claudio@openbsd.org>
Mon, 15 Aug 2022 09:06:54 +0000 (09:06 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 15 Aug 2022 09:06:54 +0000 (09:06 +0000)
commit9bbabc61f3e6df3d88025dfac0beaddb480c9260
tree4bfe8170945fb6bfb89abbe11ea521ad07ced7bb
parent306ef6055173613d9c2ce5ecef22e04644ff15bb
Use TCP_INFO instead of kvm magic to extract information about the tcp streams.
Variable names listed by -l change and there is no more need to change
kern.allowkmem. To get all possible values tcpbench still needs to be run
as root.
OK bluhm@ djm@
usr.bin/tcpbench/Makefile
usr.bin/tcpbench/tcpbench.1
usr.bin/tcpbench/tcpbench.c