Is it possible to write a new network protocol as loadable module ?
I am going to implement a new level 4 network protocol (similar to TCP, UDP).
The protocol was completed by theory in our university and now we are going to write it in linux.
I am looking for a way to implement it completely as a kernel loadable module. I want to give it maximum portability across different kernel.
I have dig into original linux source code for TCP and UDP. However, I found that these protocols make calls to un-exported symbol to other modules. (A quick example is "ip_recv_error()")
How can I add a new protocol into linux network stack by just using the exported API ? Is it necessary to modify the kernel source in order to do this ?
thanks in advance.