summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
AgeCommit message (Expand)Author
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
2008-01-03Make if.c kvm free by fetching the interface stats via sysctl like in systatClaudio Jeker
2007-12-19Remove the kvm code in rt_stats() and use the sysctl code all the time.Claudio Jeker
2007-12-19delete rcsid crudTheo de Raadt
2007-12-14remove 21 nlist variables, and instead use sysctl to query the kernelTheo de Raadt
2007-12-11mbuf stats are always gotten via sysctl(), so remove old nlist stuffTheo de Raadt
2007-10-20an usage message should fit on a 80-column displayIgor Sobrado
2007-07-25Make it possible to show alternate routing tables in netstat. This mostlyClaudio Jeker
2007-06-28Bring the index defines back in sync with struct nlist after removal of IPXClaudio Jeker
2007-06-04remove IPX support, agreed by manyHenning Brauer
2007-03-23add -F to usage();Jason McIntyre
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
2006-08-29Fix KVM snooping code of netstat that got broken by the multiple tableClaudio Jeker