summaryrefslogtreecommitdiff
path: root/sbin/route/route.c
AgeCommit message (Expand)Author
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2011-07-04Force the sa_len to sizeof(struct sockaddr_dl) before callingClaudio Jeker
2011-07-02-interface is an alias of -iface so make sure route(8) accepts bothClaudio Jeker
2011-04-25allow commands like "route add 0.0.0.0/1 $SOMEHOST" to work correctly,Stuart Henderson
2010-10-25range check rtm_type more carefully against the known RTM_ values.Theo de Raadt
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-09-04sort generated keywords in order to replace linear probe with bsearch(3)Bret Lambert
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
2010-07-14handle printing of RTM_DESYNC in route monitor.David Gwynne
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-06-27Make 'route exec' emit error messages like xargs when execve() fails does.Philip Guenthe
2010-05-19Set RTF_MPLS when playing with MPLS routes since this is now required.Claudio Jeker
2010-05-19Do not default to rdomain 1 for route exec use 0 as default like every otherClaudio Jeker
2010-03-23Print MPLS information in route -n get and do some cleanup in the show code.Claudio Jeker
2009-12-01Add the new exec command to run a process and its children in aReyk Floeter
2009-11-02Print the route metrics in monitor mode if -v is used. This info can beClaudio Jeker
2009-11-02Use strtonum instead of atoi, this allows to do basic range checking.Claudio Jeker
2009-09-14Switch get_linkstate() to use the new LINK_STATE_DESCRIPTIONS insteadClaudio Jeker
2009-07-23Always print interface names, not just ifindex, even when -n isStuart Henderson
2009-07-23Only print unknown in RTM_IFINFO messages when the link is inClaudio Jeker
2009-06-27Mark MPLS routes with T (tagged) in route output.Michele Marchetto
2009-06-25Add a missing RTM_VERSION check.Claudio Jeker
2009-06-06Uninitialized variable causing havoc on flush. Found by rivo nurgesClaudio Jeker
2009-05-31Masking the priority with RTP_MASK is no longer needed in userland.Claudio Jeker
2009-05-30Make it possible to filter monitor output on AF or show only interfaceClaudio Jeker
2009-05-30priority is a u_char not a u_short.Claudio Jeker
2009-05-30Make route flush more powerful by allowing -iface/-interface or -priorityClaudio Jeker
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-29Introduce -mplslabel to allow ipv4/ipv6 packets enter MPLS clouds.Michele Marchetto
2009-01-28Reflect MPLS kernel changes.Michele Marchetto
2009-01-08Reflect MPLS kernel changes.Michele Marchetto
2008-12-16Use macros from route.h when mapping route priorities to names; theStuart Henderson
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-09using the rtm_priority to translate priority number into nice name isHenning Brauer
2008-05-09on route get, display the priority and a cleartext name (like, "bgp" for 48)Henning Brauer
2008-05-07Add support to show and modify rtm_priority.Claudio Jeker
2008-05-06Yet another missing RTM_VERSION check. Found by norby@. OK henning@Claudio Jeker
2008-05-06Add code to specify the mpls label switching operation. OK norby@Claudio Jeker
2008-05-06Labels in the sockaddr are stored like on the wire so shift and byte swapClaudio Jeker
2008-04-28It is now possible to enter static MPLS routes into the kernel.Esben Norby
2007-09-25make route flush obey the rtable IDHenning Brauer
2007-09-05Correct the format strings after the recent rt_metrics changes.Claudio Jeker
2007-06-04remove IPX, agreed by manyHenning Brauer
2007-05-30Unbreak route.c after TOKEN removal by henning (bad henning, no cookie)Ryan Thomas McBride
2007-03-25Instead of using the global -F flag that only works with show, switch to aClaudio Jeker
2007-03-23add -F to usage() and kill some extraneous whitespace;Jason McIntyre