Home
last modified time | relevance | path

Searched refs:IFF_PPROMISC (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/libpcap/
H A Dpcap-netmap.c50 #define IFF_PPROMISC IFF_PROMISC macro
211 if (if_flags & IFF_PPROMISC) { in pcap_netmap_close()
212 if_flags &= ~IFF_PPROMISC; in pcap_netmap_close()
257 if (!(if_flags & IFF_PPROMISC)) { in pcap_netmap_activate()
259 if_flags |= IFF_PPROMISC; in pcap_netmap_activate()
/freebsd/usr.sbin/mtest/
H A Dmtest.c810 flags &= ~IFF_PPROMISC; in process_cmd()
812 flags |= IFF_PPROMISC; in process_cmd()
/freebsd/sys/net/
H A Dif.h157 #define IFF_PPROMISC 0x20000 /* (n) user-requested promisc mode */ macro
H A Dif.c2621 if ((ifp->if_flags ^ new_flags) & IFF_PPROMISC) { in ifhwioctl()
2622 if (new_flags & IFF_PPROMISC) in ifhwioctl()
2628 ((new_flags & IFF_PPROMISC) ? in ifhwioctl()
3273 error = if_setflag(ifp, IFF_PROMISC, IFF_PPROMISC, in ifpromisc()
H A Dif_ethersubr.c899 * requested this by setting IFF_PPROMISC. Otherwise, drop them. in ether_demux()
901 if ((ifp->if_flags & IFF_PPROMISC) == 0 && (m->m_flags & M_PROMISC)) { in ether_demux()
/freebsd/sys/compat/linux/
H A Dlinux_netlink.c338 case IFF_PPROMISC: in rtnl_if_flags_to_linux()
/freebsd/tools/tools/net80211/wlaninject/
H A Dwlaninject.c73 flags |= IFF_UP | IFF_PPROMISC; in setup_if()
/freebsd/tools/tools/net80211/stumbler/
H A Dstumbler.c291 flags |= IFF_UP | IFF_PPROMISC; in setup_if()
/freebsd/sbin/ifconfig/
H A Difconfig.c2083 DEF_CMD("promisc", IFF_PPROMISC, setifflags),
2084 DEF_CMD("-promisc", IFF_PPROMISC, clearifflags),
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c144 #define IFF_PPROMISC IFF_PROMISC /* IFF_PPROMISC does not exist */ macro
178 #define IFF_PPROMISC IFF_PROMISC macro
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c404 flags |= IFF_UP | IFF_PPROMISC; in setup_if()
/freebsd/sys/net80211/
H A Dieee80211_ioctl.c3565 (ifp->if_flags & IFF_PPROMISC) != 0 || in ieee80211_ioctl()