lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] SIOCGIFCONF support


From: Sylvain Rochet
Subject: Re: [lwip-devel] SIOCGIFCONF support
Date: Thu, 5 Mar 2015 20:54:42 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,


On Thu, Mar 05, 2015 at 08:47:45PM +0100, address@hidden wrote:
> Mohammad Hamad wrote:
> > Hi,
> > I want to get list of my network interfaces such as the result of
> > *getifaddrs*() and to implement this i think we need to use ioctl
> > with SIOCGIFCONF , but this is not supported option in ioctl
> > implementation yet.
> 
> Well, what's SIOCGIFCONF?

SIOCGIFCONF
  Return  a  list  of interface (transport layer) addresses.  This
  currently means only addresses of the AF_INET (IPv4) family  for
  compatibility.   Unlike  the others, this ioctl passes an ifconf
  structure:


> The fact that I can't find it on opengroup.org makes me think it's yet 
> another linux thing. We're trying to follow the standard in 
> sockets.h/.c instead of reimplementing every OS'es specialities. There 
> are some exceptions, but I'm trying prevent them...

I fully agree.


Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]