promisc coding question

From: ming fu (fming_at_borderware.com)
Date: 09/24/04

  • Next message: Petri Helenius: "Re: Intel PRO/1000 CT (82547EI) - em0: watchdog timeout"
    Date: Fri, 24 Sep 2004 08:30:13 -0400
    To: freebsd-net@freebsd.org
    
    

    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

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Petri Helenius: "Re: Intel PRO/1000 CT (82547EI) - em0: watchdog timeout"