Subject: Re: ioctl() to network device
To: Ruibiao Qiu <>
From: Manuel Bouyer <>
List: tech-net
Date: 01/26/2001 22:47:41
On Thu, Jan 25, 2001 at 11:01:22AM -0600, Ruibiao Qiu wrote:
> Hi, all
> I am trying to control an ENI card on an i386 1.4.2 box using
> ioctl().  I tried to open the device "/dev/en0", but there is no
> such a device file.  Nor there is a /dev/ep0, which is my Ethernet
> device.  So, what file descriptor should I use in the ioctl() to a
> network device such as ENI?  How can I get it?  Thanks.

I think it's though a socket ... check the ifconfig code.

Manuel Bouyer <>