Searched refs:sc_if (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.81.4/bsd/net/ |
| H A D | if_stf.c | 156 ifnet_t sc_if; /* common area */ member 341 error = ifnet_allocate_extended(&stf_init, &sc->sc_if); in stfattach() 347 ifnet_set_mtu(sc->sc_if, IPV6_MMTU); in stfattach() 348 ifnet_set_flags(sc->sc_if, 0, 0xffff); /* clear all flags */ in stfattach() 351 ifnet_set_flags(sc->sc_if, IFF_LINK2, IFF_LINK2); in stfattach() 354 error = ifnet_attach(sc->sc_if, NULL); in stfattach() 358 ifnet_release(sc->sc_if); in stfattach() 362 bpfattach(sc->sc_if, DLT_NULL, sizeof(u_int)); in stfattach() 388 if ((ifnet_flags(sc->sc_if) & IFF_UP) == 0) { in stf_encapcheck() 393 if ((ifnet_flags(sc->sc_if) & IFF_LINK0) != 0) { in stf_encapcheck() [all …]
|
| H A D | if_pflog.c | 211 error = ifnet_allocate_extended(&pf_init, &pflogif->sc_if); in pflog_clone_create() 218 ifnet_set_mtu(pflogif->sc_if, PFLOGMTU); in pflog_clone_create() 219 ifnet_set_flags(pflogif->sc_if, IFF_UP, IFF_UP); in pflog_clone_create() 221 error = ifnet_attach(pflogif->sc_if, NULL); in pflog_clone_create() 224 ifnet_release(pflogif->sc_if); in pflog_clone_create() 230 bpfattach(pflogif->sc_if, DLT_PFLOG, PFLOG_HDRLEN); in pflog_clone_create() 236 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
|