Skip navigation.
Home
The QNX Community Portal

View topic - Socket

Page 1 of 1

Socket

PostPosted: Wed Jun 07, 2017 4:15 am
by KYK
Hii,
I am new to QNX RTOS . I want to send raw ethernet frames(DESTINATION ADDRESS + SOURCE ADDRESS + ETHER TYPE + PAYLOAD) in link layer level. I used sockaddr_ll structure to bind the MAC address while using LINUX which was not found in QNX . Is there any solution to implement this in QNX.

Re: Socket

PostPosted: Wed Jun 07, 2017 12:22 pm
by maschoen
KYK wrote:Hii,
I am new to QNX RTOS . I want to send raw ethernet frames(DESTINATION ADDRESS + SOURCE ADDRESS + ETHER TYPE + PAYLOAD) in link layer level. I used sockaddr_ll structure to bind the MAC address while using LINUX which was not found in QNX . Is there any solution to implement this in QNX.


This is only a half answer. I don't know what the method is, but I know it exists because that's exactly what the QNX protocol must do. Do you have a rep at QNX you can ask?

Re: Socket

PostPosted: Wed Jun 07, 2017 2:28 pm
by Tim
You could try this code sample. It may however not be for QNX 4

https://gist.github.com/manuelvonthron-opalrt/8559997

Tim