OPNsense - FreeBSD source
Find a file
Kristof Provost eb6c2218fe pfctl: Zap bits in host_v4(), use mask parameter
This avoids a duplicate strrchr() call and makes the function consistent
with host_v6() regarding mask handling.

While here, use the destination's size in memcpy instead of hardcoding its
type.

OK sashan

Obtained from:	OpenBSD, kn <kn@openbsd.org>, a7ede25358
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-06-30 17:00:28 +02:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github github: Fix checklist action 2025-04-28 15:27:29 -06:00
bin pkill: better document ancestor-hiding 2025-06-24 09:49:31 -05:00
cddl Fix location of libtpool.so.2 after 5c1ba994a8 2025-06-26 08:12:04 -06:00
contrib Merge bmake-20250618 2025-06-27 19:49:16 -07:00
crypto openssh: Support building with MIT KRB5 2025-06-15 19:49:36 -07:00
etc libyaml: add missing mtree entry 2025-06-26 13:47:37 +02:00
gnu build: remove the last vestiges of lint support 2025-06-06 00:55:34 +01:00
include libc: Rename fscandir{,_b}() to fdscandir{,_b}(). 2025-06-23 15:03:10 +02:00
kerberos5 build: remove the last vestiges of lint support 2025-06-06 00:55:34 +01:00
krb5 krb5/include: com_err.h and verto.h installed by krb5/util 2025-06-24 08:06:00 -07:00
lib pf: add 'max-pkt-size' 2025-06-27 16:55:15 +02:00
libexec Revert "rc: Disable pathname expansion when calling run_rc_command()" 2025-06-27 20:18:36 +00:00
release release: Fix dvdrom building dependency 2025-06-26 21:53:48 +02:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pfctl: Zap bits in host_v4(), use mask parameter 2025-06-30 17:00:28 +02:00
secure openssh: Support building with MIT KRB5 2025-06-15 19:49:36 -07:00
share pf.conf.5: reflect the new state limit 2025-06-30 09:53:26 +02:00
stand lualoader: Add distinct brand for installer 2025-06-24 12:11:15 -03:00
sys nfscl: Use delegation ACE when mounted with nocto 2025-06-30 07:51:01 -07:00
targets build: remove the last vestiges of lint support 2025-06-06 00:55:34 +01:00
tests pf tests: verify max-pkt-rate on anchors 2025-06-30 09:53:25 +02:00
tools OptionalObsoleteFiles: Keep Heimdal man pages when switching back 2025-06-26 09:00:13 -07:00
usr.bin Merge bmake-20250618 2025-06-27 19:49:16 -07:00
usr.sbin ctladm: skip the tests if ctladm is missing 2025-06-29 02:26:13 +02: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
.cirrus.yml tests/ci: Pre-commit CI with CIRRUS-CI 2025-05-27 18:22:58 +02:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.git-blame-ignore-revs git-blame-ignore-revs: iflib style(9) tweaks 2025-06-06 18:07:06 +08:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore lyaml: vendor import lyaml bindings for libyaml version 6.2.8 2025-06-26 09:09:58 +02:00
.mailmap mailmap: Add Joyu Liao 2025-06-26 14:13:21 +02:00
CONTRIBUTING.md CONTRIBUTING.md/style: spring cleaning 2024-05-10 15:07:03 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
Makefile src/Makefile: log real/user/system time for build targets 2025-06-29 10:48:55 +00:00
Makefile.inc1 Makefile.inc1: Set SOURCE_DATE_EPOCH in more pkg targets 2025-06-27 13:06:58 +00:00
Makefile.libcompat Makefile: Hook MIT KRB5 into the build 2025-06-15 19:49:37 -07:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc Fix location of libtpool.so.2 after 5c1ba994a8 2025-06-26 08:12:04 -06:00
README.md lyaml: vendor import lyaml bindings for libyaml version 6.2.8 2025-06-26 09:09:58 +02:00
RELNOTES RELNOTES: Correct hash for member_ifaddrs change 2025-06-17 10:34:54 -04:00
UPDATING MK_FORTH: Allow removing loader.4th w/ delete-old 2025-06-25 19:13:18 -04: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 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 (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
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.