opnsense-src/sys/dev/cxgbe/tom
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
..
t4_connect.c cxgbe(4): Overhaul CLIP (Compressed Local IPv6) table management. 2021-05-23 16:07:29 -07:00
t4_cpl_io.c cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
t4_ddp.c cxgbei: Fix a race between transfer setup and a peer reset. 2021-05-28 16:47:04 -07:00
t4_listen.c routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
t4_tls.c cxgbe tom: Remove orphaned function max_imm_tls_space(). 2021-06-16 11:39:39 -07:00
t4_tls.h cxgbe: De-duplicate some of the code for managing TLS key contexts. 2021-06-15 17:45:32 -07:00
t4_tom.c cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close. 2021-08-12 08:48:35 -07:00
t4_tom.h cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close. 2021-08-12 08:48:35 -07:00
t4_tom_l2t.c cxgbe/tom: Put the ifnet or VLAN's PCP value in the 802.1Q tag of frames 2018-08-17 19:22:46 +00:00
t4_tom_l2t.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00