Re: [LIP] Packet Handling in Linux

"Amit Limaye" <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
The Linux kernel already implements CBQ (Class Based Queueuing ) for traffic
shaping why dont u have a look at it check out net/sched directory in the
kernel source

-SIGTERM
amit
----- Original Message -----
From: "Vidya G Krishnan" <vgk_vgk-/[email protected]>
To: <linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Tuesday, December 16, 2003 1:51 PM
Subject: [LIP] Packet Handling in Linux


>
> 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/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/linux-india-programmers



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.