Refer to the logic of the `netif_carrier_on` on linux. https://github.com/torvalds/linux/blob/master/net/sched/sch_generic.c#L575 Signed-off-by: liqinhui <liqinhui@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| netdev.h | ||
| netdev_carrier.c | ||
| netdev_count.c | ||
| netdev_default.c | ||
| netdev_findbyaddr.c | ||
| netdev_findbyindex.c | ||
| netdev_findbyname.c | ||
| netdev_foreach.c | ||
| netdev_ifconf.c | ||
| netdev_input.c | ||
| netdev_iob.c | ||
| netdev_ioctl.c | ||
| netdev_ipv6.c | ||
| netdev_lladdrsize.c | ||
| netdev_register.c | ||
| netdev_txnotify.c | ||
| netdev_unregister.c | ||
| netdev_verify.c | ||
| netdown_notifier.c | ||