opnsense-src/sys
Justin Hibbits 8f31b879ec bpf: Add IfAPI analogue for bpf_peers_present()
An interface's bpf could feasibly not exist, in which case
bpf_peers_present() would panic from a NULL pointer dereference.  Solve
this by adding a new IfAPI that could deal with a NULL bpf, if such
could occur in the network stack.

Reviewed by:	zlei
Sponsored by:	Juniper Networks, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42082
2023-10-13 14:33:31 -04:00
..
amd64 pmap: add pmap_kextract(9) man page 2023-10-13 15:27:24 -03:00
arm Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
arm64 pmap: add pmap_kextract(9) man page 2023-10-13 15:27:24 -03:00
bsm
cam cam/scsi: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
cddl dtrace: remove x86 non-EARLY_AP_STARTUP support 2023-10-10 11:03:27 -04:00
compat netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
conf netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
contrib zfs: merge openzfs/zfs@8a7407012 2023-10-13 09:45:15 +02:00
crypto
ddb ddb: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
dev bpf: Add IfAPI analogue for bpf_peers_present() 2023-10-13 14:33:31 -04:00
dts
fs nfscl: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
gdb
geom
gnu
i386 x86: Rename {stop,start}_emulating to fpu_{enable,disable} 2023-10-11 14:32:06 -07:00
isa
kern arm64: do not disable the kern.kstack_pages tunable on arm64 2023-10-13 12:26:45 +03:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@8a7407012 2023-10-13 09:45:15 +02:00
net bpf: Add IfAPI analogue for bpf_peers_present() 2023-10-13 14:33:31 -04:00
net80211 net80211: pass __func__, __LINE__ also to ieee80211_alloc_node() 2023-10-06 10:50:06 +00:00
netgraph
netinet netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netinet6
netipsec
netlink netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netpfil pf: implement start/stop calls via netlink 2023-10-13 09:53:22 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
riscv pmap: add pmap_kextract(9) man page 2023-10-13 15:27:24 -03:00
rpc
security
sys (s)tty: add support for IUTF8 input flag 2023-10-07 20:59:57 +03:00
teken teken: fix style in teken_wcwidth.h 2023-10-13 08:14:57 +03:00
tests netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
tools
ufs
vm vm_phys: Add corresponding sysctl knob for loader tunable 2023-10-12 18:14:49 +08:00
x86 x86: Rename {stop,start}_emulating to fpu_{enable,disable} 2023-10-11 14:32:06 -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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures