Your core question isn't about TCP/IP though - that's just the spot you want to stick your fingers.
You're really asking "How to I go about modifying/extending the Linux kernel" -- Stack Overflow (site or chat) may have some helpful input too
You're really asking "How to I go about modifying/extending the Linux kernel" -- Stack Overflow (site or chat) may have some helpful input too