freebsd-src/sys
Kajetan Staszkiewicz 50edc63071 pfsync: Fix offset calculation
Even though message version is automatically recognized and the top of
the struct is identical for different versions, when iterating over
multiple messages proper message length must be used. That's the length
of an union member for given version, not of the union itself.

Reviewed by:	kp
Differential Revision:	https://reviews.freebsd.org/D43862
2024-02-15 12:54:02 +01:00
..
amd64 amd64 pcb.h: use 4 hex digits for pcb flags 2024-02-11 05:38:41 +02:00
arm arm: Add EARLY_PRINTF and SOCDEV_PA/VA to NOTES 2024-02-13 11:48:53 +00:00
arm64 arm64: Add EARLY_PRINTF and SOCDEV_PA to NOTES 2024-02-13 11:48:53 +00:00
bsm
cam Fix typo in da flags reporting 2024-02-13 10:44:59 -07:00
cddl Abstract UIO allocation and deallocation. 2024-02-10 11:38:04 -05:00
compat LinuxKPI: sort dev_<loglevel>() functions 2024-02-14 22:05:21 +00:00
conf riscv: Introduce support for APLIC interrupt controller 2024-02-14 11:42:29 -04:00
contrib zfs: merge openzfs/zfs@e0bd8118d 2024-02-15 10:22:15 +01:00
crypto
ddb
dev pci_host_generic: Don't rewrite resource start address for translation 2024-02-14 14:07:33 -08:00
dts add allwinner overlays for enabling additional USB ports 2024-01-28 13:12:39 +02:00
fs fusefs: only test for incoherency if FN_SIZECHANGE is set 2024-02-08 20:13:24 -07:00
gdb
geom graid: unbreak Promise RAID1 with 4+ providers 2024-02-12 14:33:43 +07:00
gnu
i386 i386: Use bool for booleans in getmemsize 2024-02-05 15:39:31 -08:00
isa
kern physmem ram: Don't reserve excluded regions 2024-02-14 14:07:33 -08:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@e0bd8118d 2024-02-15 10:22:15 +01:00
net net: bandaid for plugging a fw_com leak in fwip_detach() 2024-02-15 01:00:49 +00:00
net80211 net80211: deal with lost state transitions 2024-02-14 19:47:21 +00:00
netgraph sockets: garbage collect SS_ISCONFIRMING 2024-01-30 10:38:33 -08:00
netinet tcp: fix RTO ssthresh for non-6675 pipe calculation 2024-02-14 14:51:53 +01:00
netinet6 Revert "sockets: retire sorflush()" 2024-02-03 13:08:41 -08:00
netipsec netipsec: fix LINT-NOINET build 2024-01-20 22:22:21 +01:00
netlink sys/netlink/route/iface.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
netpfil pfsync: Fix offset calculation 2024-02-15 12:54:02 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed sockets: provide correct pr_shutdown for keysock and SDP 2024-01-16 12:02:59 -08:00
opencrypto
powerpc ddb: Use bool for boolean variables in MD code 2024-02-02 15:08:53 -08:00
riscv riscv: Introduce support for APLIC interrupt controller 2024-02-14 11:42:29 -04:00
rpc rpc: Fix typo in comment 2024-02-13 14:20:45 +08:00
security
sys sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
teken
tests callout: retire callout_async_drain() 2024-01-24 09:33:27 -08:00
tools makesyscalls: generate private syscall symbols 2024-02-05 20:34:56 +00:00
ufs Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
vm pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
x86 x86/ucode: add const where appropriate 2024-02-13 08:18:06 -08: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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures