Article View: comp.unix.sys5.misc
Article #9Problems with ioctl using Interactive unix
From: Stefan Freund
Date: Fri, 16 Oct 1992 09:51
Date: Fri, 16 Oct 1992 09:51
20 lines
1273 bytes
1273 bytes
It seems that the "ioctl" function in Interactive UNIX doesn't work correctly. 1. I tried to get the ifnet list by an ioctl call. The parameter for "request" was "SIOCGIFCONF". Afterwards the field "ifc_len" of the structure "ifconf" contained the value "0" although there should have been some active interfaces. 2. I tried to get an ARP entry with "SIOCGARP". The structure "arp_pa" within the structure "arpreq" contained as address family "AF_INET" and an actual internet address. The ioctl call didn't return. Even worse is that other ioctl calls which made no problems before didn't return either afterwards. I would be very glad about any helpful suggestions. Stefan Freund please email to: Stefan.Freund@arbi.informatik.uni-oldenburg.de
Technical Details
Message-ID:
<1992Oct16.101241.19174@arbi.Informatik.Uni-Oldenburg.DE>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!uniol!Stefan.FreundShow Full Headers
Complete Article Headers
Newsgroups: comp.unix.sys5.misc,comp.unix.sys5.r3 Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!uniol!Stefan.Freund From: Stefan.Freund@arbi.informatik.uni-oldenburg.de (Stefan Freund) Subject: Problems with ioctl using Interactive unix Organization: University of Oldenburg, Germany Date: Fri, 16 Oct 1992 09:51:37 GMT Message-ID: <1992Oct16.101241.19174@arbi.Informatik.Uni-Oldenburg.DE> Sender: news@arbi.Informatik.Uni-Oldenburg.DE Lines: 20