Subject: Re: How to add if-IOCTL?
To: None <salvet@ics.muni.cz>
From: Heiko W.Rupp <hwr@pilhuhn.de>
List: tech-net
Date: 08/06/1998 23:58:27
On Thu, Aug 06, 1998 at 09:53:11PM +0200, Zdenek Salvet wrote:
> I think should have 
> #define LODEBUG        _IOW('i',100 ,struct ifreq)

OOps yes. The other one was a paste-o.

> Yes, /sys/kern/sys_socket.c :-)

Hmm... 

> You must use 'i' group for interface ioctls.


Ok, a last one for today ;-): where do I get the number (e.g. 100)
in _IOW('i',100 ,struct ifreq) from? can I choose as I wish?

Thanks to all
  Heiko

-- 
          See <a href="http://www.netbsd.org">NetBSD</a> for a multiplatform OS
In a Leipzig elevator: Do not enter the lift backwards, and only when lit up.