Re: rtems-libbsd bpf BIOCSRTIMEOUT behaviour

2018-07-03 Thread Sebastian Huber
On 03/07/18 12:00, Nicolas Tsiogkas wrote: Second issue that I faced is that flags were not passed correctly to the bpfopen function so the bpf was not opened in read/write mode. That's why packets were not received. Attaching a patch. Thanks, I checked in the patch:

Re: rtems-libbsd bpf BIOCSRTIMEOUT behaviour

2018-07-03 Thread Nicolas Tsiogkas
Hi, So I have done some debugging. there were 2 issues. First issue regarding the timer is the way the timeout is calculated. It requires at least 11 milliseconds of timeout to be able to handle it. Second issue that I faced is that flags were not passed correctly to the bpfopen function so