Re: promisc coding question
At Fri, 24 Sep 2004 08:30:13 -0400, ming fu wrote: > > Hi, > > in if.h > #defineIFF_PROMISC0x100/* receive all packets */ > #defineIFF_PPROMISC0x2/* user-requested promisc mode */ > > Do I have to set both on for the promisc to work? > If I only need one of th
promisc coding question
Hi, in if.h #defineIFF_PROMISC0x100/* receive all packets */ #defineIFF_PPROMISC0x2/* user-requested promisc mode */ Do I have to set both on for the promisc to work? If I only need one of them, then what is the difference? Regards, Ming