History log of /src/sbin/routed/table.c |
Revision | | Date | Author | Comments |
1.28 |
| 06-Feb-2018 |
mrg | update for GCC 6:
- read_rt() has a missing {} issue.
|
1.27 |
| 20-Dec-2016 |
ozaki-r | Fix that routed deletes local routes
routed previousely ignored local routes, which have RTF_LOCAL flag, because such routes have RTF_LLINFO and routed ignored routes having the flag. When we obsoleted RTF_LLINFO, we removed the ignoring logic from routed, then routed started removing local routes unexpectedly.
Fix this behavior by teaching local routes to routed to ignore them.
kardel@ reported the issue and helped testing, thanks!
|
1.26 |
| 07-Oct-2016 |
joerg | Shuffle pointer magic to not depend on temporary overaligned pointers into a packed structure.
|
1.25 |
| 04-Apr-2016 |
ozaki-r | branches: 1.25.2; Separate nexthop caches from the routing table
By this change, nexthop caches (IP-MAC address pair) are not stored in the routing table anymore. Instead nexthop caches are stored in each network interface; we already have lltable/llentry data structure for this purpose. This change also obsoletes the concept of cloning/cloned routes. Cloned routes no longer exist while cloning routes still exist with renamed to connected routes.
Noticeable changes are: - Nexthop caches aren't listed in route show/netstat -r - sysctl(NET_RT_DUMP) doesn't return them - If RTF_LLDATA is specified, it returns nexthop caches - Several definitions of routing flags and messages are removed - RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE - RTF_CONNECTED is added - It has the same value of RTF_CLONING for backward compatibility - route's -xresolve, -[no]cloned and -llinfo options are removed - -[no]cloning remains because it seems there are users - -[no]connected is introduced and recommended to be used instead of -[no]cloning - route show/netstat -r drops some flags - 'L' and 'c' are not seen anymore - 'C' now indicates a connected route - Gateway value of a route of an interface address is now not a L2 address but "link#N" like a connected (cloning) route - Proxy ARP: "arp -s ... pub" doesn't create a route
You can know details of behavior changes by seeing diffs under tests/.
Proposed on tech-net and tech-kern: http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html
|
1.24 |
| 26-Oct-2009 |
christos | merge 2.32 which is actually 2.31. Most important change is: - use multicast over point-to-point (GRE) links as proposed by Dan Lukes.
|
1.23 |
| 28-Dec-2008 |
christos | fix printf formats.
|
1.22 |
| 06-Jul-2004 |
mycroft | branches: 1.22.26; 1.22.38; PR 9431: if rnh_addradd() fails, total_routes will be wrong.
|
1.21 |
| 21-Apr-2004 |
christos | constification lossage (hi gimpy)
|
1.20 |
| 21-Apr-2003 |
itojun | branches: 1.20.2; strcpy/sprintf cleanup. from openbsd
|
1.19 |
| 15-Apr-2003 |
itojun | use snprintf. there are more...
|
1.18 |
| 15-Apr-2003 |
itojun | array seems too small
|
1.17 |
| 06-Dec-2002 |
thorpej | Avoid strict alias warnings.
|
1.16 |
| 30-Nov-2002 |
christos | sync with routed 2.27
|
1.15 |
| 02-Nov-2001 |
lukem | fix -Wshadow warnings
|
1.14 |
| 10-Mar-2001 |
christos | sync with version 2.24. Vernon says: The most significant [fix] involves so called "remote" interfaces configured in the kludge file to with what appear to be colliding networks. Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found the problem and the fix, and I think has tested it in the SGI network.
|
1.13 |
| 02-Mar-2000 |
christos | make local functions static and portability casts.
|
1.12 |
| 11-Feb-2000 |
christos | PR/9390: Jarkko Torppa: Routed leaks memory when route addition fails.
|
1.11 |
| 19-Nov-1999 |
bouyer | Ignore RTM_OIFINFO messages (send by a COMPAT_14 kernel).
|
1.10 |
| 25-Feb-1999 |
ross | branches: 1.10.6; LP64 tweaks.
|
1.9 |
| 23-Feb-1999 |
christos | Resolve conflicts.
|
1.8 |
| 25-Oct-1998 |
christos | Update to 980910 from ftp.rhyolite.com
|
1.7 |
| 02-Jun-1998 |
thorpej | Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes generated when one of the interfaces on the network does not support broadcast (e.g. HIPPI or ATM).
From Vern Schryver <vjs@rhyolite.com>
|
1.6 |
| 16-Sep-1997 |
mrg | make these compile on the alpha after WARNS=1.
|
1.5 |
| 15-Sep-1997 |
lukem | * cleanup for WARNS=1 * deprecate register * bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr * correct use of .Nm
|
1.4 |
| 03-Feb-1997 |
christos | - resolve conflicts. - remove md5 stuff; it is in libc. - define MCAST_PPP_BUG, until we fix if_ppp.c
|
1.3 |
| 24-Sep-1996 |
christos | - resolve conflicts - try to follow rcsid style more closely - fix rn_walktree callback routine signatures.
|
1.2 |
| 10-Aug-1996 |
thorpej | - Finished up merge.
- Add some prototypes and definitions for types as necessary, wrapped in __NetBSD__ to maintain portability.
- Explicit size types in structures that go out the wire.
- RCS id police.
|
1.1 |
| 10-Aug-1996 |
thorpej | branches: 1.1.1; Initial revision
|
1.1.1.5 |
| 23-Feb-1999 |
christos | Latest version of routed(8) from Vernon Schryver <vjs@calcite.rhyolite.com>
|
1.1.1.4 |
| 02-Jun-1998 |
thorpej | Latest RIPv2/Router Discovery routed, from Vern Schryver <vjs@rhyolite.com>
|
1.1.1.3 |
| 03-Feb-1997 |
christos | New version from ftp.sgi.com:sgi/src/routed.tar.Z
|
1.1.1.2 |
| 24-Sep-1996 |
christos | Latest version of routed(8) from Vernon Schryver <vjs@sgi.com>
|
1.1.1.1 |
| 10-Aug-1996 |
thorpej | A leaner, meaner routed(8), implementing RIPv1, RIPv2, and ICMP Router Discovery, courtesy of Vernon Schryver <vjs@sgi.com>. Thanks!
|
1.10.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.20.2.1 |
| 10-Jul-2004 |
tron | Pull up revision 1.22 (requested by mycroft in ticket #615): PR 9431: if rnh_addradd() fails, total_routes will be wrong.
|
1.22.38.1 |
| 16-Aug-2010 |
matt | Change to new route message sematics
|
1.22.26.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.25.2.2 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.25.2.1 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|