Received: with ECARTIS (v1.0.0; list netdev); Sat, 21 Aug 2004 00:02:07 -0700 (PDT) Received: from www.lanforge.com (ns1.lanforge.com [66.165.47.210]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id i7L722ZS031408 for ; Sat, 21 Aug 2004 00:02:02 -0700 Received: from [4.35.49.74] (evrtwa1-ar2-4-35-049-074.evrtwa1.dsl-verizon.net [4.35.49.74]) (authenticated bits=0) by www.lanforge.com (8.12.8/8.12.8) with ESMTP id i7L7IbSb030387; Sat, 21 Aug 2004 00:18:37 -0700 Message-ID: <4126F363.9070205@candelatech.com> Date: Sat, 21 Aug 2004 00:01:55 -0700 From: Ben Greear Organization: Candela Technologies User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cranium2003 CC: net dev Subject: Re: modifying tcp/ip stack References: <20040821054621.95115.qmail@web41403.mail.yahoo.com> In-Reply-To: <20040821054621.95115.qmail@web41403.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 7943 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: greearb@candelatech.com Precedence: bulk X-list: netdev Content-Length: 1164 Lines: 43 cranium2003 wrote: > 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. 802.1Q vlan code does this. See net/8021q/* Ben > Thaking you. > > Regards, > Parag. > > > > __________________________________ > Do you Yahoo!? > Y! Messenger - Communicate in real time. Download now. > http://messenger.yahoo.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com