NetBSD/usr.sbin/ldpd
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
..
Makefile Attempt to write a manpage for ldpd.conf 2013-10-18 10:49:19 +00:00
TODO
conffile.c CVE 1129617: negative arg 2013-11-19 16:42:16 +00:00
conffile.h allow setting transport addresses for interfaces into config file 2013-10-17 18:10:23 +00:00
fsm.c Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
fsm.h
label.c Store local bindings in a rbtree 2013-07-31 06:58:23 +00:00
label.h Store local bindings in a rbtree 2013-07-31 06:58:23 +00:00
ldp.h
ldp_command.c Use rbtree for storing peers FEC label bindings 2013-08-02 07:29:56 +00:00
ldp_command.h Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
ldp_errors.c retire union_ntoa, replace it with satos 2013-07-16 02:54:32 +00:00
ldp_errors.h
ldp_peer.c Use rbtree for storing peers FEC label bindings 2013-08-02 07:29:56 +00:00
ldp_peer.h Use rbtree for storing peers FEC label bindings 2013-08-02 07:29:56 +00:00
ldpd.8
ldpd.conf.5 Sort SEE ALSO. Grammar consistency. 2013-10-18 12:29:52 +00:00
main.c Store local bindings in a rbtree 2013-07-31 06:58:23 +00:00
mpls_interface.c Use rbtree for storing peers FEC label bindings 2013-08-02 07:29:56 +00:00
mpls_interface.h Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
mpls_routes.c Separate nexthop caches from the routing table 2016-04-04 07:37:07 +00:00
mpls_routes.h Do not pack struct rt_msg - this voids the alignement restrictions and 2013-08-02 16:51:25 +00:00
notifications.c
notifications.h
pdu.c
pdu.h
socketops.c ensure variables are initialised 2013-10-30 08:41:57 +00:00
socketops.h
tlv.c
tlv.h
tlv_stack.c Store local bindings in a rbtree 2013-07-31 06:58:23 +00:00
tlv_stack.h