Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 08:30:13 -0400
From:      ming fu <fming@borderware.com>
To:        freebsd-net@freebsd.org
Subject:   promisc coding question
Message-ID:  <41541355.50800@borderware.com>

index | next in thread | raw e-mail

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





home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41541355.50800>