>> I need to replace the data field and the checksum field in a tcp packet with other information (not related to the socket or socket buffer). >Where is the packet originating from? Does it originate from a program on >your computer, or some other machine addressed to your computer, or just >forwarded through your computer? The packet itself is generated on my own machine. I assume it's using the TCP subroutines in the .../net/ipv4 directory. Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org