Home | History | Annotate | Download | only in net

Lines Matching refs:sc_if

148 	if_initname(&sc->sc_if, ifc->ifc_name, unit);
149 sc->sc_if.if_softc = sc;
150 sc->sc_if.if_type = IFT_MPLS;
151 sc->sc_if.if_addrlen = 0;
152 sc->sc_if.if_hdrlen = sizeof(union mpls_shim);
153 sc->sc_if.if_dlt = DLT_NULL;
154 sc->sc_if.if_mtu = 1500;
155 sc->sc_if.if_flags = 0;
156 sc->sc_if._if_input = mpls_input;
157 sc->sc_if.if_output = mpls_output;
158 sc->sc_if.if_ioctl = mpls_ioctl;
160 if_attach(&sc->sc_if);
161 if_alloc_sadl(&sc->sc_if);
162 bpf_attach(&sc->sc_if, DLT_NULL, sizeof(uint32_t));