freebsd with flexible iflib nic queues
Go to file
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
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github [skip ci] fix syntax in CODEOWNERS 2021-07-22 10:58:54 -06:00
bin ls: prevent no-color build from complaining when COLORTERM is non-empty 2021-08-19 21:22:16 +02:00
cddl zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
contrib Apply clang fix for assertion failure compiling multimedia/minitube 2021-08-21 23:03:50 +02:00
crypto OpenSSL: Add support for Chacha20-Poly1305 to kernel TLS on FreeBSD. 2021-08-17 14:41:42 -07:00
etc vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
gnu dialog: fix macro redefinition 2021-03-01 16:01:44 +01:00
include Add _Fork() 2021-08-03 21:19:32 +03:00
kerberos5 kerberos5: fix the WITH_OPENLDAP build 2021-01-30 00:07:50 -06:00
lib Fix aio_readv(2), aio_writev(2) with SIGEV_THREAD. 2021-08-22 23:49:23 +12:00
libexec Allow rc.d script to provide "status" method, even if it does not 2021-08-20 09:43:46 -07:00
release release: allow VM_EXTRA_PACKAGES to be specified in the environment 2021-08-09 10:31:51 -06:00
rescue Fix building rescue/rescue when sanitizers are enabled 2021-07-06 12:18:30 +01:00
sbin dhclient: skip_to_semi() consumes semicolon already 2021-08-19 09:11:38 -04:00
secure secure/caroot, certctl: Rename secure/caroot/blacklisted 2021-06-18 13:38:07 +01:00
share localedef: unbreak WITHOUT_LOCALES 2021-08-19 12:38:17 -05:00
stand loader: loader_lua can run command_more twice 2021-08-21 21:28:54 +03:00
sys routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
targets Prefer MK_SSP=no to SSP_CFLAGS= 2021-08-04 15:23:22 -03:00
tests Fix aio_readv(2), aio_writev(2) with SIGEV_THREAD. 2021-08-22 23:49:23 +12:00
tools Fix a few typos in source code comments 2021-08-14 09:39:17 +02:00
usr.bin lio_listio(2): Allow LIO_READV and LIO_WRITEV. 2021-08-22 23:00:42 +12:00
usr.sbin bhyve: change a default address from ANY to localhost 2021-08-21 19:43:17 +02:00
.arcconfig Remove history.immutable from .arcconfig 2021-04-13 12:36:25 +01:00
.arclint
.cirrus.yml Revert "Cirrus-CI: Temporarily skip package build + test" 2021-07-27 16:28:47 -04:00
.clang-format clang-format: Avoid breaking after the opening paren of function definitions 2020-10-28 11:54:00 +00:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore gitignore: Add .clangd and .ccls-cache 2021-06-04 16:56:08 +08:00
COPYRIGHT copyrights: Happy New Year 2021 2020-12-31 10:29:44 -05:00
LOCKS
MAINTAINERS [skip ci] volunteer to maintain POSIX AIO 2021-05-30 17:21:12 -06:00
Makefile Revert "Fix native-xtools build" 2021-08-03 10:00:28 -07:00
Makefile.inc1 localedef: unbreak WITHOUT_LOCALES 2021-08-19 12:38:17 -05:00
Makefile.libcompat Prefer MK_SSP=no to SSP_CFLAGS= 2021-08-04 15:23:22 -03:00
Makefile.sys.inc
ObsoleteFiles.inc pmc(3): remove Pentium-related man pages and references 2021-08-10 17:19:58 -03:00
README.md Whitespace cleanup 2021-03-12 19:57:58 +08:00
RELNOTES RELNOTES: Add entries for KASAN and KMSAN 2021-08-11 13:08:36 -04:00
UPDATING UPDATING: Add a note about OpenSSL defaulting KTLS to off. 2021-08-17 14:43:46 -07:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Various commands and libraries under the GNU Public License. Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources.
sys/arch/conf Kernel configuration files. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries.
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.