NetBSD/share
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
..
dict + "beaut" 2014-12-03 15:26:44 +00:00
doc Hardcode some dates to make this more MKREPRO safe. 2015-12-23 10:43:35 +00:00
examples Add $NetBSD$ tag. 2016-02-06 20:19:28 +00:00
i18n
legal Split case folding table into separate source file and add full 2016-02-06 10:40:58 +00:00
locale Remove duplicate zh entry. 2013-08-19 22:34:41 +00:00
man Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
me Remove a spurious '%' in "tech%nical" 2013-02-12 20:50:22 +00:00
misc +HSM is also hierarchical storage management 2016-03-22 17:41:26 +00:00
mk Switch alpha to binutils 2.26 2016-04-04 07:02:31 +00:00
nls
tabset
terminfo Correct the x68k's Backspace key behavior. 2015-11-15 06:43:17 +00:00
tmac +libpanel: Z-order for curses windows 2015-11-22 05:12:22 +00:00
wscons Put them one file per line. 2014-07-14 12:21:56 +00:00
xml Do not bother installing any XML calatog when MKKYUA!=no. We won't need 2013-02-25 00:23:01 +00:00
Makefile Hook external/public-domain/tz into the build, and unhook share/zoneinfo. 2014-08-08 09:34:10 +00:00
Makefile.inc