Subject: ioctl() to network device
To: None <tech-net@netbsd.org>
From: Ruibiao Qiu <ruibiao@arl.wustl.edu>
List: tech-net
Date: 01/25/2001 11:01:22
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.
Regards
Ruibiao
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Ruibiao Qiu ruibiao@arl.wustl.edu
Research Assistant ruibiao@cs.wustl.edu
Applied Research Laboratory rq1@cec.wustl.edu
Department of Computer Science ruibiao@acm.org
Washington University http://www.arl.wustl.edu/~ruibiao
Campus Box 1045 http://www.cs.wustl.edu/~ruibiao
One Brookings Drive Tel. (314)935-4163
St. Louis, MO 63130-4899 USA Fax (314)935-7302
\____________________________________________________________________/