Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 10:06:41 -0400
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Vladimir Budnev <vladimir.budnev@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Which module contains functins(arptimer)?
Message-ID:  <20110907140641.GA42938@in-addr.com>
In-Reply-To: <4E6768E4.4080600@gmail.com>
References:  <4E6768E4.4080600@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110907140641.GA42938>