Originally Posted by raklo
can i add my own field of 2 bytes in the ip header structure
without doing much changes in the tcp/ip stack code in the kernel?????????????
if yes how,n if no is there ny other alternative
to accomplish this other then editing the kernel code.
What good is it if you have a private incompatible
IP version that can send two additional bytes with
an IP header if:
- The standard socket library does not offer an
interface to pass these additional bytes
- All other high level protocols (TCP, UDP probably
DHCP, ICMP) are no longer compatible with the
rest of the world (including your own home-network)
There are really only exotic cases where such
a change to IP makes sense.
If possible you should define an application level
solution based or regular TCP. The next escalation
level would be to provide a new protocol and to
integrate it into the socket library. The last resort
would be to really change IP the described way.
If you want to resort to this you need to do changes to kernel mode code software.
Have you thought about options like out-of-band
data transmissions with TCP? Or sending the out-of-band data via a second TCP connection?