freebsd-dev/share/man
Gleb Smirnoff f1fb051716 divert(4): maintain own cb database and stop using inpcb KPI
Here go cons of using inpcb for divert:
- divert(4) uses only 16 bits (local port) out of struct inpcb,
  which is 424 bytes today.
- The inpcb KPI isn't able to provide hashing for divert(4),
  thus it uses global inpcb list for lookups.
- divert(4) uses INET-specific part of the KPI, making INET
  a requirement for IPDIVERT.

Maintain our own very simple hash lookup database instead.  It
has mutex protection for write and epoch protection for lookups.
Since now so->so_pcb no longer points to struct inpcb, don't
initialize protosw methods to methods that belong to PF_INET.
Also, drop support for setting options on a divert socket.  My
review of software in base and ports confirms that this has no
use and unlikely worked before.

Differential revision:	https://reviews.freebsd.org/D36382
2022-08-30 15:09:21 -07:00
..
man1
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(4): maintain own cb database and stop using inpcb KPI 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
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