Re: TC

Arni Raghu (arni@snafu.Rutgers.EDU)
Thu, 22 Apr 1999 11:42:27 -0700


Hi,

>
> 1) When a pkt comes from the network, the network driver calls
> the netif_rx(). How does the control transfer from here to the
> dev_queue_xmit() function ?

Here is the flow::

netif_rx()
mark_bh()
net_bh()
ip_rcv() [If IP packets....]
ip_route_input()
if (packets for local machine) then call ip_local_deliver()
else call ip_forward()
ip_send()
ip_finish_output()
dev_queue_xmit()

I have been very brief and left out some alternative functions but I
guess u can figure that out..

Sarav has answered the rest so I am not repeating it..

Hope this helps..

Arni
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu