summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
AgeCommit message (Expand)Author
2022-12-23remove "-p protocol" from the -r synopsis: it no longer makes senseJason McIntyre
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2022-09-08Remove useless -tKlemens Nanni
2021-01-26satisfy -fno-common, by (1) copying all the variable decls fromTheo de Raadt
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
2019-04-28Fix reading route entries via kvm(3).Martin Pieuchot
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-08-13Print global IPsec counters.Martin Pieuchot
2017-08-12add option -l to show only listening sockets (for tcp)Sebastian Benoit
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
2016-07-20To tune the TCP SYN cache we need more information. Print theAlexander Bluhm
2016-01-01The "-P" option does not need to read routing table symbols so do notMartin Pieuchot
2015-10-23further simplify argvTed Unangst
2015-10-23simplify backcompat. no more support for kernel or kmem on argvTed Unangst
2015-02-12Switch the printing of open sockets from ugly KVM internals to useClaudio Jeker
2015-02-09Get rid of another KVM reader and convert the multicast output to useClaudio Jeker
2015-02-06Remove route/netstat -f encap in favor of ipsecctl -s flow.Reyk Floeter
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-23Remove networks(5) support.Ingo Schwarze
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-02-13use strtonum. ok krwTed Unangst
2014-01-10ddpcb and unixsw symbols are no longer used with kvm_readPhilip Guenther
2013-11-20unsigned char cast for isdigit, dealing with argvTheo de Raadt
2013-10-28use %d instea of %iTheo de Raadt
2013-10-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
2013-03-20As non-root, whenever netstat is about to print out a kernel pointer...Theo de Raadt
2012-08-22i missed usage and the manpage. prod by jmcTed Unangst
2012-08-22-h flag to print human numbers in conjunction with -w -bTed Unangst
2011-11-01Do some cleanup and improve the manpage. From Andreas Bartelt; ok henning, jmcMike Belopuhov
2011-11-01Fixup previous: don't forget to actually get the current rtable;Mike Belopuhov
2011-11-01List sockets existing only in the specified or current routing domain.Mike Belopuhov
2011-07-09rmove rotten netatalk bitsHenning Brauer
2011-03-15Add a -B flag to netstat which displays buffer sizes for TCP sockets.Joel Sing
2010-10-30Print socket structure internals when netstat -P pcbaddr is calledAlexander Bluhm
2010-10-11Do similar changes to netstat as done to route(8). Try to show theClaudio Jeker
2010-07-14pass the correct af if not specified.David Hill
2010-06-30Make deprecated command line argument for extractinglum
2010-06-29Allow selecting both address family and protocol by passing the address familyBret Lambert
2009-11-22don't repeat the banner if not a tty.Ted Unangst
2009-11-05IPv6 support for divert sockets.Michele Marchetto
2009-10-04Add (again) support for divert sockets. They allow you to:Michele Marchetto
2009-05-07Make the kvm routing table code grok multiple routing tables and do notClaudio Jeker
2009-02-21we use kvm_openfiles() not kvm_open(); Amarendra GodboleTheo de Raadt
2009-01-27Fix some interger overflows when accounting the used mbuf memory percentageClaudio Jeker
2008-09-16netstat statistics for pflow(4) via pseudo familyJoerg Goltermann
2008-05-08make -f mpls work. OK norby@Claudio Jeker