Since you're asking about native code development, you might want to
ask your question on the Android NDK group.

On Tue, Oct 20, 2009 at 12:01 PM, Debbie <[email protected]> wrote:
>
> Hi,
>
> I'm porting a linux (FC9) user space application to Android. The
> original code uses if_nameindex() which lists out all the network
> interfaces and their indices. the data structure "struct if_nameindex"
> and function prototype if_nameindex() are defined in /usr/include/net/
> if.h. However, these data structure and function are not included in
> the Android Cupcake source tree.
>
> Does anybody know if there is any replacement available in the Android
> source tree for this data structure and its functions? I see the
> if_nametoindex() and if_indextoname() functions are available in
> Android. why were the data structure "struct if_nameindex" and
> function if_nameindex() removed from Android?
>
> Thanks,
> Debbie
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to