help??? trying to trace code path of outgoing udp packet
Subsystems (2)
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.cip_build_xmit ip_output.coutput_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
Signature · 4 lines
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: [email protected]
Quoted 2 lines · Chris Friesen
ip_finish_outputip_output.cip_finish_output2ip_output.cdst->neighbour->output
|
Vdev_queue_xmit()qdisc_run()qdisc_restart()dev->hard_start_xmit() [driver xmit routine]
this is for the default queuing discipline.
thanks,
Nivedita
Quoted 6 lines · Nivedita Singhvi
Quoted 2 lines · Chris Friesen
ip_finish_outputip_output.cip_finish_output2ip_output.cdst->neighbour->output
Quoted 8 lines
|
Vdev_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
Signature · 4 lines
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: [email protected]