freebsd-dev/sys/contrib
Zhenlei Huang 62e1a437f3 routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549).
Implement kernel support for RFC 5549/8950.

* Relax control plane restrictions and allow specifying IPv6 gateways
 for IPv4 routes. This behavior is controlled by the
 net.route.rib_route_ipv6_nexthop sysctl (on by default).

* Always pass final destination in ro->ro_dst in ip_forward().

* Use ro->ro_dst to exract packet family inside if_output() routines.
 Consistently use RO_GET_FAMILY() macro to handle ro=NULL case.

* Pass extracted family to nd6_resolve() to get the LLE with proper encap.
 It leverages recent lltable changes committed in c541bd368f.

Presence of the functionality can be checked using ipv4_rfc5549_support feature(3).
Example usage:
  route add -net 192.0.0.0/24 -inet6 fe80::5054:ff:fe14:e319%vtnet0

Differential Revision: https://reviews.freebsd.org/D30398
MFC after:	2 weeks
2021-08-22 22:56:08 +00:00
..
alpine-hal
ck ck: Correct asm output operand widths in amd64 pointer intrinsics 2021-08-10 21:27:54 -04:00
cloudabi
dev acpica: Import ACPICA 20210730 2021-07-31 00:16:27 -04:00
device-tree
dpdk_rte_lpm routing: Fix crashes with dpdk_lpm[46] algo. 2021-08-17 20:46:22 +00:00
edk2
ena-com
ipfilter/netinet routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
libb2
libfdt
libnv Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
libsodium
ncsw
ngatm
octeon-sdk
openzfs zfs: merge openzfs/zfs@8ae86e2ed (master) into main 2021-08-17 21:10:44 +02:00
pcg-c/include
rdma/krping
v4l
vchiq/interface
x86emu
xz-embedded
zlib
zstd