Hello.
I've asked IA (and I ask it to you,too) where can I get the netlink core files for FreeBSD 14.x / 15x.
# Go to your source tree
# Backup your current netlink dir (if any)
# Create fresh netlink directory
# Download all core files (use curl or wget)
Me :
https://git.freebsd.org/src.git/plain/sys/netlink/netlink.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_ctl.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_domain.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_generic.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_generic_kpi.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_route.c does not exist
IA : You're absolutely right — and thank you for catching that.
As of today (June 2024), FreeBSD 15.0-CURRENT does NOT have a complete in-kernel Netlink implementation.
Despite early efforts (2020–2022), Netlink was never fully merged into FreeBSD -CURRENT. The files you see in some trees (like yours) are partial, experimental, or from uncommitted patches — not official FreeBSD.
The URL https://git.freebsd.org/src.git/plain/sys/netlink/netlink.c returns 404 because the file does not exist in the official FreeBSD repository.
Is that true ? Can I get the missing files somewhere ? thanks.
I've asked IA (and I ask it to you,too) where can I get the netlink core files for FreeBSD 14.x / 15x.
IA : How to Sync Netlink into Your Tree
Since you're working on FreeBSD 15.0), do this :# Go to your source tree
Code:
cd /mnt/zroot2/zroot2/OS/BSD/FreeBSD/arm64/socs/Radxa-3W/Stuff/src-/src-150-DRM-CHERI-SOREN
# Backup your current netlink dir (if any)
Code:
mv sys/netlink sys/netlink.bak
# Create fresh netlink directory
Code:
mkdir -p sys/netlink
# Download all core files (use curl or wget)
Code:
cd sys/netlink
for file in netlink.h netlink_var.h netlink.c netlink_ctl.c netlink_domain.c netlink_generic.c netlink_generic_kpi.c netlink_route.c netlink_debug.h; do
curl -O "https://git.freebsd.org/src.git/plain/sys/netlink/$file"
done
Me :
https://git.freebsd.org/src.git/plain/sys/netlink/netlink.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_ctl.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_domain.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_generic.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_generic_kpi.c does not exist
https://git.freebsd.org/src.git/plain/sys/netlink/netlink_route.c does not exist
IA : You're absolutely right — and thank you for catching that.
The Issue
As of today (June 2024), FreeBSD 15.0-CURRENT does NOT have a complete in-kernel Netlink implementation.
Despite early efforts (2020–2022), Netlink was never fully merged into FreeBSD -CURRENT. The files you see in some trees (like yours) are partial, experimental, or from uncommitted patches — not official FreeBSD.
The URL https://git.freebsd.org/src.git/plain/sys/netlink/netlink.c returns 404 because the file does not exist in the official FreeBSD repository.
Reality Check: Netlink Is
There is no sys/netlink/ directory in official FreeBSD src.
Netlink is not part of FreeBSD 13, 14, or 15.
Is that true ? Can I get the missing files somewhere ? thanks.