summaryrefslogtreecommitdiff
path: root/sbin/route/route.c
AgeCommit message (Expand)Author
2019-01-23Make route(8) show the same flags in RTM_IFINFO messages asKenneth R Westerback
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2018-11-12Recognize and display new RTM_80211INFO messages.Kenneth R Westerback
2018-10-15Trust the resolver to give us a sockaddr_in6 sized objectFlorian Obser
2018-08-30Fix "route add 0.0.0.0/0 <gateway>" to work properly. Shift countYASUOKA Masahiko
2018-08-09Drop support for guessing an old-style class A, B, or C netmask fromIngo Schwarze
2018-07-17stop assuming prefix lengths, remove inet6_makenetandmask()kn
2018-07-14Make route monitor display changes in all routing domains by forcingSebastian Benoit
2018-07-13no longer interpret 0.192.168.4 in hosts(5) as 192.168.4/24Ingo Schwarze
2018-07-13Use "rtable" not "tableid" as argument name for rtablekn
2018-07-12RTM_CHGADDRATTR for route monitorFlorian Obser
2018-07-11Use AF_UNSPEC not 0kn
2018-07-10Error out if -netmask/-prefixlen does not follow the destination parameterkn
2018-07-01Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.Martin Pieuchot
2018-06-18Replace hardcoded constants with defineskn
2018-05-01The -d flag should be a no-op in monitor mode since it does not modifyFlorian Obser
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-30No need to get the whole routing table from the kernel if we areFlorian Obser
2018-04-30Fix route monitor -AF filter.Florian Obser
2018-04-28Improve / simplify pledges.Florian Obser
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
2017-10-18Typo, from Hiltjo Posthuma.Martin Pieuchot
2017-10-17Do not print an extra line if the 'get' command succeeds.Martin Pieuchot
2017-10-16Print the correct message and return an error code when no route entryMartin Pieuchot
2017-09-06backout previous diff:Sebastian Benoit
2017-08-10autodetect AF when setting inet6 default routeSebastian Benoit
2017-08-10allow "del" in addition to "delete"Sebastian Benoit
2017-03-23Fix printf() incantation for non-NULL terminated string.Kenneth R Westerback
2017-03-21getnameinfo errors should go to stderr & should print what's going on.Florian Obser
2017-03-20show inet6 proposals in route monitorFlorian Obser
2017-03-02Implement a new routing message RTM_PROPOSAL that communicatesKenneth R Westerback
2017-01-23Zap some bad whitespace.Kenneth R Westerback
2017-01-19add hooks so we can query the current state of a BFD sessionPeter Hessler
2017-01-17In monitor mode, also print the interface mtu of RTM_IFINFO messages.Jeremie Courreges-Anglas
2016-12-13Print the correct netmask instead of /0 when flushing routes to networks.Martin Pieuchot
2016-09-24print a BFD route message.Peter Hessler
2016-09-15Add RTM_INVALIDATE as a route message, to keep the kernel and userlandPeter Hessler
2016-09-04Make it possible to set the RTF_BFD flag in a change request. Also add aClaudio Jeker
2016-09-03Add userland parts for BFD. Can't work if you don't have it enabled inPeter Hessler
2016-09-01Fix previous commit that displays all route flags with "route get".Alexander Bluhm
2016-09-01Display all route flags in "route get", "route show" and "netstat -r"Alexander Bluhm
2016-08-31Remove unused RTF_MASK route flag.Alexander Bluhm
2016-08-26Add <time.h> for time() and ctime(); sort <net*/*.h>Philip Guenther
2016-07-09only print one error, not multiple misleading messagesTed Unangst
2016-06-07per trending style, add continue to emtpy loop bodies.Ted Unangst
2015-12-03Print the interface index which is part of the route msg header.Claudio Jeker
2015-11-27After evaluating patches from Ricardo Mestre, it became obvious thatSebastian Benoit
2015-11-20Replace hardcoded "0" with SHUT_RD; from Ricardo MestreJeremie Courreges-Anglas