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