Lines Matching refs:sc_if
127 ifnet_t sc_if; /* common area */
307 error = ifnet_allocate(&stf_init, &sc->sc_if);
314 ifnet_set_mtu(sc->sc_if, IPV6_MMTU);
315 ifnet_set_flags(sc->sc_if, 0, 0xffff); /* clear all flags */
318 ifnet_set_flags(sc->sc_if, IFF_LINK2, IFF_LINK2);
322 mac_ifnet_label_init(&sc->sc_if);
325 error = ifnet_attach(sc->sc_if, NULL);
329 ifnet_release(sc->sc_if);
334 bpfattach(sc->sc_if, DLT_NULL, sizeof(u_int));
355 if ((ifnet_flags(sc->sc_if) & IFF_UP) == 0)
359 if ((ifnet_flags(sc->sc_if) & IFF_LINK0) != 0)
371 ia6 = stf_getsrcifa6(sc->sc_if);
614 if (sc && (ifnet_flags(sc->sc_if) & IFF_LINK2) == 0 && inifp) {
626 "due to ingress filter\n", if_name(sc->sc_if),
688 if (sc == NULL || (ifnet_flags(sc->sc_if) & IFF_UP) == 0) {
693 ifp = sc->sc_if;