Subject: How to find device in lkm.
To: NetBSD kernel ML <>
From: Tomofumi Hayashi <>
List: tech-kern
Date: 12/15/2004 16:57:35

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 
Organization: Alaxala Networks Corporation