FW: Getifaddrs support for rtems?
Johnny Willemsen
jwillemsen at remedy.nl
Thu Dec 21 20:52:44 UTC 2006
Hi,
The SIOCGIFADDR code now works in ACE, but with getifaddrs it will much
easier to retrieve the needed data.
Johnny
> -----Original Message-----
> From: rtems-users-bounces+jwillemsen=remedy.nl at rtems.org
> [mailto:rtems-users-bounces+jwillemsen=remedy.nl at rtems.org]
> On Behalf Of Johnny Willemsen
> Sent: Thursday, December 21, 2006 8:28 PM
> To: 'Joel Sherrill'
> Cc: rtems-users at rtems.org
> Subject: RE: FW: Getifaddrs support for rtems?
>
> Hi,
>
> > Are you thinking of the SIOCGIFADDR ioctl?
>
> That is the option I am now trying to use in ACE but at this moment it
> returns 0 interfaces (I have two, loopback and regular). Have
> to test why
> ACE determines I have 0.
>
> > cpukit/libnetwork/rtems/rtems_glue.c has the ioctl interface
> > code so you
> > can look at the switch and see what looks like what you want.
>
> Wha I really mean is using the getifaddrs interface, as for
> example see
> http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=getifaddrs.
>
> Johnny
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
More information about the users
mailing list