netif_running — test if up
bool netif_running (
)
dev
network device
Test if the device has been brought up.