netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* help???  trying to trace code path of outgoing udp packet
@ 2003-08-22 15:23 Chris Friesen
  2003-08-22 15:36 ` Nivedita Singhvi
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Friesen @ 2003-08-22 15:23 UTC (permalink / raw)
  To: Linux Kernel Mailing List, netdev


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@nortelnetworks.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: help???  trying to trace code path of outgoing udp packet
  2003-08-22 15:23 help??? trying to trace code path of outgoing udp packet Chris Friesen
@ 2003-08-22 15:36 ` Nivedita Singhvi
  2003-08-22 16:52   ` Chris Friesen
  0 siblings, 1 reply; 3+ messages in thread
From: Nivedita Singhvi @ 2003-08-22 15:36 UTC (permalink / raw)
  To: Chris Friesen; +Cc: Linux Kernel Mailing List, netdev

Chris Friesen wrote:

> ip_finish_output     ip_output.c
> ip_finish_output2    ip_output.c   dst->neighbour->output

|
V
dev_queue_xmit()
qdisc_run()
qdisc_restart()
dev->hard_start_xmit() [driver xmit routine]

this is for the default queuing discipline.

thanks,
Nivedita

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: help???  trying to trace code path of outgoing udp packet
  2003-08-22 15:36 ` Nivedita Singhvi
@ 2003-08-22 16:52   ` Chris Friesen
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Friesen @ 2003-08-22 16:52 UTC (permalink / raw)
  To: Nivedita Singhvi; +Cc: Linux Kernel Mailing List, netdev

Nivedita Singhvi wrote:
> Chris Friesen wrote:
> 
>> ip_finish_output     ip_output.c
>> ip_finish_output2    ip_output.c   dst->neighbour->output
> 
> 
> |
> V
> dev_queue_xmit()
> qdisc_run()
> qdisc_restart()
> dev->hard_start_xmit() [driver xmit routine]
> 
> this is for the default queuing discipline.

Thanks.  That should give me enough to track down what I'm looking for.

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@nortelnetworks.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-22 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-22 15:23 help??? trying to trace code path of outgoing udp packet Chris Friesen
2003-08-22 15:36 ` Nivedita Singhvi
2003-08-22 16:52   ` Chris Friesen

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).