Received: with ECARTIS (v1.0.0; list netdev); Fri, 20 Aug 2004 22:46:38 -0700 (PDT) Received: from web41403.mail.yahoo.com (web41403.mail.yahoo.com [66.218.93.69]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id i7L5kWWT029608 for ; Fri, 20 Aug 2004 22:46:33 -0700 Message-ID: <20040821054621.95115.qmail@web41403.mail.yahoo.com> Received: from [203.199.141.99] by web41403.mail.yahoo.com via HTTP; Fri, 20 Aug 2004 22:46:21 PDT Date: Fri, 20 Aug 2004 22:46:21 -0700 (PDT) From: cranium2003 Subject: modifying tcp/ip stack To: net dev Cc: linux net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 7941 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: cranium2003@yahoo.com Precedence: bulk X-list: netdev Content-Length: 933 Lines: 30 Hello, I want to modify existing protocol stack as given below. What exactly i want to do is that i want to add a new protocol headerin between IP and ETHERNET header. I want to implement packet structure as (Ethernet header +MY header + IP header +TCP header + PAYLOAD) that mean when packet comes from NIC it should first remove MY header in my routine then IP header in ip_input.c file. Also at transmitting end packet at IP layer with (IP header + TCP header +PAYLOAD)structure passed to ip_output.c then given to my routine for adding a new protocol header on that packetand then to Ethernet layer. I want your help to know what changes i require to do in kernel 2.4.24 to achieve this? Please kindly reply me. Thaking you. Regards, Parag. __________________________________ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com