netif_carrier_ok(9) test if carrier present

SYNOPSIS

bool netif_carrier_ok(const struct net_device * dev);

ARGUMENTS

dev

network device

DESCRIPTION

Check if carrier is present on device

COPYRIGHT