Home
last modified time | relevance | path

Searched refs:M_PROMISC (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/net/
H A Dif_ethersubr.c742 if ((m->m_flags & (M_BCAST | M_MCAST | M_PROMISC)) == 0 && in ether_input()
746 m->m_flags |= M_PROMISC; in ether_input()
749 if ((m->m_flags & M_PROMISC) == 0) { in ether_input()
766 m->m_flags &= ~M_PROMISC; in ether_input()
807 * Clear M_PROMISC, in case the packet comes from a in ether_input()
810 m->m_flags &= ~M_PROMISC; in ether_input()
867 if (m->m_flags & M_PROMISC) in ether_input()
H A Dif_ether.h124 #define M_PROMISC M_LINK1 /* this packet is not for us */ macro
H A Dbpf.c903 /* Set M_PROMISC for outgoing packets to be discarded. */ in bpf_write()
905 m->m_flags |= M_PROMISC; in bpf_write()
1767 if ((m->m_flags & M_PROMISC) != 0 && m->m_pkthdr.rcvif_index == 0) { in _bpf_mtap2()
1768 m->m_flags &= ~M_PROMISC; in _bpf_mtap2()
1799 if ((m->m_flags & M_PROMISC) != 0 && m->m_pkthdr.rcvif_index == 0) { in _bpf_mtap()
1800 m->m_flags &= ~M_PROMISC; in _bpf_mtap()
H A Dif_bridge.c1746 mc->m_flags &= ~M_PROMISC; in bridge_output()
2066 m->m_flags &= ~M_PROMISC; in bridge_input()
2185 mc->m_flags &= ~M_PROMISC;
H A Dif_vlan.c1506 m->m_flags &= ~M_PROMISC; in vlan_input()
H A Dif_pppoe.c2130 if (m->m_flags & M_PROMISC) { in pppoe_enqueue()
/netbsd-src/sys/rump/net/lib/libvirtif/
H A Dif_virt.c377 m->m_flags |= M_PROMISC; in VIF_DELIVERPKT()
/netbsd-src/sys/rump/net/lib/libshmif/
H A Dif_shmem.c862 m->m_flags |= M_PROMISC;
/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm53xx_eth.c1019 m->m_flags |= M_PROMISC; in bcmeth_rx_input()
/netbsd-src/sys/net/lagg/
H A Dif_lagg.c1189 m->m_flags &= ~M_PROMISC; in lagg_input_ethernet()
/netbsd-src/sys/arch/powerpc/booke/dev/
H A Dpq3etsec.c1597 m->m_flags |= M_PROMISC; in pq3etsec_rx_input()