summaryrefslogtreecommitdiff
path: root/sbin/route/route.c
AgeCommit message (Expand)Author
2015-09-11Remove RTF_XRESOLVE support.Martin Pieuchot
2015-07-18Make all commands accepting the "-priority" switch recognize aliasesMartin Pieuchot
2015-07-18On systems with a full routing table (550k+), we often want to be able toPeter Hessler
2015-05-17nope, ioctl has not been used for a whileTheo de Raadt
2015-03-18Instead of embedding interface names in a sockaddr use their indexesMartin Pieuchot
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-08-19Entries for broadcast addresses should also be ignored, just like localMartin Pieuchot
2014-07-24Unbreak ''route flush'': the kernel now adds local (RTF_LOCAL) routesJeremie Courreges-Anglas
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-05-08Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.Martin Pieuchot
2014-01-22Remove genmask support from route(8). It still will show them in monitorClaudio Jeker
2013-10-28use %d instead of %i in a few fprintf for clarityTheo de Raadt
2013-10-18Prepare the route(8) command for printing 64 bit route expire time.Alexander Bluhm
2013-07-19Prep for WARNINGS=yes: add the prototypes that were missing, silencePhilip Guenther
2013-05-27autodetect ipv6 addresses for route(8). ok benno@ bluhm@, manpage help jmc@Stuart Henderson
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-09-23Allow route -T 3 add to create a table even if the table does not existClaudio Jeker
2012-08-14fix bad argument passed to errx()Charles Longeau
2012-07-13allow destination/prefixlen syntax for ipv6 routes.Sebastian Benoit
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