netdev
[Top] [All Lists]

help??? trying to trace code path of outgoing udp packet

To: Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Subject: help??? trying to trace code path of outgoing udp packet
From: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Aug 2003 11:23:22 -0400
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204

I'm trying to figure out the code path taken by an outgoing udp packet, and I'm having a bit of trouble figuring out which functions are called by which function pointers. The path that I have so far is this:


udp_sendmsg          udp.c
ip_build_xmit        ip_output.c
output_maybe_reroute ip_output.c   skb->dst->output
ip_output            ip_output.c
ip_finish_output     ip_output.c
ip_finish_output2    ip_output.c   dst->neighbour->output

Is this correct? Where does it go from here and how does it eventually end up in the driver?

In the case in question, the network device is the tulip chip and traffic shaping is not enabled, but we do have advanced routing turned on.

Thanks,

Chris


-- Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: cfriesen@xxxxxxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>