freebsd-dev/share/man
Gleb Smirnoff 8624f4347e divert: declare PF_DIVERT domain and stop abusing PF_INET
The divert(4) is not a protocol of IPv4.  It is a socket to
intercept packets from ipfw(4) to userland and re-inject them
back.  It can divert and re-inject IPv4 and IPv6 packets today,
but potentially it is not limited to these two protocols.  The
IPPROTO_DIVERT does not belong to known IP protocols, it
doesn't even fit into u_char.  I guess, the implementation of
divert(4) was done the way it is done basically because it was
easier to do it this way, back when protocols for sockets were
intertwined with IP protocols and domains were statically
compiled in.

Moving divert(4) out of inetsw accomplished two important things:

1) IPDIVERT is getting much closer to be not dependent on INET.
   This will be finalized in following changes.
2) Now divert socket no longer aliases with raw IPv4 socket.
   Domain/proto selection code won't need a hack for SOCK_RAW and
   multiple entries in inetsw implementing different flavors of
   raw socket can merge into one without requirement of raw IPv4
   being the last member of dom_protosw.

Differential revision:	https://reviews.freebsd.org/D36379
2022-08-30 15:09:21 -07:00
..
man1 pkgbase: move man pages from runtime-manual to runtime 2019-07-19 15:12:20 +00:00
man3 tree.3: explain RB_FIND() and RB_NFIND() 2022-08-07 22:23:44 +03:00
man3lua flua: Add a libjail module 2020-10-24 17:08:59 +00:00
man4 divert: declare PF_DIVERT domain and stop abusing PF_INET 2022-08-30 15:09:21 -07:00
man5 rc.conf(5): add <service>_umask to run the service using this value 2022-08-28 12:48:58 +07:00
man6 pkgbase: move man pages from runtime-manual to runtime 2019-07-19 15:12:20 +00:00
man7 development(7): Update URLs 2022-08-18 09:24:53 +08:00
man8 Indicate that kgdb.1 is from ports/devel/gdb. 2022-08-14 15:17:29 +02:00
man9 m_get3: add an MLINK for the manpage 2022-08-23 22:34:07 +01:00
Makefile flua: Add a libjail module 2020-10-24 17:08:59 +00:00