summaryrefslogtreecommitdiff
path: root/usr.sbin/route6d/route6d.c
AgeCommit message (Expand)Author
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
2017-08-23No need to handle more than one routing message here.Jeremie Courreges-Anglas
2016-08-05Add a -u switch to always log route insertions/deletions.Jeremie Courreges-Anglas
2016-08-05Use tighter pledge(2) restrictions.Jeremie Courreges-Anglas
2016-08-05Rework logging.Jeremie Courreges-Anglas
2016-07-13Introduce RTF_MULTICAST and flag corresponding IPv6 routes as suchMartin Pieuchot
2016-07-06route6d spring cleanupJeremie Courreges-Anglas
2016-01-25No need to declare main().Jeremie Courreges-Anglas
2016-01-25malloc+memset -> callocJeremie Courreges-Anglas
2015-12-19Remove NULL-check before free().mmcc
2015-11-30Sort includes.Jeremie Courreges-Anglas
2015-11-30Fix error message after conversion from select(2) to poll(2).Jeremie Courreges-Anglas
2015-10-26Partial revert of r1.79, "np" handling is a bit trickier than expected.Jeremie Courreges-Anglas
2015-10-26Rename the struct pollfd array, "set" -> "pfd"Jeremie Courreges-Anglas
2015-10-26Those variables should be local to the functions where they are used.Jeremie Courreges-Anglas
2015-10-26Kill unused variable and function.Jeremie Courreges-Anglas
2015-10-25hms() returns a pointer to static storage, annotate the return type with "const"Jeremie Courreges-Anglas
2015-10-25Correctly print size_t/time_t.Jeremie Courreges-Anglas
2015-10-25Plug memory leak introduced in r1.15.Jeremie Courreges-Anglas
2015-10-25Those two functions take no parameters, thus /* ARGSUSED */ is meaningless.Jeremie Courreges-Anglas
2015-10-25Sync surrounding code after reallocarray introduction.Jeremie Courreges-Anglas
2015-10-25Rename allocopy() to xstrdup(), and make use of strdup(3).Jeremie Courreges-Anglas
2015-10-25Another pidfile(3) removal; ok benno@Jeremie Courreges-Anglas
2015-10-18Tweak previous: call fatal(), not err(3), for consistency. err.h goes away.Jeremie Courreges-Anglas
2015-10-17route6d pledges to use only "stdio rpath wpath cpath inet route mcast"Jeremie Courreges-Anglas
2015-10-16Unbreak route6d.Jeremie Courreges-Anglas
2015-09-11RTF_XRESOLVE is gone.Martin Pieuchot
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-02-04Fix potentional double free in do-while-loop.Alexander Bluhm
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-08obvious reallocarray(); ok dougTheo de Raadt
2014-03-24Remove commented out MSG_DONTROUTE flag. No object change.Martin Pieuchot
2014-01-22RTA_GENMASK is going to die soon so no need to handle it anymore.Claudio Jeker
2014-01-07Asa Yeamans points out that we need to CMSG_SPACE[] for the 2nd messageTheo de Raadt
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-08-26replace rand(3)/random(3) calls with secure arc4random*()Christian Weisgerber
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-03-21create realloc() loops around sysctl for array-based mibs, in programsTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-26More consistent RTM_VERSION checking. A few missing one was in the wrongClaudio Jeker
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2009-05-13no need for _KERNEL or the rtentry; ok claudioTheo de Raadt
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
2008-03-15repair msg_controllen and also an errant buf[CMSG_LEN(..)] declTheo de Raadt
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
2007-11-26typos; ok jmc@Martynas Venckus
2006-12-15reduce RFC2292/3542 #ifdef.Jun-ichiro itojun Hagino
2006-11-15validate response packet more carefully. kame revision 1.109->1.111Jun-ichiro itojun Hagino
2006-06-16Don't use rmx_hopcount any longer. The kernel ignores it anyway.Claudio Jeker
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller