Searched refs:sc_if (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dif_stf.c158 ifnet_t sc_if; /* common area */ member in struct:stf_softc
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)
[all...]
H A Dif_pflog.c171 error = ifnet_allocate(&pf_init, &pflogif->sc_if);
178 ifnet_set_mtu(pflogif->sc_if, PFLOGMTU);
179 ifnet_set_flags(pflogif->sc_if, IFF_UP, IFF_UP);
181 error = ifnet_attach(pflogif->sc_if, NULL);
184 ifnet_release(pflogif->sc_if);
190 bpfattach(pflogif->sc_if, DLT_PFLOG, PFLOG_HDRLEN);
196 pflogifs[unit] = pflogif->sc_if;
H A Dif_pflog.h69 struct ifnet *sc_if; /* back ptr to interface */ member in struct:pflog_softc
H A Dif_pppvar.h90 struct ifnet sc_if; /* network-visible interface */ member in struct:ppp_softc

Completed in 24 milliseconds