Hello, everyone!
I am trying to implement my own TCP/IP protocol stack.
The first step I did is download some source codes of protocols.
But how to port these new protocol implementations into my linux?

Are there two approaches?
One is in application level, It means the protocol stack running as lower application, which will called by higher applications (such as telnet or ping)
The other is kernel level. It means the original protocol stack is substituted by the new one.

Is my understanding right?
If I am, Could you please tell me, how to do it?

All the books I read is focus on how to write code for protocol stack, seldom concentrate on port it. [img src=\"style_emoticons/[#EMO_DIR#]/sad.gif\" style=\"vertical-align:middle\" emoid=\"\" border=\"0\" alt=\"sad.gif\" /]

Thanks in advance for helping me!