Searched refs:IFF_PPROMISC (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/libpcap/ |
H A D | pcap-netmap.c | 50 #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 D | mtest.c | 810 flags &= ~IFF_PPROMISC; in process_cmd() 812 flags |= IFF_PPROMISC; in process_cmd()
|
/freebsd/sys/net/ |
H A D | if.h | 157 #define IFF_PPROMISC 0x20000 /* (n) user-requested promisc mode */ macro
|
H A D | if.c | 2621 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 D | if_ethersubr.c | 899 * 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 D | linux_netlink.c | 338 case IFF_PPROMISC: in rtnl_if_flags_to_linux()
|
/freebsd/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 73 flags |= IFF_UP | IFF_PPROMISC; in setup_if()
|
/freebsd/tools/tools/net80211/stumbler/ |
H A D | stumbler.c | 291 flags |= IFF_UP | IFF_PPROMISC; in setup_if()
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig.c | 2083 DEF_CMD("promisc", IFF_PPROMISC, setifflags), 2084 DEF_CMD("-promisc", IFF_PPROMISC, clearifflags),
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.c | 144 #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 D | wesside.c | 404 flags |= IFF_UP | IFF_PPROMISC; in setup_if()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_ioctl.c | 3565 (ifp->if_flags & IFF_PPROMISC) != 0 || in ieee80211_ioctl()
|