Lines Matching defs:sc_if
130 struct ifnet sc_if; /* common area */
208 if_initname(&sc->sc_if, ifc->ifc_name, unit);
227 printf("%s: unable to attach encap\n", if_name(&sc->sc_if));
232 sc->sc_if.if_mtu = STF_MTU;
233 sc->sc_if.if_flags = 0;
234 sc->sc_if.if_ioctl = stf_ioctl;
235 sc->sc_if.if_output = stf_output;
236 sc->sc_if.if_type = IFT_STF;
237 sc->sc_if.if_dlt = DLT_NULL;
238 if_attach(&sc->sc_if);
239 if_alloc_sadl(&sc->sc_if);
240 bpf_attach(&sc->sc_if, DLT_NULL, sizeof(u_int));
274 if ((sc->sc_if.if_flags & IFF_UP) == 0)
278 if ((sc->sc_if.if_flags & IFF_LINK0) != 0)
289 ia6 = stf_getsrcifa6(&sc->sc_if);
519 if (sc && (sc->sc_if.if_flags & IFF_LINK2) == 0 && inifp) {
531 "due to ingress filter\n", if_name(&sc->sc_if),
601 if ((sc->sc_if.if_flags & IFF_UP) == 0) {
606 ifp = &sc->sc_if;
678 rt->rt_rmx.rmx_mtu = (sc != NULL) ? sc->sc_if.if_mtu : STF_MTU;