I need to develop a kernel module that intercepts
networking-functions independently of the API used.
I know that Linux has no TLI, just the socket API. However I still
want to built a module that is not dependent of the "user API" but
only of the "kernel API"...
What is the common transport-layer interface? Both connect
(sockets) and t_connect (TLI) have to use some common kernel TCP
interface (something like tcp_connect). What are the include files
(and source code files) of that common transport-layer interface (to
TCP and UDP)? Where can I find some specific documentation about that
interface?
What is most likely to be changed in future kernels - the socket
API or the transport-layer API? (for example, connec() or
tcp_connect() - which one has the higher probability of being changed
or removed or renamed?)
Thanks in advance,
Rui Antunes