Lines Matching refs:carrier
421 if (iface->carrier != LINK_DOWN) in start_expire()
877 int carrier; in handle_carrier() local
886 carrier = carrier_status(iface); in handle_carrier()
887 if (carrier == -1) in handle_carrier()
889 else if (carrier == 0 || !(iface->flags & IFF_RUNNING)) { in handle_carrier()
890 if (iface->carrier != LINK_DOWN) { in handle_carrier()
891 iface->carrier = LINK_DOWN; in handle_carrier()
897 } else if (carrier == 1 && (iface->flags & IFF_RUNNING)) { in handle_carrier()
898 if (iface->carrier != LINK_UP) { in handle_carrier()
899 iface->carrier = LINK_UP; in handle_carrier()
1058 if (ifo->options & DHCPCD_LINK && iface->carrier == LINK_DOWN) { in start_reboot()
1114 if (iface->carrier == LINK_DOWN) { in start_interface()
1212 iface->carrier = LINK_DOWN; in init_state()
1216 iface->carrier = LINK_UP; in init_state()
1220 iface->carrier = LINK_UNKNOWN; in init_state()
1226 iface->carrier = LINK_UNKNOWN; in init_state()
1542 if (ifp->carrier != LINK_DOWN && in handle_signal()
1670 ifp->carrier != LINK_DOWN) in handle_args()
2077 if (iface->carrier != LINK_DOWN) in main()
2094 if (iface->carrier != LINK_DOWN) { in main()