opnsense-src/share/examples
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
..
bhyve Remove a space I missed in previous commit 2021-01-04 14:53:57 +00:00
bootforth Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00
BSD_daemon SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
csh - Add two new subcommands to rc.subr: 2016-04-23 16:19:34 +00:00
diskless Correct double "the the" 2012-09-14 21:28:56 +00:00
drivers Remove 'All Rights Reserved' from the collection copyright and templates. 2018-05-09 02:02:49 +00:00
etc make.conf: Fix a typo in the example file 2022-06-04 12:24:17 +02:00
find_interface Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
flua jail(3lua): add a jail.list() method 2021-09-30 16:30:57 -05:00
FreeBSD_version Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
hast share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
hwpmc hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
indent indent.pro example: put all options one per line 2010-04-05 09:26:03 +00:00
ipfilter ipfilter: Adjust example returns to conform to style(9) 2022-01-03 18:06:43 -08:00
ipfw -F is GNU diff specific, not implemented in BSD diff. 2020-03-18 08:00:46 +00:00
IPv6 update external URL 2022-02-05 19:23:51 +00:00
jails add ability to set watchdog timeout for a shutdown 2019-10-03 11:23:10 +00:00
kld Fix syscall kld example 2021-06-09 12:24:26 +02:00
libifconfig libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00
libusb20 SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
libvgl share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
mdoc Remove misleading macros from -width arguments 2020-12-28 16:30:55 +01:00
netgraph divert: declare PF_DIVERT domain and stop abusing PF_INET 2022-08-30 15:09:21 -07:00
perfmon Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
pf Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
ppi Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
ppp For the udp-client example, instruct user to add an entry for a udp based 2017-08-01 16:20:33 +00:00
printing Remove now bogus README 2017-10-30 00:36:08 +00:00
scsi_target share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
ses ses: Correct spelling of "Temperature Sensor" 2021-09-02 14:38:06 -06:00
smbfs pkgbase: Remove the last users of the FreeBSD-example package 2020-08-04 14:48:45 +00:00
sound sound: Add an example of basic sound application 2021-08-04 18:11:54 +08:00
sunrpc examples: fix typo 2017-12-29 23:58:05 +00:00
tests Update the spelling of my name 2019-04-22 17:52:46 +00:00
uefisign Make the uefikeys script output slightly more obvious. 2015-02-26 14:22:27 +00:00
witness Add a new awk script which parses informations returned by the newly 2008-05-07 21:50:17 +00:00
ypldap ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3). 2016-01-13 01:49:35 +00:00
Makefile sound: Add an example of basic sound application 2021-08-04 18:11:54 +08:00
Makefile.depend DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples. 2016-03-11 23:45:09 +00:00