Home
last modified time | relevance | path

Searched refs:IFT_LOOP (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/security/mac_ifoff/
H A Dmac_ifoff.c89 if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP) in ifnet_check_outgoing()
92 if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP) in ifnet_check_outgoing()
104 if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP) in ifnet_check_incoming()
107 if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP) in ifnet_check_incoming()
/freebsd/sys/netinet/
H A Dsctp_os_bsd.h201 #define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP)
202 …ro_nh->nh_ifa && (ro)->ro_nh->nh_ifa->ifa_ifp && (ro)->ro_nh->nh_ifa->ifa_ifp->if_type == IFT_LOOP)
346 …->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
H A Dsctp_bsd_addr.c166 case IFT_LOOP: in sctp_is_desired_interface_type()
H A Dip_mroute.c971 ifp = V_multicast_register_if = if_alloc(IFT_LOOP); in add_vif()
/freebsd/tools/tools/ifpifa/
H A Difpifa.c150 case IFT_LOOP: in main()
/freebsd/sys/net/
H A Dif_types.h68 IFT_LOOP = 0x18, /* loopback */ enumerator
H A Dif_disc.c87 ifp = sc->sc_ifp = if_alloc(IFT_LOOP); in disc_clone_create()
H A Dif_loop.c125 ifp = if_alloc(IFT_LOOP); in lo_clone_create()
/freebsd/sys/compat/linux/
H A Dlinux.h366 #define IFP_IS_LOOP(ifp) (if_gettype(ifp) == IFT_LOOP)
/freebsd/tests/atf_python/sys/net/
H A Dvnet.py49 IFT_LOOP = 0x18 variable in VnetInterface
61 self.iftype = self.IFT_LOOP
/freebsd/contrib/libpcap/
H A Dpcap-haiku.c290 case IFT_LOOP: in pcap_activate_haiku()
H A Dpcap-bpf.c2325 case IFT_LOOP:
/freebsd/sys/dev/netmap/
H A Dnetmap_generic.c1116 if (if_gettype(ifp) == IFT_LOOP) { in generic_netmap_attach()
/freebsd/sys/netinet6/
H A Din6.c2158 case IFT_LOOP: in in6_if2idlen()
/freebsd/lib/libc/net/
H A Dgetaddrinfo.c1638 if ((ifa->ifa_flags & IFT_LOOP) != 0 && in addrconfig()
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c1188 if (if_gettype(ifp) == IFT_LOOP) { in lomac_ifnet_create()
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c1023 if (if_gettype(ifp) == IFT_LOOP) in mls_ifnet_create()
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c1064 if (if_gettype(ifp) == IFT_LOOP || interfaces_equal != 0) { in biba_ifnet_create()