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