summaryrefslogtreecommitdiffstats
path: root/usr.sbin/route6d
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-1/+0
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-0/+2
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge headsjg2014-04-281-26/+0
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Sync with HEAD.obrien2013-02-082-477/+536
| |\ \ \
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Stop including if_var.h from userland.glebius2015-04-061-1/+0
| |_|_|/ |/| | | | | | | | | | | Sponsored by: Nginx, Inc.
* | | | Recover sin6_scope_id of gateway addresses in riprecv() by using the if_indexhrs2014-08-201-0/+2
| |_|/ |/| | | | | | | | | | | where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added.
* | | Remove unneeded fake _KERNEL definition.glebius2014-03-231-2/+0
| | |
* | | Garbage collect long time obsoleted (or never used) stuff from routing API.glebius2014-03-151-21/+0
| | |
* | | Axe IFF_SMART. Fortunately this layering violating flag was never used,glebius2013-11-051-3/+0
| |/ |/| | | | | it was just declared.
* | Minor mdoc fix.joel2012-11-181-1/+1
| |
* | - Increase the number of retry for NET_RT_DUMP from 5 to 15.hrs2012-11-182-9/+140
| | | | | | | | | | | | | | | | | | | | - Use 2001:db8:: as an example instead of deprecated 3ffe:: address block. - Add check for connected routes. - Add support of RTM_IFANNOUNCE for dyanmically-added/removed interfaces. - Add support of *, ?, and [ in the interface list. - Add -P number to specify route flag which will never expire. - Add -Q number to specify route flag which route6d will add to routes via RIP. - Add -p pidfile to specify the process ID file.
* | Overhaul of route6d(8):hrs2012-11-181-445/+392
| | | | | | | | | | | | | | | | | | - Use queue(3) for linked-list. - Use a consistent naming scheme for struct members. - Use ANSI C style function declaration. - Add check of RTM_VERSION mismatch. There is no functional change.
* | Use sin6_scope_id instead of KAME-specific embedded scope id.hrs2012-11-181-27/+8
|/
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* In usr.sbin/route6d/route6d.c, use the correct printf length modifierdim2011-12-181-1/+1
| | | | | | for an ssize_t. MFC after: 1 week
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* This main goals of this project are:qingli2008-12-151-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* Cleanup of userland __P usekevlo2007-11-071-57/+57
|
* implemented more validation checks about incoming responses per RFC2080, and ↵suz2006-11-161-4/+78
| | | | | | | one additional heuristic check for safer operation. Obtained from: KAME MFC after: 1 week
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* Fixed the misplaced $FreeBSD$.ru2005-02-091-1/+3
|
* - need_trigger/idx should be u_int, not ssize_t.ume2003-11-141-30/+34
| | | | | | | | | | | - realloc pedant. - set sin6_scope_id before sending (link-local/multicast) packets - removed an incorrect comment - don't age non-gateway host routes. - not remove global addresses on loopback interface from routing table by route aging. Obtained from: KAME
* - interface minimum MTU = 1280 in IPv6.ume2003-11-141-8/+3
| | | | | | - simplify. Obtained from: KAME
* our netstat is installed in /usr/bin.ume2003-11-141-1/+1
|
* fixe remote panic on short packetsuz2003-10-311-0/+5
| | | | Obtained from: KAME
* remove unused variablesam2003-10-031-2/+0
| | | | Supported by: FreeBSD Foundation
* rtm_seq is int, so seq/myseq should be int.ume2003-08-181-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* suppress outpt on dump request if -q is specified.ume2003-08-181-0/+3
| | | | | Obtained from: KAME MFC after: 1 week
* atoi -> strtoulume2003-08-181-2/+10
| | | | | Obtained from: KAME MFC after: 1 week
* - port numbers are unsigned. use %u.ume2003-08-181-2/+2
| | | | | | | - %d is not 10 chars, but 12 chars. Obtained from: KAME MFC after: 1 week
* explicitly specify IPPROTO_UDP when calling getaddrinfo().ume2003-08-181-0/+2
| | | | | Obtained from: KAME MFC after: 1 week
* remove a variable that is never used.ume2003-08-181-5/+2
| | | | | Obtained from: KAME MFC after: 1 week
* support poll(2).ume2003-08-182-5/+44
| | | | | Obtained from: KAME MFC after: 1 week
* - don't select with FD_SETSIZE.ume2003-08-181-14/+25
| | | | | | | - avoid fd_set overrun. Obtained from: KAME MFC after: 1 week
* - don't print strerror() if errno == 0 on fatal().ume2003-08-171-10/+26
| | | | | | | | - va_start/end audit. - can't use vfprintf() twice. need va_start/end pair every time. Obtained from: KAME MFC after: 1 week
* - do not SEGV on IFF_UP.ume2003-08-171-14/+21
| | | | | | | | | | - recover rrt_gw setting for non-p2p case. otherwise, we will not be able to recover interface route on interface down -> up transition. - clarify loop exit condition Obtained from: KAME MFC after: 1 week
* do not send dump request on -Nume2003-08-171-0/+2
| | | | | Obtained from: KAME MFC after: 1 week
* macro pedantume2003-08-171-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* minor cleanup; no need for extra variable hereume2003-08-171-4/+2
| | | | | Obtained from: KAME MFC after: 1 week
* use strchr(3).ume2003-08-171-3/+3
| | | | | Obtained from: KAME MFC after: 1 week
* daemon() has to be called prior to file descriptor setupsume2003-08-171-15/+8
| | | | | | | (otherwise file descriptors could be closed mistakenly) Obtained from: KAME MFC after: 1 week
* getifaddrs(3) is always used.ume2003-08-171-1/+1
| | | | MFC after: 1 week
* knf, typo, space.ume2003-08-172-21/+13
| | | | | Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud