Hi, I have observed a weird behaviour while setting the BIOCSRTIMEOUT for a bpf.
When setting it to low values (less than a second) as it can be seen below the bpf is actually blocking instead of waiting and continuing. struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 1; if (ioctl(*bpf, BIOCSRTIMEOUT, &timeout) == -1) { perror("BIOCSRTIMEOUT"); return 0; } This was working with the libbsd 4.11 branch. Is this a known bug? In addition the bpf is not receiving/reading anything incoming while with wireshark I can confirm that there are things on the wire and the bpf is in promiscuous mode. Still this was working on the 4.11 branch. Any idea on how to debug this? Thanks in advance. Cheers, Niko
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users