summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/route.c
AgeCommit message (Expand)Author
2020-05-27Update sysctl key in netstat(1)yamaguchi
2016-04-04Separate nexthop caches from the routing tableozaki-r
2015-05-25Make sure netstat builds with -DSMALLmanu
2014-11-06use the common code from route.cchristos
2014-04-28use the same for the route metrics part, both in the sysctl and kmem paths.christos
2014-04-24The sysctl code does not support verbose route printing that prints thechristos
2013-01-28Use sysctl based code netstat -r. Remove support for post-mortemjoerg
2012-03-20Use C89 function definitionsmatt
2011-06-21print multiple tags if exists, comma separatedkefren
2011-02-04Use RT_ROUNDUP() and friends from sys/route.h instead of homegrownmartin
2011-02-01Add a new AF/PF_ROUTE which is 64-bit clean which makes the routing socketmatt
2010-06-27Add -T flag, that shows tags in route outputkefren
2010-04-22it is not [any longer] necessary to #define _KERNEL while includingplunky
2009-04-12Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare).lukem
2008-12-29fix for 64 bit time_tchristos
2008-04-23netns is no longer in the tree; completely purge it from netstat(1).thorpej
2008-01-21#include <stdbool.h> for 'bool', so that this kernel groveller willdyoung
2007-07-19rt_key() is no more. Use rt_getkey().dyoung
2006-08-26Conditionalize XNS support. No longer enabled.matt
2006-05-28Make netstat use sysctl when dumping routing tables/stats.elad
2005-08-04Added #include <kvm.h> since netstat.h, which is included too, needs it.rpaulo
2004-11-16NI_WITHSCOPEID was not picked up by IETF standardization processitojun
2004-11-16NI_WITHSCOPEID was not picked up by IETF standardization process.itojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-08-04always print prefixlen for routes. it's CIDR age.itojun
2003-07-12strlcpyitojun
2003-05-14use proper #ifdef to determine behavior (__KAME__)itojun
2002-05-13Don't count on kernel includes to exports user variables.matt
2001-10-06Use getnameinfo() to format link-layer addresses for netstat -r rather thanbjh21
2001-08-19snprintf length audit. from openbsditojun
2001-05-28add `-s' that prints port numbers symbolically but addresses numericallyassar
2001-04-06pedant changes for strcpy/sprintf.itojun
2001-03-08Print hopcount too when -rv is given.enami
2001-02-21use u_quad_t for rtstat.itojun
2001-01-27mark cloned routes with RTF_CLONED. present it with netstat -r by "c".itojun
2000-11-14Do the same IEEE1394 address hack in here.matt
2000-10-11More format string cleanup by sommerfeld.is
2000-07-06more stats. from kameitojun
2000-01-17fix default route determination for inet6.itojun
2000-01-17mask addresses properly on netstat -inv.itojun
2000-01-15Properly print the "B"(lackhole) flag (as documented :).hubertf
2000-01-07Pay attention to the netmask of routes to 0.0.0.0;sommerfeld
1999-12-13per-interface statistics.itojun
1999-11-27Print Internet6 header properly without -f.soren
1999-11-24more clarification to field width of netstat -rn -f inet6.itojun
1999-11-22use old WID_{DST,GW} value (field width for netstat -rn) for non-INET6itojun
1999-09-15Add -L option. netstat -r -L behaves like 4.3BSD netstat -r, that is, itis
1999-09-03sync with recent KAME.itojun
1999-07-01make netstat IPv6-ready.itojun
1999-04-02don't use malloc for large sockaddr's, just name the union declared abovechopps