From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Poirier Subject: Re: kenel level packet capturing Date: Wed, 19 Oct 2011 08:37:33 -0400 Message-ID: <20111019123733.GA21324@synalogic.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org To: raviraj joshi Return-path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:60699 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754835Ab1JSMhk (ORCPT ); Wed, 19 Oct 2011 08:37:40 -0400 Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: On 11/10/19 12:24, raviraj joshi wrote: > Hi, > > We are making a kernel level packet capture module as a part of our BE project . > We are finding it difficult to understand kenel networking code. > We studied structures and functions like sk_buff, netif_rx(),dev_alloc_skb. > > However we were not able to trace the actual path a simple packet follows. You might find http://vger.kernel.org/netconf2011_slides/jesse_brandeburg_netconf2011.pdf interesting. It contains call chains of UDP processing at all levels in the stack (driver, below ip stack, above ip stack) for tx and rx. -Ben