promisc coding question

ming fu fming at borderware.com
Fri Sep 24 05:30:24 PDT 2004


Hi,

in if.h
#define    IFF_PROMISC    0x100        /* receive all packets */
#define    IFF_PPROMISC    0x20000        /* 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






More information about the freebsd-net mailing list