Go to file
ozaki-r 09973b35ac 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
2016-04-04 07:37:07 +00:00
bin for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow. 2016-04-01 08:19:31 +00:00
common fix infinite recursion through thr_getspecific 2016-02-28 02:56:39 +00:00
compat remove the xfree86 reachover makefiles and the vast majority of 2015-07-23 08:03:24 +00:00
crypto regen with old assembly stubs. 2016-03-21 19:13:15 +00:00
dist/pf Fix obviously broken condition. 2015-08-28 12:17:41 +00:00
distrib update sets for waitid/wait6. 2016-04-03 00:20:22 +00:00
doc Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
etc Update root.cache to 2016/3/23 version, l.root-servers.net's AAAA record 2016-04-03 08:01:34 +00:00
external Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
extsrc
games tetris(6) is not limited to CRT displays. noted by tnn 2016-03-12 03:14:59 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include use foo - 0 instead of testing for defined(foo); from joerg@ 2016-03-20 16:26:06 +00:00
lib simplify 2016-04-03 01:49:51 +00:00
libexec move the compiler hack closer to the source of the fail 2016-03-18 10:10:21 +00:00
regress PR/50941: David Binderman: fix printf format 2016-03-11 18:26:40 +00:00
rescue Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8). 2014-09-11 13:10:03 +00:00
sbin Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
share Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
sys Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
tests Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
tools Disable stripping pcc tool. 2016-03-30 23:36:45 +00:00
usr.bin Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
usr.sbin Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
build.sh Make evbarm64 (little endian) the default for aarch64. 2015-06-27 06:00:28 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING add a simple note about GCC 5.3. 2016-04-03 06:16:02 +00:00