Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
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?