");
#endif
}
if (i==0)
{
#ifdef WIN32
fprintf(stderr," \tNo interfaces found! Exiting.\n");
#else
fprintf(stderr," \tThis software must be run as root: No interfaces
found!");
#endif
exit(EXIT_FAILURE);
}
--
Benoit RAT
www.neub.co.nr
sure to receive
> correctly the packet,
>
Why? Does pcap_next_ex() return 0 or a negative value?
it return 0 because the timeout is less than the time for: t(PC -> FPGA) +
t(FPGA setup) + t(FPGA -> PC).
Thanks for your help.
--
Benoit RAT
www.neub.co.nr
On Wed, Jan 28, 2009 at
ndle, &(header), (const u_char**)(&p_buff));
if(ret>0) {
nofB=ifhard->header->len;
memcpy(buff,p_buff,nofB);
break;
}
}
Can you help me to make the timeout of pcap_next_ex() works under linux?
Thanks
--
Benoit RAT
www.neub.co.nr
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.