Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to send ethernet raw packets in qnx 6.4 using libpcap?: (1 Item)
   
How to send ethernet raw packets in qnx 6.4 using libpcap?  
Hi,

I want to send ethernet raw packets in QNX.

in linux we can use,
s = socket(AF_PACKET,SOCK_RAW,htons(ETH_P_ALL)); 

Since QNX doesn't support AF_PACKET. I cannot use this socket API in QNX.

In QNX forum I read that,  In io-pkt there is BPF / libpcap which should provide the same functionality.

Pls tell me how to send ethernet raw packets using BPF/libpcap in qnx 6.4?