accessing interface name in ifnet list
accessing interface name in ifnet list
- Subject: accessing interface name in ifnet list
- From: mogambo <email@hidden>
- Date: Tue, 13 Jul 2010 09:50:01 -0700
Hi all,
I want to get a list of all available interfaces and filter them based on the name such as en0 myself. I have looked at the available kpi and I see ifnet_list_get(), etc. What I want to do is basically what ifnet_find_by_name() does internally, but I could not find a way to get the name easily (e.g. ifnet_name() only gives me "en"). Is there an easy way to access the full name easily?
Thanks,
-m.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden