[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] nse BIOCIMMEDIATE problem on Linux



which version of ns you are using?
in current version, this code is not executed in linux:

see emulate/net-pcap.cc:
  ...
  #ifndef __linux__ <<<<<<<<<<<----------------------------------
                if (ioctl(pfd_, BIOCIMMEDIATE, &immed) < 0) {
                        fprintf(stderr,
  #endif


On Wed, 21 Nov 2001, Pei Zheng wrote:

> Hi,
> some previous posts in this list say ioctl BIOCIMMEDIATE is
> not supported by Linux, that is why we can get this message when
> running nse:
> Warning: Pcap/Live: (o-12) Couldn't set immed
> 	ioctl(BIOCIMMEDIATE):Operation not supported
> Anybody has ever used pcap/LIVE on Linux? Is it possible to get around
> "BIOCIMMEDIATE"?
>
> Thanks.
>
> -Pei
>