[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Network interfaces



On sø., 2011-01-16 at 00:31 +0100, m0n0 wrote:
> 
> > On Sat, Jan 15, 2011 at 11:00 PM, Jo Even Skarstein <joska@online.no> 
> > wrote:
> >> Is it possible to enumerate the network interfaces automatically?
> 
>  Straight copy of function from freemint/tools/ifconfig.c function:
> 
[...]
>  	if (ioctl (sock, SIOCGIFCONF, &ifc) < 0)

I know, this is an old one... But tonight I wanted to do the same thing
without MiNTlib. How does this ioctl call translate to GEMDOS calls? I
tried to figure out from the ioctl implementation but my tired brain did
not understand sh*t.

Jo Even