Lines Matching refs:carrier
437 if (iface->carrier != LINK_DOWN) in start_expire()
905 int carrier; in handle_carrier() local
921 carrier = action == 1 ? 1 : 0; in handle_carrier()
924 carrier = carrier_status(iface); in handle_carrier()
926 if (carrier == -1) in handle_carrier()
928 else if (carrier == 0 || ~iface->flags & IFF_UP) { in handle_carrier()
929 if (iface->carrier != LINK_DOWN) { in handle_carrier()
930 iface->carrier = LINK_DOWN; in handle_carrier()
941 } else if (carrier == 1 && !(~iface->flags & IFF_UP)) { in handle_carrier()
942 if (iface->carrier != LINK_UP) { in handle_carrier()
943 iface->carrier = LINK_UP; in handle_carrier()
1118 if (ifo->options & DHCPCD_LINK && iface->carrier == LINK_DOWN) { in start_reboot()
1174 if (iface->carrier == LINK_DOWN) { in start_interface()
1279 iface->carrier = LINK_DOWN; in init_state()
1283 iface->carrier = LINK_UP; in init_state()
1287 iface->carrier = LINK_UNKNOWN; in init_state()
1293 iface->carrier = LINK_UNKNOWN; in init_state()
1588 if (ifp->carrier != LINK_DOWN && in handle_signal()
1722 ifp->carrier != LINK_DOWN) in handle_args()
2158 if (iface->carrier != LINK_DOWN) in main()
2175 if (iface->carrier != LINK_DOWN) { in main()