On macOS/iOS, experiment with SystemConfiguration.framework to get a list of network interfaces
To get a list of network interfaces, we use platform-specific API (
GetAdaptersAddresses()) on Windows and
getifaddrs() on Unix/Linux if possible. Failing that, Tor can also call
On Darwin, there's a platform API to get and enumerate network interfaces.
We should experiment with that and decide if we want to use it as a primary way to get network interfaces on macOS/iOS.