From owner-freebsd-net@FreeBSD.ORG Thu Sep 8 08:01:36 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 30A1B106564A for ; Thu, 8 Sep 2011 08:01:36 +0000 (UTC) (envelope-from vladimir.budnev@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B04E68FC13 for ; Thu, 8 Sep 2011 08:01:35 +0000 (UTC) Received: by bkat8 with SMTP id t8so496515bka.13 for ; Thu, 08 Sep 2011 01:01:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=wf3DtcOmaF/pFNTjTo3JMm8QzVZR0c1J+eoP2wcBFtA=; b=umRVseVb6wQ4LRGz+NnhxBoJ6Pd8WQi9qaywZjWhdS8QaZbM5cRzNlf6tcIxhXULjY 5go/fjfJCfwl9dfal/ELoySVYsZgswTkG8PLBhpbQ+aiRuDnFro3zpfpH77JDlXupYOk 2lIuqIYYI5Jm3S0rZdO+6zWjuSwy+91huiPqI= Received: by 10.204.133.11 with SMTP id d11mr236532bkt.291.1315468894044; Thu, 08 Sep 2011 01:01:34 -0700 (PDT) Received: from [192.168.66.106] ([80.253.27.98]) by mx.google.com with ESMTPS id y8sm1901607bkb.4.2011.09.08.01.01.32 (version=SSLv3 cipher=OTHER); Thu, 08 Sep 2011 01:01:33 -0700 (PDT) Message-ID: <4E687653.6040000@gmail.com> Date: Thu, 08 Sep 2011 12:01:23 +0400 From: Vladimir Budnev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru_RU; rv:1.9.2.20) Gecko/20110820 Icedove/3.1.12 MIME-Version: 1.0 To: Gary Palmer References: <4E6768E4.4080600@gmail.com> <20110907140641.GA42938@in-addr.com> In-Reply-To: <20110907140641.GA42938@in-addr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 08 Sep 2011 08:01:36 -0000 On 09/07/11 18:06, Gary Palmer wrote: > On Wed, Sep 07, 2011 at 04:51:48PM +0400, 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 :( >> >> Thanks in advance. > arptimer is declared static so I doubt it will show up in linker symbol > tables or via "strings". Also AFAIK we don't support loading TCP/IP as a > module so its probably only compiled into the kernel itself and not > available as a module. > > Gary Ok, roger that. Thank you for answers