freebsd-dev/sys/netgraph
Gleb Smirnoff e7d02be19d protosw: refactor protosw and domain static declaration and load
o Assert that every protosw has pr_attach.  Now this structure is
  only for socket protocols declarations and nothing else.
o Merge struct pr_usrreqs into struct protosw.  This was suggested
  in 1996 by wollman@ (see 7b187005d1), and later reiterated
  in 2006 by rwatson@ (see 6fbb9cf860).
o Make struct domain hold a variable sized array of protosw pointers.
  For most protocols these pointers are initialized statically.
  Those domains that may have loadable protocols have spacers. IPv4
  and IPv6 have 8 spacers each (andre@ dff3237ee5).
o For inetsw and inet6sw leave a comment noting that many protosw
  entries very likely are dead code.
o Refactor pf_proto_[un]register() into protosw_[un]register().
o Isolate pr_*_notsupp() methods into uipc_domain.c

Reviewed by:		melifaro
Differential revision:	https://reviews.freebsd.org/D36232
2022-08-17 11:50:32 -07:00
..
atm netgraph(3): Fix a typo in a source code comment 2022-03-28 19:31:50 +02:00
bluetooth protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
netflow ng_netflow: Move various variables under INET || INET6. 2022-04-13 16:08:21 -07:00
netgraph.h netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK. 2022-04-12 14:58:59 -07:00
ng_async.c
ng_async.h
ng_atmllc.c
ng_atmllc.h
ng_base.c Adjust ng_{name,ID}_rehash() definitions to avoid clang 15 warnings 2022-07-25 20:02:31 +02:00
ng_bpf.c netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK. 2022-04-12 14:58:59 -07:00
ng_bpf.h
ng_bridge.c netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK. 2022-04-12 14:58:59 -07:00
ng_bridge.h
ng_car.c
ng_car.h
ng_checksum.c
ng_checksum.h
ng_cisco.c
ng_cisco.h
ng_deflate.c
ng_deflate.h
ng_device.c
ng_device.h
ng_echo.c
ng_echo.h
ng_eiface.c
ng_eiface.h
ng_etf.c
ng_etf.h
ng_ether_echo.c
ng_ether_echo.h
ng_ether.c
ng_ether.h
ng_frame_relay.c
ng_frame_relay.h
ng_gif_demux.c
ng_gif_demux.h
ng_gif.c
ng_gif.h
ng_hole.c
ng_hole.h
ng_hub.c
ng_hub.h
ng_iface.c
ng_iface.h
ng_ip_input.c
ng_ip_input.h
ng_ipfw.c
ng_ipfw.h
ng_ksocket.c protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
ng_ksocket.h
ng_l2tp.c netgraph: Remove the rethook parameter from NG_NODE_FOREACH_HOOK. 2022-04-12 14:58:59 -07:00
ng_l2tp.h
ng_lmi.c ng_lmi: Move all of highest_dlci under #if 0. 2022-04-07 17:01:27 -07:00
ng_lmi.h
ng_macfilter.c
ng_macfilter.h
ng_message.h
ng_mppc.c
ng_mppc.h
ng_nat.c
ng_nat.h
ng_one2many.c
ng_one2many.h
ng_parse.c
ng_parse.h
ng_patch.c
ng_patch.h
ng_pipe.c
ng_pipe.h
ng_ppp.c ng_ppp: Remove unused variable. 2022-04-07 17:01:27 -07:00
ng_ppp.h
ng_pppoe.c ng_pppoe: introduce new sysctl net.graph.pppoe.lcp_pcp 2022-05-02 21:57:12 +07:00
ng_pppoe.h ng_pppoe(4): Fix a typo in a source code comment 2022-04-02 13:54:36 +02:00
ng_pptpgre.c
ng_pptpgre.h
ng_pred1.c
ng_pred1.h
ng_rfc1490.c
ng_rfc1490.h
ng_sample.c
ng_sample.h
ng_socket.c protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
ng_socket.h
ng_socketvar.h
ng_source.c
ng_source.h
ng_split.c
ng_split.h
ng_tag.c ng_tag: Move totlen fully under #ifdef NG_TAG_DEBUG. 2022-04-07 17:01:27 -07:00
ng_tag.h
ng_tcpmss.c
ng_tcpmss.h
ng_tee.c
ng_tee.h
ng_tty.c
ng_tty.h
ng_UI.c
ng_UI.h
ng_vjc.c
ng_vjc.h
ng_vlan_rotate.c
ng_vlan_rotate.h
ng_vlan.c
ng_vlan.h
NOTES
qos.h