summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/netstat.h
AgeCommit message (Collapse)Author
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
with -r to routes in the same address family as the destination. ok henning@, claudio@
2006-08-29Fix KVM snooping code of netstat that got broken by the multiple tableClaudio Jeker
"support". This makes netstat -A work again. OK markus@ henning@
2006-07-05remove duplicate prototype for the intpr function.Brad Smith
2006-05-27Kill upHex and use %X instead. Crazy old code found by deraadt.Claudio Jeker
2006-05-27Moving netstat from kvm snooping to retrieving the routing tables viaClaudio Jeker
sysctl. Most code is stolen from route -- which was stolen from netstat. kvm snooping code is still in and useable. Put it in deraadt@ henning@
2005-06-15add -P for dumping PCB infos, similar to netbsd; ok deraadt@Markus Friedl
2005-04-12add '-W interface' for 802.11 wireless statistics of the net80211 stack.Reyk Floeter
ok dlg@ deraadt@ jmc@
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
2005-02-10dccp supportJun-ichiro itojun Hagino
2005-01-14Allow netstat to print PIM statistics.Ryan Thomas McBride
From Pavlin Radoslavov <pavlin@icir.org> ok deraadt@ brad@
2004-06-06Add new '-S' flag to display the source selector part of the routing tableCedric Berger
entry. "netstat -nrSf inet". ok deraadt@ mcbride@
2003-12-15Add initial support for pf state synchronization over the network.Ryan Thomas McBride
Implemented as an in-kernel multicast IP protocol. Turn it on like this: # ifconfig pfsync0 up syncif fxp0 There is not yet any authentication on this protocol, so the syncif must be on a trusted network. ie, a crossover cable between the two firewalls. NOTABLE CHANGES: - A new index based on a unique (creatorid, stateid) tuple has been added to the state tree. - Updates now appear on the pfsync(4) interface; multiple updates may be compressed into a single update. - Applications which use bpf on pfsync(4) will need modification; packets on pfsync no longer contains regular pf_state structs, but pfsync_state structs which contain no pointers. Much more to come. ok deraadt@
2003-10-17Common Address Redundancy ProtocolRyan Thomas McBride
Allows multiple hosts to share an IP address, providing high availability and load balancing. Based on code by mickey@, with additional help from markus@ and Marco_Pfatschbacher@genua.de ok deraadt@
2003-06-26more proto fixesTheo de Raadt
2003-06-25add protoTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-06-07print rip6statJun-ichiro itojun Hagino
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-08-26Add a -q to silence zero-output lines and fix some whitespace and text nits.brian
Submitted by: Sam Smith <S@mSmith.net> Ok: theo
2001-07-05IPComp support. angelos@ ok.Jean-Jacques Bernard-Gundol
2001-05-18adapt to use poolNiels Provos
2000-12-13Bytecounter stats. (-b switch)Camiel Dobbelaar
From NetBSD. ok itojun@
2000-06-30split netstat -an -f inet and netstat -an -f inet6, for consistency.Jun-ichiro itojun Hagino
Suggested by: fgs
2000-01-21ip4 -> ipipAngelos D. Keromytis
1999-12-08add IPv6 support from KAME. cleanup type matches with printf() format.Jun-ichiro itojun Hagino
KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge.
1999-10-29etherip statisticsAngelos D. Keromytis
1998-02-26* netstat -r [-n] now prints netmasks for network routes (in XXX/24 format).Peter Galbavy
* beginnings of a -v (verbose) option.
1997-07-23Add AppleTalk support. TODO: route.c does not handle netranges.denny
1997-07-04Base PLEN on the value of LONG_BIT instead of assuming basedTodd C. Miller
on MAX size of long and int.
1997-06-29Use correct spacing on both 32bit and 64bit machines.Todd C. Miller
1997-06-29Mostly clean -Wall + 64bit issues.Todd C. Miller
1997-06-18Be a bit more verbose for AF_ENCAP "routing" entries.Angelos D. Keromytis
1997-02-21netstat now understands SIPP-AH/SIPP-ESP (IPsec) and ENCAP protocols.Angelos D. Keromytis
1996-08-16ipx.Michael Shalayeff
1996-06-26rcsidTheo de Raadt
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
network list is a TAILQ
1995-10-18initial import of NetBSD treeTheo de Raadt