Subject: How to find device in lkm.
To: NetBSD kernel ML <tech-kern@netbsd.org>
From: Tomofumi Hayashi <tom.hayashi@alaxala.com>
List: tech-kern
Date: 12/15/2004 16:57:35
Hi, 

I'd like to add a new syscall that control a network interface and 
I try to work using LKM framework(loadable kernel module).

In kern/kern_subr.c, a function "finddevice" enables to retrieve a 
device information by its name, however, lkm can't call the function.

Does anyone know how to do this?

-- 
-----------------------------------------------
Name:Tomofumi Hayashi 
Address: tom.hayashi@alaxala.com
Organization: Alaxala Networks Corporation