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 c541bd368f86.
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
..
2021-06-11 15:40:34 +02:00
2021-07-10 13:08:18 +02:00
2021-08-11 10:54:56 -05:00
2021-08-17 16:29:22 -04:00
2020-05-19 18:35:08 +00:00
2020-05-19 18:35:08 +00:00
2020-09-01 21:19:14 +00:00
2020-06-17 13:27:13 +00:00
2020-10-19 17:07:19 +00:00
2020-09-01 21:19:14 +00:00
2021-08-05 20:44:36 +00:00
2020-11-08 18:49:23 +00:00
2021-05-05 17:12:51 -04:00
2021-01-17 20:32:26 +00:00
2021-05-05 13:45:52 +02:00
2021-08-08 10:16:06 +02:00
2020-11-29 13:41:49 +00:00
2020-09-01 21:19:14 +00:00
2019-10-14 20:32:11 +00:00
2019-10-14 20:32:11 +00:00
2021-04-10 13:47:49 +00:00
2021-05-03 13:35:19 -04:00
2021-07-07 07:22:35 -04:00
2021-04-07 14:32:56 -04:00
2020-11-22 20:21:10 +00:00
2020-10-18 17:15:47 +00:00
2020-10-18 17:15:47 +00:00
2021-02-25 10:13:52 +01:00
2021-08-04 22:52:43 +00:00
2020-10-09 12:06:43 +00:00
2021-03-04 20:56:48 +01:00
2021-01-21 21:48:49 +00:00
2019-12-06 16:35:48 +00:00
2021-07-28 09:35:09 -07:00
2021-08-19 10:48:53 +02:00
2019-10-07 22:40:05 +00:00
2021-08-22 22:56:08 +00:00
2021-02-02 13:24:17 -08:00
2020-01-15 06:05:20 +00:00
2020-09-01 21:19:14 +00:00
2020-02-26 14:26:36 +00:00
2021-08-22 22:56:08 +00:00
2021-08-13 11:06:17 +02:00
2021-05-31 05:48:15 +02:00
2020-09-01 21:19:14 +00:00
2021-08-22 22:56:08 +00:00
2021-08-14 18:50:12 +02:00
2020-11-12 21:58:47 +00:00
2021-08-09 12:01:46 +02:00
2021-07-09 23:19:25 +02:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2021-03-12 09:48:10 -08:00
2020-09-01 21:19:14 +00:00
2021-08-09 15:58:46 +02:00
2021-07-09 23:19:25 +02:00
2020-06-22 14:36:14 +00:00
2020-06-18 19:32:34 +00:00
2020-09-24 12:26:06 +00:00
2021-07-09 23:19:25 +02:00
2020-09-01 21:19:14 +00:00
2021-08-20 14:06:41 +02:00
2020-09-01 21:19:14 +00:00
2019-10-14 20:32:11 +00:00
2019-10-14 20:32:11 +00:00
2020-09-24 12:26:06 +00:00
2020-07-10 14:56:05 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2021-08-09 15:58:46 +02:00
2020-09-24 12:26:06 +00:00
2021-07-09 23:19:25 +02:00
2021-06-27 20:14:48 +02:00
2020-06-11 13:34:09 +00:00
2021-03-13 16:37:28 +01:00
2021-01-24 00:07:41 +01:00
2021-01-12 13:16:10 +00:00
2020-09-01 21:19:14 +00:00
2020-10-16 10:44:48 +00:00
2021-07-09 23:19:25 +02:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2021-07-09 23:19:25 +02:00
2020-09-01 21:19:14 +00:00
2020-10-16 10:44:48 +00:00
2021-08-07 15:12:09 +02:00
2021-07-09 23:19:25 +02:00
2020-09-01 21:19:14 +00:00
2021-05-06 11:22:26 -04:00
2020-09-01 21:19:14 +00:00
2020-02-12 13:31:36 +00:00
2021-04-20 10:02:20 -07:00
2021-07-08 08:16:45 -04:00
2021-07-07 07:22:35 -04:00
2021-06-19 19:25:22 +02:00
2020-09-01 21:19:14 +00:00
2021-08-17 16:29:22 -04:00
2021-08-06 11:28:44 +02:00
2021-08-06 11:28:44 +02:00
2021-04-21 13:00:16 -07:00
2021-04-21 13:00:16 -07:00
2021-06-25 09:30:54 -04:00
2020-05-03 00:37:16 +00:00
2021-05-06 11:22:26 -04:00
2021-05-07 17:32:32 -04:00
2021-06-04 05:26:43 -04:00
2021-05-10 19:06:20 +02:00
2020-02-26 14:26:36 +00:00
2021-07-13 12:45:15 -04:00
2021-06-22 16:03:44 -07:00
2021-04-18 16:16:42 +02:00
2020-04-14 16:35:05 +00:00
2021-02-18 22:36:01 -06:00
2021-05-06 10:19:21 -07:00
2021-08-05 13:48:44 +02:00
2021-08-05 19:17:35 -04:00
2021-08-17 16:29:22 -04:00
2021-08-22 22:56:08 +00:00
2021-04-21 13:00:16 -07:00
2021-08-05 13:48:44 +02:00
2020-09-18 02:21:15 +00:00
2020-02-12 13:31:36 +00:00
2020-02-12 13:31:36 +00:00