summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/if.c
AgeCommit message (Expand)Author
2009-11-22don't repeat the banner if not a tty.Ted Unangst
2009-08-04fix some warnings. there are others, but nobody wants to look at them.Ted Unangst
2009-02-07add missing headers needed for warn() and err().Charles Longeau
2009-01-26NULL instead of 0 in comparisonClaudio Jeker
2008-12-24Plug a couple of memory leaks noticed by deraadt.David Hill
2008-03-18Make -I work correctly. RTM_NEWADDR needs to filter the ifname as well.Claudio Jeker
2008-01-03Make if.c kvm free by fetching the interface stats via sysctl like in systatClaudio 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-09-11More 64 bits counters fixes.Michael Knudsen
2007-09-05Counters switched to u_int64_t so use %llu to print them.Claudio Jeker
2007-06-15Don't truncate interface name.Ray Lai
2007-06-04remove IPX support, agreed by manyHenning Brauer
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
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
2005-12-11ARGSUSEDTheo de Raadt
2005-10-17Use queue macros instead of directly accessing fields. ok pat@ "put itOtto Moerbeek
2005-06-08bye bye, Xerox NS protocolsHenning Brauer
2005-03-25kill unneeded (char *) casts. ok millert, ottoJared Yanovich
2005-03-13make 'netstat -i' print carp link addresses correctly.Marco Pfatschbacher
2005-03-04remove unneeded casts of if stats; ok krw miod dhartmeiJared Yanovich
2005-03-02make counters in struct iftot u_long instead of int, as they overflowDaniel Hartmeier
2004-06-25remove netisoHenning Brauer
2004-03-13some NULL vs 0 and knf; parts from nimadeus@pandora.beTheo de Raadt
2003-09-26fix columns; sahara@surt.netTheo de Raadt
2003-07-10add missing includesDavid Krause
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-14use __KAME__ to determine kame-based kernel.Jun-ichiro itojun Hagino
2003-02-01ansiTheo de Raadt
2002-06-19use macro to determine link-local multicast addrJun-ichiro itojun Hagino
2002-06-19decode embedded scopeid on -inalv multicast address printingJun-ichiro itojun Hagino
2002-05-27a night of cleanup, so i can read this easierTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-17evil, annoying spaces and tabsMichael Shalayeff
2001-11-19kill more registersMike Pechkin
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ...Todd C. Miller
2001-08-26Add a -q to silence zero-output lines and fix some whitespace and text nits.brian
2001-07-18-Wall cleanupPeter Valchev
2001-02-06If sdl type is ISO88025, print the address using `:' as well.Federico G. Schwindt
2000-12-13Bytecounter stats. (-b switch)Camiel Dobbelaar
2000-10-23fix a few signed/unsigned/long printf formats; millert@ & deraadt@ okMichael Shalayeff
2000-02-05fix -in printing on IPv6 (network portion was not masked properly).Jun-ichiro itojun Hagino
2000-01-18print IPv6 multicast groups on -ia.Jun-ichiro itojun Hagino
1999-12-08add IPv6 support from KAME. cleanup type matches with printf() format.Jun-ichiro itojun Hagino
1998-02-27oflow paranoiaTheo de Raadt
1997-07-25make CIA fitMichael Shalayeff
1997-07-23Add AppleTalk support. TODO: route.c does not handle netranges.denny
1997-06-30Make "netstat -ia" line up nicely.Todd C. Miller
1997-06-29Use correct spacing on both 32bit and 64bit machines.Todd C. Miller