1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Kristof Provost 742e7210d0 udp: allow udp_tun_func_t() to indicate it did not eat the packet
Allow udp tunnel functions to indicate they have not taken ownership of
the packet, and that normal UDP processing should continue.

This is especially useful for scenarios where the kernel has taken
ownership of a socket that was originally created by userspace. It
allows the tunnel function to pass through certain packets for userspace
processing.

The primary user of this is if_ovpn, when it receives messages from
unknown peers (which might be a new client).

Reviewed by:	tuexen
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D34883
2022-04-12 10:04:59 +02:00
.cirrus-ci
.github ZTS: switch to rsync for directory diffs 2022-03-01 10:05:32 -08:00
bin pax(1): Remove a few double words in source code comments 2022-04-09 14:27:39 +02:00
cddl DTrace test: skip flakey common.misc.t_dtrace_contrib.tst_dynopt_d in CI 2022-03-24 11:37:50 +08:00
contrib wpa/hostapd: Fix 100% CPU when USB wlan NIC removed 2022-04-04 06:11:28 -07:00
crypto OpenSSL: Merge OpenSSL 1.1.1n 2022-03-15 19:37:45 -04:00
etc Create a new GEOM utility, gunion(8). 2022-02-28 16:36:08 -08:00
gnu
include libzfs, libzfs_core: send: always write to pipe 2022-03-08 09:33:08 -08:00
kerberos5
lib getdirentries: return ENOENT for unlinked but still open directory. 2022-04-11 23:30:16 +03:00
libexec Have rtld query the page size from the kernel 2022-04-07 15:37:37 +01:00
release release/rc.local: Replace dialog with bsddialog 2022-03-29 15:21:02 +02:00
rescue
sbin ifconfig.8: Note that -l accepts -g in addition to -d and -u 2022-04-11 20:05:36 +02:00
secure OpenSSL: Merge OpenSSL 1.1.1n 2022-03-15 19:37:45 -04:00
share Cross-reference cd(4) and cd9660(5) 2022-04-08 15:20:38 +02:00
stand Clean up some grammos I left behind. 2022-04-11 20:24:11 +02:00
sys udp: allow udp_tun_func_t() to indicate it did not eat the packet 2022-04-12 10:04:59 +02:00
targets
tests Have path_test ask the kernel for the page size 2022-04-07 15:59:38 +01:00
tools stress2: Add new write(2) test. Remove sctp.sh after problem fixed 2022-04-06 07:25:17 +02:00
usr.bin protect.1: document existence of _oomprotect 2022-04-12 00:23:43 +02:00
usr.sbin tzsetup(8): Refactoring to delete dialog(3) code 2022-04-12 00:38:40 +02:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.gitattributes
.gitignore
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1 Speed up *-old-* make targets by using sed instead of xargs 2022-04-08 20:41:10 -04:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc Correct date in ObsoleteFiles.inc entry 2022-03-18 21:33:10 -04:00
README.md
RELNOTES RELNOTES: Add an entry for boottrace(4) 2022-03-29 13:35:14 +02:00
UPDATING UPDATING: Fix a few typos 2022-04-10 10:11:17 +02: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 Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). 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.