netif_carrier_ok — test if carrier present
bool netif_carrier_ok (
)
dev
network device
Check if carrier is present on device