freebsd-src/sys
Kajetan Staszkiewicz 99475087d6 pf: Add pfsync protocol for FreeBSD 15
A new version of pfsync packet is introduced: 1500. This version solves
the issues with data alignment introduced in version 1400 and adds syncing
of information needed to sync states created by rules with af-to (original
interface, af and proto separate for wire and stack keys), of rt_af
needed for prefer-ipv6-nexthop, and of tag names.

Reviewed by:	kp
Sponsored by:	InnoGames GmbH
Differential Revision:	https://reviews.freebsd.org/D52176
2025-09-23 12:06:33 +02:00
..
amd64 x86: directly use clflushopt mnemonic in cpufunc.h 2025-09-21 06:04:58 +03:00
arm arm/atomic.h: remove misleading comment 2025-09-20 22:24:02 +03:00
arm64 arm64: Enable EPAN and IESB 2025-09-19 11:05:48 +01:00
bsm vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
cam cam(3): Fix a common typo in source code comments 2025-08-25 10:35:01 +02:00
cddl dtrace: Deduplicate dtrace_sync() and dtrace_xcall() implementations 2025-09-18 22:09:49 +00:00
compat linuxkpi: Move string_helpers.h to string_choices.h 2025-09-18 21:42:19 -04:00
conf tcp: improve compilation of cc and their helper modules 2025-09-16 23:30:40 +02:00
contrib Revert "zfsctl_root_readdir: if there were no dirents to copy out, return EINVAL" 2025-09-19 20:11:50 +03:00
crypto ossl: Add GCM support on powerpc64/powerpc64le (POWER8+) 2025-09-11 16:08:05 +00:00
ddb ddb ps: Print again the effective GID, separately 2025-09-09 17:56:40 +02:00
dev iichid(4): Do not add 2 leading "length" bytes to input report length 2025-09-22 11:37:20 +03:00
dts
fs fusefs: fix a kernel panic regarding SCM_RIGHTS 2025-09-19 16:38:42 -06:00
gdb
geom GEOM: remove the redundant if statement 2025-09-13 21:29:00 -06:00
gnu
i386 x86: directly use clflushopt mnemonic in cpufunc.h 2025-09-21 06:04:58 +03:00
isa isa: Fix a typo in a source code comment 2025-08-17 11:28:20 +02:00
kern pipe: sort out ino commentary on failed pipe creation 2025-09-22 08:44:46 +00:00
kgssapi kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
libkern Fix possible out of bounds read in armv8_crc32c 2025-09-10 10:21:38 -04:00
modules dtraceall: Enable kinst for aarch64 and riscv as well 2025-09-16 18:37:19 +03:00
net pf: Add pfsync protocol for FreeBSD 15 2025-09-23 12:06:33 +02:00
net80211 net80211: add support for drivers to disable sending NULL data frames 2025-09-08 18:48:10 -07:00
netgraph ng_btsocket_rfcomm: Mark a couple buffers as const in a helper function 2025-09-15 13:57:19 +00:00
netinet tcp: minor cleanup 2025-09-10 21:46:24 +02:00
netinet6 sys/netinet6: Fix ABI breakage introduced with RFC 7217 support 2025-09-22 09:59:36 +02:00
netipsec ipsec offload: ipsec_accel_fill_xh() should indirect through fn pointer 2025-07-17 13:57:35 +03:00
netlink netlink: Bypass refcounting when setting promiscuity 2025-08-26 00:40:17 +02:00
netpfil pf: Add pfsync protocol for FreeBSD 15 2025-09-23 12:06:33 +02:00
netsmb kern: adopt the cr_gid macro for cr_groups[0] more widely 2025-07-24 09:59:08 -05:00
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc arm, powerpc, riscv: implement atomic_set/clear_16 2025-09-20 22:23:54 +03:00
riscv arm, powerpc, riscv: implement atomic_set/clear_16 2025-09-20 22:23:54 +03:00
rpc Revert "Remove Secure RPC DES authentication" 2025-08-15 17:59:18 +01:00
security MAC/do: Restore matching the first supplementary group 2025-09-17 14:16:03 +02:00
sys fcntl(F_SETFL): only allow one thread to perform F_SETFL 2025-09-20 22:24:10 +03:00
teken
tests
tools makeobjops.awk: Style nits in generated files 2025-09-08 23:33:28 +08:00
ufs ffs(3): Fix a typo in a source code comment 2025-08-25 10:37:27 +02:00
vm vm/vm_fault.c: update and split comments for vm_fault() and vm_fault_trap() 2025-09-16 19:05:24 +03:00
x86 cpucontrol: return selected revision from ucode_amd_find() 2025-09-18 08:11:03 -07:00
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures