Received: with ECARTIS (v1.0.0; list netdev); Fri, 22 Aug 2003 08:23:40 -0700 (PDT) Received: from zcars0m9.nortelnetworks.com (zcars0m9.nortelnetworks.com [47.129.242.157]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h7MFNVoO030965 for ; Fri, 22 Aug 2003 08:23:32 -0700 Received: from zcard309.ca.nortel.com (zcard309.ca.nortel.com [47.129.242.69]) by zcars0m9.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h7MFNNQ16223; Fri, 22 Aug 2003 11:23:23 -0400 (EDT) Received: from zcard0k6.ca.nortel.com ([47.129.242.158]) by zcard309.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QYKXLSBH; Fri, 22 Aug 2003 11:23:23 -0400 Received: from pcard0ks.ca.nortel.com ([47.129.117.131]) by zcard0k6.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id Q8C6JMR8; Fri, 22 Aug 2003 11:23:24 -0400 Received: from nortelnetworks.com (localhost.localdomain [127.0.0.1]) by pcard0ks.ca.nortel.com (Postfix) with ESMTP id BC37C2D957; Fri, 22 Aug 2003 11:23:22 -0400 (EDT) Message-ID: <3F46356A.804@nortelnetworks.com> Date: Fri, 22 Aug 2003 11:23:22 -0400 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Chris Friesen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Linux Kernel Mailing List , netdev@oss.sgi.com Subject: help??? trying to trace code path of outgoing udp packet Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 5202 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: cfriesen@nortelnetworks.com Precedence: bulk X-list: netdev Content-Length: 950 Lines: 29 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