Subject: Re: ioctl() to network device
To: Ruibiao Qiu <firstname.lastname@example.org>
From: Hubert Feyrer <email@example.com>
Date: 01/26/2001 21:27:35
On Thu, 25 Jan 2001, Ruibiao Qiu wrote:
> 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.
There are device nodes for network devices. You access network devices via
sockets (IIRC ;).
Hubert Feyrer <firstname.lastname@example.org>