IFT_LOOP
if ((ifa->ifa_flags & IFT_LOOP) != 0 &&
if (ifp->if_type == IFT_LOOP &&
if (cbs->is_lo && ifp->if_type == IFT_LOOP)
if (ifp->if_type == IFT_LOOP) {
if (if_gettype(ifp) == IFT_LOOP) {
case IFT_LOOP: /* lo(4), disc(4) */
ifp = sc->sc_ifp = if_alloc(IFT_LOOP);
ifp = if_alloc(IFT_LOOP);
ifp = mfct->register_if = if_alloc(IFT_LOOP);
case IFT_LOOP:
#define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP)
#define SCTP_ROUTE_IS_REAL_LOOP(ro) ((ro)->ro_nh && (ro)->ro_nh->nh_ifa && (ro)->ro_nh->nh_ifa->ifa_ifp && (ro)->ro_nh->nh_ifa->ifa_ifp->if_type == IFT_LOOP)
#define SCTP_IS_IT_LOOPBACK(m) ((m->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
case IFT_LOOP:
if (if_gettype(ifp) == IFT_LOOP || interfaces_equal != 0) {
if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP)
if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP)
if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP)
if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP)
if (if_gettype(ifp) == IFT_LOOP) {
if (if_gettype(ifp) == IFT_LOOP)
case IFT_LOOP: