All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: cranium2003 <cranium2003@yahoo.com>
Cc: net dev <netdev@oss.sgi.com>
Subject: Re: modifying tcp/ip stack
Date: Sat, 21 Aug 2004 00:01:55 -0700	[thread overview]
Message-ID: <4126F363.9070205@candelatech.com> (raw)
In-Reply-To: <20040821054621.95115.qmail@web41403.mail.yahoo.com>

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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2004-08-21  7:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-21  5:46 modifying tcp/ip stack cranium2003
2004-08-21  7:01 ` Ben Greear [this message]
2004-08-21 10:22 ` Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2004-08-21  5:47 cranium2003

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4126F363.9070205@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=cranium2003@yahoo.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.