Re: writev() to /dev/bpf from different sockets block
Jason Curl <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <[email protected]> |
On 1/28/25 06:53, matthew green wrote: > thanks for the update. i had quickly tested your program but was > unable to reproduce it and didn't get back to further testing. > I was not able to reproduce in i386 image. I was able to reproduce on the RPi4 with the interface "genet0" using the download image for 10.1 found at https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.1/evbarm-aarch64/binary/gzimg/arm64.img.gz Of course I understand if this is too much work, and I can try to make a small repro case (it might take me until the weekend). The code (and buildable using a cross compiler on Linux, or locally direct on the RPi4 with cmake tooling): The actual code is here: https://github.com/jcurl/code.research/blob/master/qnx/tools/udp_load/udp_talker_bpf.cpp#L462 The initialisation of /dev/bpf starts here: https://github.com/jcurl/code.research/blob/master/qnx/tools/udp_load/udp_talker_bpf.cpp#L417 If you do want to build and run on your sandbox: git clone https://github.com/jcurl/code.research.git cd code.research/qnx mkdir build && cd build cmake -B . -S .. -DCMAKE_BUILD_TYPE=Release make udp_load udp_load -S192.168.1.100 -D224.0.0.255 -p8000 -T2 -I Thank you so much for your time. Regards, jason.