Searched refs:sc_if (Results 1 – 3 of 3) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_stf.c | 154 ifnet_t sc_if; /* common area */ member 343 error = ifnet_allocate_extended(&stf_init, &sc->sc_if); in stfattach() 351 ifnet_set_mtu(sc->sc_if, IPV6_MMTU); in stfattach() 352 ifnet_set_flags(sc->sc_if, 0, 0xffff); /* clear all flags */ in stfattach() 355 ifnet_set_flags(sc->sc_if, IFF_LINK2, IFF_LINK2); in stfattach() 358 error = ifnet_attach(sc->sc_if, NULL); in stfattach() 362 ifnet_release(sc->sc_if); in stfattach() 368 bpfattach(sc->sc_if, DLT_NULL, sizeof(u_int)); in stfattach() 390 if ((ifnet_flags(sc->sc_if) & IFF_UP) == 0) { in stf_encapcheck() 395 if ((ifnet_flags(sc->sc_if) & IFF_LINK0) != 0) { in stf_encapcheck() [all …]
|
| H A D | if_pflog.c | 176 error = ifnet_allocate_extended(&pf_init, &pflogif->sc_if); in pflog_clone_create() 183 ifnet_set_mtu(pflogif->sc_if, PFLOGMTU); in pflog_clone_create() 184 ifnet_set_flags(pflogif->sc_if, IFF_UP, IFF_UP); in pflog_clone_create() 186 error = ifnet_attach(pflogif->sc_if, NULL); in pflog_clone_create() 189 ifnet_release(pflogif->sc_if); in pflog_clone_create() 195 bpfattach(pflogif->sc_if, DLT_PFLOG, PFLOG_HDRLEN); in pflog_clone_create() 201 pflogifs[unit] = pflogif->sc_if; in pflog_clone_create()
|
| H A D | if_pflog.h | 70 struct ifnet *sc_if; /* back ptr to interface */ member
|