Lines Matching defs:up
549 * Look up a network interface cloner.
958 * AF_LINK addresses can be looked up directly by their index number,
1020 * If we're looking up with a scope,
1214 * if_updown will set the interface up or down. It will
1215 * prevent other up/down events from occurring until this
1216 * up/down event has completed.
1220 * the flags after we change the up/down state without
1222 * up/down state and updating the rest of the flags.
1227 int up)
1234 /* Wait until no one else is changing the up/down state */
1244 if ((!up && (ifp->if_flags & IFF_UP) == 0) ||
1245 (up && (ifp->if_flags & IFF_UP) == IFF_UP)) {
1249 /* Indicate that the up/down state is changing */
1252 /* Mark interface up or down */
1253 if (up) {
1266 pfctlinput(up ? PRC_IFUP : PRC_IFDOWN, ifa[i]->ifa_addr);
1272 if (!up)
1277 ifnet_update_sndq(ifq, up ? CLASSQ_EV_LINK_UP : CLASSQ_EV_LINK_DOWN);
1300 * Mark an interface up and notify protocols of
2151 /* Don't let users screw up protocols' entries. */
2893 * - If the address is not link-layer, look up a link layer address.