summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
AgeCommit message (Expand)Author
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
2006-05-27Moving netstat from kvm snooping to retrieving the routing tables viaClaudio Jeker
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
2005-06-16add -P to docs and usage/synopsis; ok markus jmcJared Yanovich
2005-06-15add -P for dumping PCB infos, similar to netbsd; ok deraadt@Markus Friedl
2005-06-08bye bye, Xerox NS protocolsHenning Brauer
2005-05-02- add a small description of final synopsis formJason McIntyre
2005-04-12add '-W interface' for 802.11 wireless statistics of the net80211 stack.Reyk Floeter
2005-03-30remove nlist items no longer used; ok henningTheo de Raadt
2005-03-30kill -S; ok henningJared Yanovich
2005-03-25kill unneeded (char *) casts. ok millert, ottoJared Yanovich
2005-02-10backout previous; i committed to wrong repository (i meant to commit kame)Jun-ichiro itojun Hagino