summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/if.c
AgeCommit message (Expand)Author
2022-09-08Remove useless -tKlemens Nanni
2022-08-26Remove stale comment about nonexistent ifnetaddrKlemens Nanni
2021-11-29local copy of roundup() means no more sys/param.hTheo de Raadt
2021-01-16Unle recover the scope_id from a possible embedded scope if the scope_idClaudio Jeker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-03-04when showing interface stats, combine the queue drops with errors as failsDavid Gwynne
2015-10-05Handle ifi_oqdrops in netstat(8).Masao Uebayashi
2015-02-12Initialize buffer pointers passed to get_sysctl to NULL; otherwise they pointStuart Henderson
2015-02-09Get rid of another KVM reader and convert the multicast output to useClaudio Jeker
2015-02-08The multicast address printing code has been disabled for 7 years.Claudio Jeker
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-21remove pointless if_var.h and socketvar.h includes; ok deraadtMike Belopuhov
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2013-11-21split kernel parts of the if.h into a separate header file if_var.hMike Belopuhov
2012-08-26oops, i added a stray character. spotted by jmcTed Unangst
2012-08-22-h flag to print human numbers in conjunction with -w -bTed Unangst
2011-07-09rmove rotten netatalk bitsHenning Brauer
2011-01-09have netstat -w default to the first egress interface, which is usually moreTed Unangst
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