Skip navigation.
Home
The QNX Community Portal

View topic - Socket

Socket

For discussion of realtime and/or embedded programming.

Socket

Postby KYK » Wed Jun 07, 2017 4:15 am

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.
KYK
New Member
 
Posts: 3
Joined: Tue Jun 06, 2017 2:01 pm

Re: Socket

Postby maschoen » Wed Jun 07, 2017 12:22 pm

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?
maschoen
QNX Master
 
Posts: 2626
Joined: Wed Jun 25, 2003 5:18 pm

Re: Socket

Postby Tim » Wed Jun 07, 2017 2:28 pm

You could try this code sample. It may however not be for QNX 4

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

Tim
Tim
Senior Member
 
Posts: 1372
Joined: Wed Mar 10, 2004 12:28 am


Return to Realtime and Embedded

Who is online

Users browsing this forum: Google [Bot] and 2 guests