Commit Graph

3932 Commits

Author SHA1 Message Date
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
taca
6e08e9b7d3 Update root.cache entry. 2016-04-03 08:21:15 +00:00
ozaki-r
0b31db8c25 Document arp sysctl removals 2016-03-30 05:55:04 +00:00
ozaki-r
9bacf05801 Document net.inet6.ip6.neighborgcthresh change 2016-03-30 05:45:26 +00:00
mrg
6647f806a6 note (belatedly) gdb 7.10 import. 2016-03-26 10:40:05 +00:00
mbalmer
9949b464d8 Note Lua patch level. 2016-03-25 08:16:57 +00:00
roy
617cd03a1a Note wpa_supplicant interface matching addition 2016-03-23 09:56:40 +00:00
wiz
0c71d630f2 Mention to update MDATE in src/external/gpl2/groff/Makefile.inc on
next groff import, if any.
2016-03-16 23:52:53 +00:00
wiz
fc64986abe expat-2.1.1 out. 2016-03-16 20:17:42 +00:00
christos
6361633a4d tz{code,data}2016b 2016-03-15 17:30:26 +00:00
christos
e4aeb67ff4 tz{code,data} 2016b is out. 2016-03-15 15:17:08 +00:00
snj
b247a5c33c ntp 4.2.8p6 is out. 2016-03-13 00:09:46 +00:00
christos
d600878e36 new openssh 2016-03-11 01:57:14 +00:00
christos
fd7d1a5df9 new bind 2016-03-10 04:02:29 +00:00
taca
9d3fab3e74 BIND 9.10.3-P4 has released. 2016-03-10 02:23:26 +00:00
christos
61a6f3b1eb new openssl 2016-03-02 01:54:19 +00:00
mrg
540da75fb3 add mv(1) and SIGINFO. 2016-02-28 11:00:14 +00:00
joerg
24d50a40b3 As workaround for limitations in Clang's atomic lowering on SPARC,
require v8+ for those files that need C++11 atomics.
2016-02-27 21:42:14 +00:00
joerg
dda31211fa When building the atomic op test on SPARC64 with Clang, skip the
sub-32bit tests for now. Clang currently doesn't synthesize a CAS
replacement nor does it create a libcall.
2016-02-27 18:50:39 +00:00
wiz
60be27da02 gdb-7.11 is out. 2016-02-24 16:06:20 +00:00
roy
06d45ff91d Note import of openresolv-3.7.3 2016-02-22 10:10:15 +00:00
christos
e7f950d16b mention latest elftoolchain 2016-02-20 02:50:33 +00:00
wiz
8fb56a34eb texinfo-6.1 and grep-2.23 out. 2016-02-11 13:36:00 +00:00
christos
74d3e3e66c new openssl 2016-01-30 17:00:53 +00:00
wiz
630110fe35 Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
wiz
dbd12a24b4 binutils-2.26 out. 2016-01-28 09:12:17 +00:00
roy
d19d3590dc Note import of dhcpcd-6.10.1 2016-01-20 19:43:23 +00:00
christos
bcae4de40b mention new bind. 2016-01-20 02:15:15 +00:00
christos
596bcc40ea mention autoconf 2016-01-16 18:56:48 +00:00
christos
e034577dd9 explain gnats 2016-01-14 21:15:17 +00:00
christos
1fa343e626 move rcs 2016-01-14 04:25:13 +00:00
christos
8154c64cfe texinfo has moved. 2016-01-14 00:41:14 +00:00
christos
855f16463e Document archeological digs for our gnumalloc. 2016-01-13 22:01:15 +00:00
christos
5830aac598 groff has moved. 2016-01-13 19:27:26 +00:00
taca
c5ef9c870f ISC DHCP 4.3.3-P1 is released. 2016-01-13 04:41:01 +00:00
christos
ddbfbb101f update diffutils and gettext 2016-01-13 03:44:27 +00:00
christos
feb1e65606 new gettext (and minor explanations to other GPL programs) 2016-01-12 23:03:55 +00:00
christos
e9066f4d8e vax does not use gcc 2.95 2016-01-12 23:03:33 +00:00
christos
7801ee002b Add hack for cabs{,f,l} in <complex> 2016-01-11 22:50:35 +00:00
christos
fd90bcde07 mention new dhcp. 2016-01-10 20:12:20 +00:00
christos
41b5dd61e0 update tmux info 2016-01-10 19:06:08 +00:00
christos
b4d1e6eb5b new byacc 2016-01-09 22:07:53 +00:00
christos
767df2e7b4 new acpica 2016-01-09 21:16:35 +00:00
christos
41fe85e8dc new flex 2016-01-09 18:37:24 +00:00
christos
3ec8d00a3d new ntpd 2016-01-08 21:38:16 +00:00
roy
57e55b4121 Note import of dhcpcd-6.10.0 2016-01-07 20:16:12 +00:00
wiz
056eaaa80c llvm-3.7.1 out. 2016-01-07 10:18:36 +00:00
wiz
42285f7bf0 sqlite3-3.10 out. 2016-01-07 10:13:37 +00:00
kamil
8f0a7c96ff gnu mp 6.1.0 is out 2016-01-06 04:42:10 +00:00
kamil
e423508608 mpfr 3.1.3 is out 2016-01-06 04:41:02 +00:00