linsniff.c sets promisc mode on an interface with ioctl() a la:
ioctl(s,SIOCSIFFLAGS,&ifr);
s is a descriptor pointing to the previously opened SOCK_PACKET socket..
it seems to me that the s descriptor is purely arbitrary.. is it necessary
to use a socket opened in this way as a descriptor for a SIOCSIFFLAGS or
SIOCGIFFLAGS ioctl call? What type of descriptor needs to be used here?