Hi, I am porting an linux application which uses socket call for send and receive RAW Ethernet packets. I am using QNX 6.3.2.
socket (PF_PACKET, SOCK_RAW, htons (ETH_P_ALL).
In QNX PF_PACKET and ETH_P_ALL is not available.
I read that BPF can be used to implement send/receive raw Ethernet packets.And also QNX 6.3.2 doesn’t support BPF. Is there any other approach to achive this.
Also ETH_P_ALL is used to receive all kinds of packets in linux.What is the equivalent in QNX.