<div dir="ltr"><div><div><div>&gt; Currently TCP is statically linked to the kernel.<br><br>Correct, so how is this done and where ? Once you figure that part<br>out you have what you need to do what you want to :)<br><br>&gt; How can I make it a loadable module?<br><br>Change into your source tree, look for this file: linux-4.7.2/linux-4.7.2/net/Kconfig<br><br>Kconfig  is used by the KBuild system that menuconfig uses.<br><br>Look for the section:<br>config INET<br>bool &quot;TCP/IP networking&quot; &lt;-- change bool to tristate, save and run make menuconfig.<br><br>Now you can ask menuconfig to build TCP as a module.<br><br>But... it may be better to if you can use: <br><a href="https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt">https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt<br></a><br></div>One last thing, heed the warnings in Kconfig they are there for a reason.<br><br></div>Good luck and what exactly are you trying to do ? Am curious. <br><br></div>Aruna ( Shrugs and gets ready to duck a flying trout Valdis may send my way :)<br></div>