On 12/08/2022 18:35, Paul Koning via cctalk wrote:
Can a Linux loadable module, without help from the
core kernel code,
define a new socket address family, and tie into the socket API for
sockets attached to that family? I don't know. If yes, then indeed
doing Linux doesn't require explicit help from the core kernel. But if
no, then it does -- or alternatively the DECnet API becomes clunkier.
Yes it can and this is what I was describing in my previous post. The
DECnet code could continue to be maintained as an out-of-tree module for
the people that want it even after it's removed from the kernel. The
only thing that may be lost is the Netfilter support. There may be a way
to add that through a module too but I've not looked into it.
Matt