On Mon, Jan 17, 2011 at 4:24 PM, Kfir Lavi <lavi.kfir@xxxxxxxxx> wrote: > Hi, > How can one implement custom header network protocol. > I mean header that wraps regular network packets like ethernet, udp, tcp, > etc... > The sending of this custom packets is done between processes running > locally. > ie. I get a Ethernet packet, inspect it, then add my custom header and > forward > it to another process that listens to a socket, and expect to get data > wrapped with > this custom header. > > What is a good way to go about and implement this thing? Have you looked at the tun/tap drivers? Also, try asking this question on a network specific list. -- John _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies