NetBSD/sbin
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
..
amrctl
apmlabel
atactl add smart IDs 210, 246, 247 and 248 (Micron): 2015-09-21 06:05:00 +00:00
badsect
bioctl kill 1 copy of strtonum. 2015-01-16 20:12:28 +00:00
brconfig Use the new BRDGGIFS and BRDGRTS cmds which just use ifdrv directly. 2015-06-01 06:15:18 +00:00
ccdconfig Make ccdconfig resolve wedge names. 2014-12-07 10:44:34 +00:00
cgdconfig CID 1340063: fix TOCTOU 2015-11-24 14:07:18 +00:00
chkconfig
chown
clri Calculate sector size from superblock and use that instead of DEV_BSIZE. 2015-08-30 05:23:17 +00:00
devpubd safely update existing wedge links 2015-03-01 14:21:17 +00:00
disklabel fix broken patch 2016-01-31 23:11:49 +00:00
dkctl Sort command list in usage. 2016-01-06 23:03:13 +00:00
dkscan_bsdlabel Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
dmctl fix error messages containing \n 2015-06-16 23:18:54 +00:00
dmesg
drvctl synch usage() with the man page. 2015-12-07 03:34:00 +00:00
dump - update NAME_MAX to match the kernel. 2015-11-16 17:06:47 +00:00
dump_lfs Make dump recognize lfs64. 2015-10-15 06:25:12 +00:00
fastboot
fdisk explain how to clear an entry (without reading the source) 2015-11-22 15:53:10 +00:00
fsck Add used-by comments on source files that are .PATH'd in from elsewhere. 2015-06-21 04:01:40 +00:00
fsck_ext2fs Instead of zerodivide, give a useful error message. 2014-12-04 01:41:37 +00:00
fsck_ffs -O0 for pass1.c and vax 2016-03-23 21:43:33 +00:00
fsck_lfs Comment out unused logic. PR 50973 2016-03-20 04:24:46 +00:00
fsck_msdos PR/50908: David Binderman: Optimize memset's 2016-03-07 14:47:25 +00:00
fsck_v7fs
fsdb -O0 for pass1.c and vax 2016-03-23 21:43:33 +00:00
fsirand Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
gpt gpt_vwarnx is printf-like. 2016-01-08 18:59:01 +00:00
ifconfig PR/50909: David Binderman: Optimize memset 2016-03-07 15:56:17 +00:00
init these are syslog-like 2015-10-14 15:53:24 +00:00
iscsictl update client OS version as well 2015-08-30 10:49:57 +00:00
iscsid fix iSCSI RFC number 2015-11-10 12:41:18 +00:00
ldconfig
luactl
mbrlabel
mknod Accept driver names only in the two args form together with a minor number. 2014-08-22 22:28:50 +00:00
modload Add cross-refs from modload(8) amd modunload(8) to modctl(2) 2015-11-28 23:53:48 +00:00
modstat By default, don't display the module load address. Add a -k option 2015-12-02 00:56:09 +00:00
modunload Add cross-refs from modload(8) amd modunload(8) to modctl(2) 2015-11-28 23:53:48 +00:00
mount Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
mount_ados
mount_cd9660
mount_chfs
mount_efs
mount_ext2fs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_fdesc
mount_ffs
mount_filecore
mount_hfs
mount_kernfs
mount_lfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_msdos fix usage message 2016-02-06 10:35:58 +00:00
mount_nfs Fix typos 2015-04-28 09:48:30 +00:00
mount_nilfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_ntfs more recent information about unsupported drives. 2015-09-09 11:14:09 +00:00
mount_null
mount_overlay
mount_portal Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
mount_procfs
mount_ptyfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_puffs Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
mount_sysvbfs
mount_tmpfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_udf Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_umap
mount_union
mount_v7fs
newbtconf
newfs no need to escape 2016-04-01 05:23:56 +00:00
newfs_ext2fs fix error messages containing \n 2015-06-16 23:18:54 +00:00
newfs_lfs Enable the creation of lfs64 volumes. 2015-10-15 06:24:33 +00:00
newfs_msdos Use the same defaults for cluster sizes as Windows. 2016-04-03 11:00:13 +00:00
newfs_sysvbfs
newfs_udf PR/50920: David Binderman: fix leak 2016-03-09 19:48:24 +00:00
newfs_v7fs fix error messages containing \n 2015-06-16 23:18:54 +00:00
nologin
ping Adjust default packet size to 56 data bytes (64 total). 2014-11-29 14:48:42 +00:00
ping6 #ifdef forward declaration of setpolicy like definition. 2016-02-29 16:25:06 +00:00
pppoectl don't need mbuf.h! 2016-01-23 15:41:47 +00:00
raidctl PR/50921: David Binderman: Fix memory leak 2016-03-09 19:53:32 +00:00
rcorder
reboot
resize_ffs fix pasto 2016-03-17 01:41:54 +00:00
resize_lfs Add a (draft) 64-bit superblock. Make things build again. 2015-08-02 18:18:09 +00:00
restore Don't truncate at microseconds while preserving timestamps. 2015-03-02 03:17:24 +00:00
rndctl Use <sys/rndio.h> instead of <sys/rnd.h>. 2015-04-13 22:18:50 +00:00
route Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
routed Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
savecore
scan_ffs Teach scan_ffs about lfs64. 2015-10-15 06:25:23 +00:00
scsictl src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
setkey
shutdown
slattach
svhlabel
swapctl don't stop processing /etc/fstab when one entry fails, both for 2015-10-11 23:58:16 +00:00
sysctl mention ip6addrctl 2015-12-13 14:24:47 +00:00
ttyflags open the tty with O_RDWR|O_NONBLOCK. it seems valid to ask for 2014-05-04 20:43:30 +00:00
tunefs Use getfsspecname also when not found in /etc/fstab. 2015-08-26 05:41:20 +00:00
umount Remove useless and harmful sync(2) call in umount(8) 2015-06-27 08:29:56 +00:00
veriexecctl fix error messages containing \n 2015-06-16 23:18:54 +00:00
wdogctl Use _PATH_WATCHDOG from <paths.h> instead of locally-defined value. 2015-05-06 23:08:30 +00:00
wsconsctl
Makefile Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8). 2014-09-11 13:10:03 +00:00
Makefile.inc