small c program to list all network interfaces on a linux box: state, speed and duplex settings
- iflist enumerates over ALL interfaces – even the loopback-interface
- iflist2 needs a parameter like
iflist eth0
and will only show information of the given parameter if the adapter is found