FreeBSD source tree https://www.FreeBSD.org
  • C 59.8%
  • C++ 26.8%
  • Roff 4.5%
  • Shell 2.8%
  • Assembly 1.7%
  • Other 3.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pouria Mousavizadeh Tehrani 84f790e5b6
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
ip_encap: Recompute flowid for packets received over tunnel
Packets decapsulated by a tunnel interface carry the NIC's flowid
computed over the outer tunnel tuple, which is the same for every
flow a peer carries. Therefore mpath nhop selection places all
traffic on one path.

Add encap_set_flowid() to ip_encap.c, which rehashes a decapsulated
IP packet on its inner addresses.

The feature is off by default and is enabled with the per-vnet
net.route.hash_inbound sysctl.

Reviewed by:	gallatin
Differential Revision:	https://reviews.freebsd.org/D60552
2026-10-14 00:29:03 +03:30
.github Add christos@ to MAINTAINERS and .github/CODEOWNERS 2026-09-26 15:28:09 +02:00
bin pwd(1): De-obfuscate, style(9) 2026-09-23 13:37:45 +02:00
cddl ctf*: exit with error upon terminate() 2026-10-09 14:23:42 -04:00
contrib auditdistd: Use fixed-length protocol names 2026-10-13 17:55:40 +02:00
crypto openssl: configure with --openssldir=/etc/ssl 2026-10-08 11:27:59 -07:00
etc tests: add UFS synchronous write durability tests 2026-10-12 21:28:32 -07:00
include ufshci: install the ioctl header 2026-09-15 01:44:34 +00:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-05 09:18:35 -07:00
krb5 krb5: Install profile.h again 2026-07-27 07:01:21 -07:00
lib libthr: Fix LIBPTHREAD_QUEUE_FIFO range 2026-10-14 06:27:46 +11:00
libexec safe_eval.sh: safe_set_var use [:space:] if possible 2026-10-11 14:55:11 -07:00
packages sysrc: make independant from bsdconfig(8) 2026-09-14 15:42:27 +02:00
release EC2: Use stream-optimized VMDK format 2026-10-03 09:44:03 -07:00
rescue net: Revert the ioctl SR-IOV VF status interface 2026-08-10 15:49:55 -07:00
sbin pfctl: remove the prototype of pfr_ina_define() 2026-10-11 13:38:40 -04:00
secure openssl: make libcrypto export the same symbols as upstream 2026-10-08 14:10:34 -07:00
share committers-ports.dot: Restore ahze from alumni 2026-10-13 15:32:32 -04:00
stand loader.efi: devinit() just after parsing args instead 2026-10-07 21:16:28 -05:00
sys ip_encap: Recompute flowid for packets received over tunnel 2026-10-14 00:29:03 +03:30
targets apmd: Retire the APM daemon 2026-09-30 12:20:02 -04:00
tests pf: Do not hash pool address pointers into rule hashes 2026-10-13 15:17:48 -04:00
tools stress2: Add a new FS type: UFS2 to the test. 2026-10-13 10:11:15 +02:00
usr.bin ncal(1): handle Sweden's transitional calendar (1700-1712) 2026-10-12 18:30:07 -06:00
usr.sbin bhyve: Use the new spelling of MPIDR_Aff* 2026-10-09 15:59:37 +01:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.clang-format clang-format: adjust to sort C++ headers per style(9) 2026-01-30 20:14:10 -08:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.editorconfig Add .editorconfig 2026-03-07 00:51:15 -07:00
.git-blame-ignore-revs Ignore the white-space-only change for decompress.c 2026-07-13 14:25:00 -06:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore .gitignore: add tgrep index directory 2026-10-08 12:25:02 +03:00
.mailmap mailmap: Add mappings for rmoeller 2026-10-13 12:33:33 -04:00
CONTRIBUTING.md CONTRIBUTING: fix typos in GitHub contribution guide 2026-04-21 15:19:36 -04:00
COPYRIGHT copyright: Happy New Year 2026! 2026-01-01 00:29:23 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS Add christos@ to MAINTAINERS and .github/CODEOWNERS 2026-09-26 15:28:09 +02:00
Makefile Source upgrade doc: etcupdate no longer needs -B 2026-06-21 13:54:17 -04:00
Makefile.inc1 Makefile.inc1: Don't unnecessarily ignore rm errors 2026-10-09 11:06:46 -04:00
Makefile.libcompat Retire the GNU subtree 2026-07-07 08:47:40 +02:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc ObsoleteFiles.inc: <sys/kpilite.h> was removed 2026-10-12 14:39:21 +02:00
README.md Retire the GNU subtree 2026-07-07 08:47:40 +02:00
RELNOTES Add release notes entry for less v710. 2026-09-19 11:48:28 -07:00
UPDATING misc: Avoid use of Unicode closing single quote 2026-09-23 14:43:13 +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.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Source code for third-party software under the Common Development and Distribution License.
contrib Source code for third-party software.
crypto Source code for cryptographic libraries and commands (see crypto/README).
etc Template files for /etc.
include System include files.
kerberos5 Build system for Kerberos 5 (Heimdal).
krb5 Build system for Kerberos 5 (MIT).
lib System libraries.
libexec System commands intended to be executed by other commands or daemons.
packages Base system packages.
release Makefiles and scripts used for building releases and VM images.
rescue Build system for statically linked /rescue commands.
sbin System commands.
secure Build system for cryptographic libraries and commands (excluding Kerberos).
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Tests which can be run by Kyua. See tests/README for additional information.
tools Ancillary utilities and tests (not included in the build).
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.