summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
AgeCommit message (Expand)Author
2021-12-05sys/select.h is not needed, if howmany/NBBY are needed they will arriveTheo de Raadt
2021-11-29local copy of roundup() means no more sys/param.hTheo de Raadt
2021-11-21Add the new `ipsec_exctdb' ipsec(4) counter to count and expose to theVitaliy Makkoveev
2021-03-17Netstat wants to access kernel internal structures for the kvm walker ofClaudio Jeker
2021-01-26satisfy -fno-common, by (1) copying all the variable decls fromTheo de Raadt
2021-01-26sockb variable is unused (and even worse, was common unused)Theo de Raadt
2021-01-24Add missing __KAME__ markers.Florian Obser
2021-01-17Replace SB_KNOTE and sb_flagsintr with direct checking of klist.Visa Hankala
2021-01-16Unle recover the scope_id from a possible embedded scope if the scope_idClaudio Jeker
2021-01-02Add missing .Cm macros to the Address Family table.Ingo Schwarze
2021-01-02Markup route flags such that apropos(1) finds themkn
2020-12-29getifaddrs() can return entries where ifa_addr is NULL. Check for thisSebastian Benoit
2020-12-23Print specific headline for TCP state and IP protocol in netstat.Alexander Bluhm
2020-09-15"Route show" and "netstat -r" provide formatting for routing tables withpamela
2020-07-18oops - the description of -i had a similarly incorrect text as -I concerningJason McIntyre
2020-07-18the text describing the effect of -f on -I is apparently wrong - no such codeJason McIntyre
2020-06-16rework SYNOPSIS/usage() to show better the various use formats,Jason McIntyre
2020-06-12Remove superflous space I added with my last commit.remi
2020-06-12update usage() with -R.remi
2020-06-12Add -R to show a summary of rdomains with associated interfaces and tables.remi
2020-01-15Print the correct field, sb_timeo has been replaced by sb_timeo_nsecs.Martin Pieuchot
2019-12-08Make sure packet destination address matches interface address,Alexandr Nedvedicky
2019-09-02The output of netstat -g was mangled. Fix header line and printAlexander Bluhm
2019-07-16Prevent integer overflow in kernel and userland when checking mbufAlexander Bluhm
2019-07-12Count the number of TCP SACK options that were dropped due to theAlexander Bluhm
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-13Do memory size calculations as unsigned long. OtherwiseAlexander Bluhm
2019-05-10Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>Philip Guenther
2019-04-28Fix reading route entries via kvm(3).Martin Pieuchot
2019-04-20The rip6 checksum errors are accounted per socket. So the no socketAlexander Bluhm
2019-04-17signpost the location of the text explaining routing table output a little be...Jason McIntyre
2019-04-17remove some unneccessary baggage: Nm does not require an argument,Jason McIntyre
2019-03-05add -e to usage; while here, change the argument name to -T from tableidJason McIntyre
2019-03-04when showing interface stats, combine the queue drops with errors as failsDavid Gwynne
2018-12-18With option -l, show only UDP sockets that can receive packets fromSebastian Benoit
2018-11-19Utilize sigio with sockets.Visa Hankala
2018-08-31Dont print "default" for "0.0.0.0" if it is a host route.YASUOKA Masahiko
2018-08-13Print global IPsec counters.Martin Pieuchot
2018-07-13Use "rtable" not "tableid" as argument name for rtablekn
2018-06-04Zap unused mifi_t.kn
2018-06-04Zap unused sockaddr.kn
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2018-04-26AF_LOCAL is #define-non-grata; 'local' is 'unix'Philip Guenther
2018-01-05No need for <sys/socketvar.h>Martin Pieuchot
2017-11-07Convert all the fields of {ah,esp,ipcomp}stat to uint64.Visa Hankala
2017-10-28Bring "netstat -m" output up to speed with the kernelMike Belopuhov
2017-10-25Remove the TCP_FACK option and associated #if{,n}def code.job
2017-08-12add option -l to show only listening sockets (for tcp)Sebastian Benoit
2017-07-27uint32_t is never < 0; pointed out by clang.Florian Obser
2017-05-16When printing a tcpcb with -P and -v, also show the inp in netstatAlexander Bluhm