summaryrefslogtreecommitdiff
path: root/sbin/route/show.c
AgeCommit message (Expand)Author
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
2008-05-08spaceClaudio Jeker
2008-05-08Fix fallout from the route priority thing.Esben Norby
2008-05-08Don't display the outlabel and interface for POP operations.Esben Norby
2008-05-07Add support to show and modify rtm_priority.Claudio Jeker
2008-05-06Labels in the sockaddr are stored like on the wire so shift and byte swapClaudio Jeker
2008-05-06Minor cleanup. OK norby@Claudio Jeker
2008-04-30Correct MPLS output of route -n show.Esben Norby
2008-04-28It is now possible to enter static MPLS routes into the kernel.Esben Norby
2007-09-05Correct the format strings after the recent rt_metrics changes.Claudio Jeker
2007-07-24Sync closer to netstat/show.c this removes also the unneeded variableClaudio Jeker
2007-07-21Check the rtm_version before trying to print an entry. If the rtmsg has aClaudio Jeker
2007-06-04remove IPX, agreed by manyHenning Brauer
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
2006-12-29Route warns about a illegal prefixlen when a default inet6 route is present.Claudio Jeker
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
2006-06-16make route show work on secondary tables, using the just committedHenning Brauer
2006-05-30this fixes a crash observed by Naddy on amd64, and permits the src/dst ip's toTodd T. Fries
2006-05-27Kill unused Aflag support that sneeked in via netstat code.Claudio Jeker
2006-05-27Do not print an error in case of ENOPROTOOPT. Install medias do not haveClaudio Jeker
2006-03-31Be careful when accessing the external destination address, as it is not setHans-Joerg Hoexer
2006-03-30Print the "Encap" heading only when the sadb is not empty.Hans-Joerg Hoexer
2006-03-30If an address family is specified do not print IPSec "routes". AdditionallyClaudio Jeker
2006-03-30Minor cleanup and start using rmx_refcnt to show the refcount instead of 0.Claudio Jeker
2006-03-29Use sysctl to get information about encap routes (aka ipsec). NowHans-Joerg Hoexer
2006-03-23Fix pretty-print of carp link addresses by making them print like IFT_ETHER.Ryan Thomas McBride