CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2025/01/09 05:16:21

Modified files:
        usr.sbin/bgpd  : bgpd.h rde.c rde.h rde_peer.c rde_update.c 
                         util.c 

Log message:
Bring in first bits of RFC 8950 support (IPv4 routes with IPv6 nexthop).

The big change of RFC 8950 is that when enabled some updates will use
MP_REACH_ATTR even for AID_INET. Right now AID_INET was always using the
original RFC 4271 encoding.

Add extra checks that disallow AID_INET to use MP_REACH_ATTR or
MP_UNREACH_ATTR if RFC 8950 is not negotiated or needed.

While there also allow 48byte AID_VPN_IPv6 nexthops since theoretically
they are allowed (we just ignore the 2nd link-local nexthop).

OK tb@

Reply via email to