From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: kenel level packet capturing Date: Wed, 19 Oct 2011 14:30:25 +0200 Message-ID: <20111019123025.GA9320@netboy.at.omicron.at> References: <20111019.031314.1383303852454510720.davem@davemloft.net> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=M9mg2LwE+qkcf6/zkod5uYWGKCLRUb6WqUVUVrRoTL8=; b=dAETh4Yh4RGcyMEuvOIx2JZeHNnhuchfb6VFDUNZ3DKrUTe0lBQVvzi435MHGQ0s/n +G47uHCyX8lTpHUDN0tdvAAVdBvRxLgeKsZYpZNn+tUISLTOQGxLToG2+5+RUtBah1cL GEpgxwhuNey6UfjmoH7xdlc1WQE2CIOg4fehI= Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ajith Adapa Cc: David Miller , raviraj.j1991@gmail.com, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org On Wed, Oct 19, 2011 at 02:22:35PM +0530, Ajith Adapa wrote: > Yeah you are right David. But .. > > For a newbie who just know more about linux userspace level need to > know starting steps like where to start from and flow of packet might > be confusing because of the level of abstraction being used. I guess > it might take some time until you are really serious about making > hands dirty :) For working with or just reading kernel sources I recommend getting to know the cscope tool. Do a "make cscope" and then use one of the front end browsers. If you use emacs, then you really should have this set ; When working on the kernel (setq cscope-do-not-update-database t) otherwise it tries to re-index after every search. HTH, Richard