Lines Matching refs:present
120 bool present; member
127 return present; in satisfied()
129 return present && up; in satisfied()
131 return present && up && hasIpv4Addr; in satisfied()
133 return !present || !up; in satisfied()
175 const auto present = exists(ifname); in waitFor() local
176 const auto up = present && isUp(ifname).value_or(false); in waitFor()
177 const auto hasIpv4Addr = present && hasIpv4(ifname); in waitFor()
178 states[ifname] = {present, up, hasIpv4Addr}; in waitFor()
208 state.present = (msg->header.nlmsg_type != RTM_DELLINK); in waitFor()
209 state.up = state.present && (msg->data.ifi_flags & IFF_UP) != 0; in waitFor()
210 if (!state.present) state.hasIpv4Addr = false; in waitFor()