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