Lines Matching refs:sc_if
158 ifnet_t sc_if; /* common area */
354 error = ifnet_allocate(&stf_init, &sc->sc_if);
362 ifnet_set_mtu(sc->sc_if, IPV6_MMTU);
363 ifnet_set_flags(sc->sc_if, 0, 0xffff); /* clear all flags */
366 ifnet_set_flags(sc->sc_if, IFF_LINK2, IFF_LINK2);
370 mac_ifnet_label_init(&sc->sc_if);
373 error = ifnet_attach(sc->sc_if, NULL);
377 ifnet_release(sc->sc_if);
383 bpfattach(sc->sc_if, DLT_NULL, sizeof(u_int));
404 if ((ifnet_flags(sc->sc_if) & IFF_UP) == 0)
408 if ((ifnet_flags(sc->sc_if) & IFF_LINK0) != 0)
419 ia6 = stf_getsrcifa6(sc->sc_if);
686 if (sc && (ifnet_flags(sc->sc_if) & IFF_LINK2) == 0 && inifp) {
700 "due to ingress filter\n", if_name(sc->sc_if),
765 if (sc == NULL || (ifnet_flags(sc->sc_if) & IFF_UP) == 0) {
770 ifp = sc->sc_if;