Beniz VB
|
How to send ethernet raw packets in qnx 6.4 using libpcap?
|
Beniz VB
01/02/2009 6:59 AM
post19305
|
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?
Thanks...
|
|
|