opnsense-src/sys
Mike Karels efe58855f3 IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8
Combined changes to allow experimentation with net 0/8 (network 0),
240/4 (Experimental/"Class E"), and part of the loopback net 127/8
(all but 127.0/16).  All changes are disabled by default, and can be
enabled by the following sysctls:

    net.inet.ip.allow_net0=1
    net.inet.ip.allow_net240=1
    net.inet.ip.loopback_prefixlen=16

When enabled, the corresponding addresses can be used as normal
unicast IP addresses, both as endpoints and when forwarding.

Add descriptions of the new sysctls to inet.4.

Add <machine/param.h> to vnet.h, as CACHE_LINE_SIZE is undefined in
various C files when in.h includes vnet.h.

The proposals motivating this experimentation can be found in

    https://datatracker.ietf.org/doc/draft-schoen-intarea-unicast-0
    https://datatracker.ietf.org/doc/draft-schoen-intarea-unicast-240
    https://datatracker.ietf.org/doc/draft-schoen-intarea-unicast-127

Reviewed by:	rgrimes, pauamma_gundo.com; previous versions melifaro, glebius
Differential Revision: https://reviews.freebsd.org/D35741
2022-07-13 09:46:05 -05:00
..
amd64 vm_object: Modify various drivers to allocate OBJT_SWAP objects 2022-07-12 09:10:15 -04:00
arm ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
arm64 Add RK3568 SoC support to pinctrl driver. 2022-07-09 13:06:52 +00:00
bsm
cam ses: don't panic if disk elements have really weird descriptors 2022-06-23 11:19:20 -06:00
cddl stand: Add blake3 support to boot loader 2022-07-08 22:57:59 -06:00
compat vm_object: Modify various drivers to allocate OBJT_SWAP objects 2022-07-12 09:10:15 -04:00
conf cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
contrib zfs: fixup build on powerpc64le 2022-07-08 18:52:14 -03:00
crypto OpenSSL: Regen assembly file for OpenSSSL 1.1.1q 2022-07-05 12:06:50 -04:00
ddb ddb: add _FLAGS command variants 2022-07-05 11:56:42 -03:00
dev ixl(4): Fix SR-IOV panics 2022-07-12 18:17:03 -07:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs nfscl: Fix CreateSession for an established ClientID 2022-07-11 16:50:34 -07:00
gdb ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
geom ses: don't panic if disk elements have really weird descriptors 2022-06-23 11:19:20 -06:00
gnu bwn: eliminate dead writes in BWN_GPL_PHY 2022-05-04 09:32:59 -04:00
i386 elfnote: place note in a PT_NOTE program header 2022-06-28 09:51:57 +02:00
isa isa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:59 -07:00
kern time: Make realitexpire() local to kern_time.c 2022-07-13 09:57:28 -04:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix a typo in a source code comment 2022-06-05 08:57:26 +02:00
modules ice(4): Add ice_rdma.c to module Makefile 2022-07-12 18:30:19 -07:00
net IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8 2022-07-13 09:46:05 -05:00
net80211 net80211 / LinuxKPI: 802.11: add Control Trigger Subframe information 2022-06-17 22:55:13 +00:00
netgraph ng_ubt(4): Probe USB Bluetooth per USB interface and not per USB device. 2022-06-03 10:49:17 +02:00
netinet IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8 2022-07-13 09:46:05 -05:00
netinet6 netinet6: fix interface handling for loopback traffic 2022-07-10 12:47:47 +00:00
netipsec ipsec_encap: setdf is only used for INET. 2022-04-13 16:08:21 -07:00
netpfil dummynet: check for ifp on all PROTO_LAYER2 packets 2022-07-11 22:07:11 +02:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed sockets: use only soref()/sorele() as socket reference count 2022-07-04 12:40:51 -07:00
opencrypto crypto: Validate return values from CRYPTODEV_PROCESS() 2022-07-01 11:09:39 -04:00
powerpc eventtimer: Simplify KTR traces 2022-07-11 15:58:43 -04:00
riscv riscv: implement db_show_mdpcpu() 2022-07-05 11:51:14 -03:00
rpc krpc: Fix NFS-over-TLS for KTLS1.3 2022-05-15 11:51:56 -07:00
security mac_veriexec: Authorize reads of secured sysctls 2022-06-29 10:48:01 +02:00
sys time: Make realitexpire() local to kern_time.c 2022-07-13 09:57:28 -04:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
tests
tools firmware: Map '@' in filenames to '_' in symbols. 2022-06-14 10:50:51 -07:00
ufs Bug fix to UFS/FFS superblock integrity checks when reading a superblock. 2022-07-06 14:45:30 -07:00
vm vm_mmap: Remove obsolete code and comments from vm_mmap() 2022-07-13 09:39:26 -04:00
x86 eventtimer: Simplify KTR traces 2022-07-11 15:58:43 -04:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00