Improved network interface enumeration.

* Doesn't print anything yet, however.