mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tulika Pradhan" <tulikapradhan@hotmail.com>
To: linux-kernel@vger.kernel.org
Cc: khc@pm.waw.pl, tulikapradhan@hotmail.com
Subject: new router
Date: Tue, 23 Apr 2002 10:24:15 +0000	[thread overview]
Message-ID: <LAW2-F136ooIAJPBErv00002b8e@hotmail.com> (raw)



hi !

i need to implement a router for my PC running linux. i need to take frame 
relay packets from the frame relay device and route it to another device. 
all the processing would be done by the already existing generic hdlc layer. 
one way to do this would be to write a socket application and read and write 
the packets from one socket to the other. however, this would make the 
system very slow. i want to add a routing functionality as part of the 
kernel to increase the throughput. i think the following can be done.

- make a new family for sockets (say, AF_MYROUTER) and make a socket 
interface for this. - using ioctl calls for SIOCADDRT and SIOCDELRT, routing 
table entries can be made and    deleted.
- also have my own protocol (say, ETH_P_MYPROTOCOL) and initiaize 
skb->protocol to this value in the generic hdlc code (instead of looking 
inside the frame relay packet and setting the protocol to ip etc.)

is it reasonable to add a new family for the above routing functionality ?


ps. please mark me a copy when you reply as i am not on the linux-kernel 
mailing list.

regards,

tulika

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


                 reply	other threads:[~2002-04-23 10:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=LAW2-F136ooIAJPBErv00002b8e@hotmail.com \
    --to=tulikapradhan@hotmail.com \
    --cc=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®