summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/mbuf.c
AgeCommit message (Expand)Author
2019-07-16Prevent integer overflow in kernel and userland when checking mbufAlexander Bluhm
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-13Do memory size calculations as unsigned long. OtherwiseAlexander Bluhm
2017-10-28Bring "netstat -m" output up to speed with the kernelMike Belopuhov
2017-02-04Include netinet/in.h for in_addr_t now it has moved out of sys/types.h.Jonathan Gray
2016-10-28there's a new mbuf cluster pool.David Gwynne
2016-04-04Add sys/queue.h where it's needed. Unbreak userland following recentStuart Henderson
2015-09-04Fix mbuf memory accounting after recent *8 pool size change.Martin Pieuchot
2015-01-20Adjust <sys/param.h> comments regarding use of use of MSIZE, orTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-06i renamed the mbuf pool.David Gwynne
2014-07-02info about pools is currently given to userland by copying eachDavid Gwynne
2010-07-08Remove references to kvm.lum
2009-06-25do not use nitems(); ok claudioTheo de Raadt
2009-01-27Fix some interger overflows when accounting the used mbuf memory percentageClaudio Jeker
2008-12-04... but without the debug codeTheo de Raadt
2008-12-04correctly display information for each of the mbuf cluster pools (whichTheo de Raadt
2007-12-19delete rcsid crudTheo de Raadt
2007-12-11mbuf stats are always gotten via sysctl(), so remove old nlist stuffTheo de Raadt
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
2005-05-23remove dead and wrong code.marius eriksen
2005-03-25kill unneeded (char *) casts. ok millert, ottoJared Yanovich
2004-04-16print clusters, not pages. half from millert@ ok deraadt@ millert@Ted Unangst
2003-08-19number of mbuf clusters is not the same as number of pages allocated for 'em;...Michael Shalayeff
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-21change 'netstat -m' output from:Philipp Buehler
2003-02-01ansiTheo de Raadt
2002-06-30Correctly retrieve mbuf statistics from the kernel.Angelos D. Keromytis
2002-06-24KERN_POOL_POOL, not KERN_POOL_NPOOLS --- I wonder how this was notAngelos D. Keromytis
2002-06-18pull in missing includesTheo de Raadt
2002-06-09Begin some sysctl-ization.Angelos D. Keromytis
2002-02-23No more POOL_EXPOSE.Artur Grabowski
2002-01-17evil, annoying spaces and tabsMichael Shalayeff
2002-01-15minor simplification in preparation for a future change.Artur Grabowski
2001-11-19kill more registersMike Pechkin
2001-05-18adapt to use poolNiels Provos
1999-02-27do not divide by zero; helbig@Informatik.BA-Stuttgart.DETheo de Raadt
1997-07-23Update for new <sys/mbuf.h>denny
1997-06-29Use correct spacing on both 32bit and 64bit machines.Todd C. Miller
1997-06-29Mostly clean -Wall + 64bit issues.Todd C. Miller
1996-06-26rcsidTheo de Raadt
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt