Test if carrier present
bool netif_carrier_ok(const struct net_device * dev);
dev
network device
Check if carrier is present on device