linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Packet Handling in Linux
@ 2003-12-16  8:16 Vidya G Krishnan
  0 siblings, 0 replies; only message in thread
From: Vidya G Krishnan @ 2003-12-16  8:16 UTC (permalink / raw)
  To: linux-kernel

I am doing a project on traffic shaping in linux. I
think of inserting a module on top of network driver
in gateway, buffer packets obtained from network
driver and transmit according to prefixed rate to
other machines.

How can I call my packet handling function instead of
the default packet handler(say IPV4 packet handler)?
Is it possible to call my packet handler by changing
the net_rx_action() in linux/net/core/dev.c . Can I
modify the ETH_P_IP (default function is ip_rcv() in
linux/ip_input.c). 

My idea is to call ip_rcv() from my packet handler. Do
u think it will work? Can u suggest a better one? 

plzzz reply...



__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-16  8:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-16  8:16 Packet Handling in Linux Vidya G Krishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).