From owner-freebsd-net@FreeBSD.ORG Wed Sep 7 13:29:57 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 709A2106566B for ; Wed, 7 Sep 2011 13:29:57 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 358538FC13 for ; Wed, 7 Sep 2011 13:29:56 +0000 (UTC) Received: by ywa17 with SMTP id 17so216952ywa.13 for ; Wed, 07 Sep 2011 06:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B2ki3r1JQYJK8s/A6NYcsavRPP6Q0ZOkuJvE3u50Pdw=; b=AqOHkAnKRphQLS44m8Q43sFdEcMv4QFnyb0BJUqyHVBylDQfiQtEPcQrFVJj5SAiBf Al2ugvHIkD2I77GqjY4bwYKze6V2cbB+MRhQkgWPvedF0lZJNS7cuApB0H55JqI5zGGx CiwcHAGVWxPVfucov+WUTvwJZuY8AxjplNEXU= MIME-Version: 1.0 Received: by 10.150.170.10 with SMTP id s10mr4998028ybe.171.1315402196513; Wed, 07 Sep 2011 06:29:56 -0700 (PDT) Received: by 10.150.53.2 with HTTP; Wed, 7 Sep 2011 06:29:56 -0700 (PDT) In-Reply-To: <4E6768E4.4080600@gmail.com> References: <4E6768E4.4080600@gmail.com> Date: Wed, 7 Sep 2011 17:29:56 +0400 Message-ID: From: Sergey Kandaurov To: Vladimir Budnev Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Net Subject: Re: Which module contains functins(arptimer)? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 13:29:57 -0000 On 7 September 2011 16:51, Vladimir Budnev wrote: > Hello. > > How to determine which module contains specific functinos?. For example we > have arptimer in netinet/if_ether.c. > But how to find in which ko it compiles? > Iv tried > ls /boot/kernel/ | grep ko.symbols | xargs strings | grep -i arptimer > but that didnt work :( > Try objdump -t -- wbr, pluknet