I can't seem to get the BSD names of all the network interfaces as
configured in System Preferences.
If I use SCNetworkInterfaceCopyAll(), I can only get the physical
devices. This is a problem if the user has two configurations for the
same device. Also, it only returns "modem" rather than "ppp0",
I have tried SCNetworkSetCopyCurrent() and get a list of services for
which I can get human-readable names. If I try to extract the
interfaces with SCNetworkServiceGetInterface(), many services return
NULL and I still don't get ppp0 and so on.
In the end, I need a list of BSD names for all "virtual" devices.
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden