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

/xnu-2422.115.4/bsd/net/
H A Dif_stf.c158 ifnet_t sc_if; /* common area */ member in struct:stf_softc
355 error = ifnet_allocate(&stf_init, &sc->sc_if);
363 ifnet_set_mtu(sc->sc_if, IPV6_MMTU);
364 ifnet_set_flags(sc->sc_if, 0, 0xffff); /* clear all flags */
367 ifnet_set_flags(sc->sc_if, IFF_LINK2, IFF_LINK2);
371 mac_ifnet_label_init(&sc->sc_if);
374 error = ifnet_attach(sc->sc_if, NULL);
378 ifnet_release(sc->sc_if);
384 bpfattach(sc->sc_if, DLT_NULL, sizeof(u_int));
405 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

Completed in 20 milliseconds