summaryrefslogtreecommitdiff
path: root/sbin/route/show.c
AgeCommit message (Expand)Author
2021-01-30Don't print an empty line at the end of `route sourceaddr`Daniel Jakots
2021-01-24Add missing __KAME__ markers.Florian Obser
2021-01-16Only recover the KAME embedded scope if the sin6_scope_id filed isClaudio Jeker
2020-10-29Add feature to force the selection of source IP addressdenis
2020-09-15"Route show" and "netstat -r" provide formatting for routing tables withpamela
2018-08-31Dont print "default" for "0.0.0.0" if it is a host route.YASUOKA Masahiko
2018-06-04Zap unused sockaddr.kn
2018-05-01Sync p_rttables() to netstat(1) version. Pointed out by claudio andFlorian Obser
2018-04-30* simplify code by no longer calling getnetbyname(3)Ingo Schwarze
2018-04-30tableid is either initialized to the current routing table or to theFlorian Obser
2018-04-28Improve / simplify pledges.Florian Obser
2016-12-13Print the correct netmask instead of /0 when flushing routes to networks.Martin Pieuchot
2016-09-05Print route labels in double quotes since they can contain spaces in the name.Claudio Jeker
2016-09-03Add userland parts for BFD. Can't work if you don't have it enabled inPeter Hessler
2016-09-01Display all route flags in "route get", "route show" and "netstat -r"Alexander Bluhm
2016-07-13Introduce RTF_MULTICAST and flag corresponding IPv6 routes as suchMartin Pieuchot
2015-11-27After evaluating patches from Ricardo Mestre, it became obvious thatSebastian Benoit
2015-10-23route has 3 code paths: monitor (listening on route socket); showTheo de Raadt
2015-09-11Remove RTF_XRESOLVE support.Martin Pieuchot
2015-07-18On systems with a full routing table (550k+), we often want to be able toPeter Hessler
2015-04-27route show does not need to filter unwanted af itself, the sysctl doesSebastian Benoit
2015-02-06Remove route/netstat -f encap in favor of ipsecctl -s flow.Reyk Floeter
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-05-08Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.Martin Pieuchot
2014-04-17Sync show.c to what we have in netstat.c (at least steal some good idiomsClaudio Jeker
2013-07-19Prep for WARNINGS=yes: add the prototypes that were missing, silencePhilip Guenther
2013-03-21create realloc() loops around sysctl for array-based mibs, in programsTheo de Raadt
2012-12-04remove some unnecessary sys/mbuf.h inclusionsTheo de Raadt
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2011-07-09rmove rotten netatalk bitsHenning Brauer
2010-10-11Make route(8) use the ROUTE_TABLEFILTER and change the code so thatClaudio Jeker
2010-09-21Add '-label' to specify that you only want to see routes having theKenneth R Westerback
2010-07-29Print a column with the routing label if "netstat -vr" or "routeAlexander Bluhm
2010-05-19remove unused variablesCharles Longeau
2010-03-23Add missing break, found while syncing with netstat/show.cClaudio Jeker
2010-03-23Print MPLS information in route -n get and do some cleanup in the show code.Claudio Jeker
2010-01-13netmask sockaddrs for the default route may set sa_len to 0 to indicateClaudio Jeker
2010-01-11"default" routes need a mask of 0 too.David Gwynne
2009-08-07if buffers overlap; result will be undefined. ok claudio@, michele@Martynas Venckus
2009-06-27Mark MPLS routes with T (tagged) in route output.Michele Marchetto
2009-05-31Masking the priority with RTP_MASK is no longer needed in userland.Claudio Jeker
2009-05-23missed rtm_hdrlen conversion in one placeChris Cappuccio
2009-04-28Sync with kernel changes.Michele Marchetto
2009-02-03Reflect MPLS kernel changes. Operations are stored now in rt_mpls field.Michele Marchetto
2009-01-26Mark multipath routes with P in the show command flags. Bummer that bothClaudio Jeker
2009-01-08Reflect MPLS kernel changes.Michele Marchetto
2008-12-15Reflect kernel changes. Labels are no more per link uniqueMichele Marchetto
2008-12-12Use the hdrlen to skip over the header and to the sockaddrs instead of theClaudio Jeker
2008-09-15Mask rtm->rtm_priority with RTP_MASK before printing so that the priority isClaudio Jeker
2008-05-25do not need sys/protosw.hTheo de Raadt