Project Home
Project Home
Trackers
Trackers
Documents
Documents
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 - raw ethernet packets: Page 1 of 5 (5 Items)
   
raw ethernet packets  
How can I send a plain (raw) ethernet packet under QNX? Since want to send packets with a small payload at a high 
frequency, using IP/UDP would lead to a unacceptably high overhead. 

Under LINUX this can be done using 
 s = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
Since there seems to be no AF_PACKET under QNX, so this obviously doesn't work.

I couldn't find anything in the documentation except:
" SOCK_RAW -- provides access to internal network protocols and interfaces. Available only to the superuser, this type 
isn't described here."

Is it described anywhere else in the documentation? I would be thankful for any hint as to how this can be done under 
QNX.

Thomas