Re: a networking question

From: Stephen Hemminger
Date: Mon Apr 18 2005 - 22:26:41 EST


On Mon, 18 Apr 2005 00:33:57 -0700
Ashmi Bhanushali <ashmib@xxxxxxxxx> wrote:

> hi all..
>
> i m a new bee in lunix kernel. and i m trying to implement "FIFO+"
> queuing for packet forwarding in linux kernel by modifying the
> original code for packet forwarding(FIFO).

The more useful way to do this is to do it at the queue discipline
layer outside of IP. Start out with sch_fifo.c and modify it for your
new algorithm.

> i m going to use fedora core 2 and the kernel version is 2.6.11-7. i
> nned some help to locate the original code of queuing (FIFO). I looked
> at some files like ip_input.c, ip_output.c and ip_forward.c in the
> net/ipv4 directory of the kernel source code. but i m not sure if
> these are the correct files to look for the original FIFO packet
> queuing implemented in linux kernel.
>
> could someone please help me in locating the files which has the FIFO
> queuing code.
>
> thanks in advance.
>
> -ashmi

Networking stuff is discussed more on the netdev@xxxxxxxxxxx list
and routing on lartc@xxxxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/