getpromiscflag IFF_PROMISC - Get promiscuous flag from network interface Build gcc getpromiscflag.c -o getpromiscflag Usage $./getpromiscflag eth0 Result $./getpromiscflag eth0 eth0 Promisc unset $./getpromiscflag eth0 eth0 Promisc set