|
Re: I want to send the data link layer packets
|
01/04/2016 9:57 AM
post115393
|
Re: I want to send the data link layer packets
You can't send raw Ethernet frames via a socket interface in QNX, only raw IP packets.
To send raw Ethernet frames the easiest and best documented method is to use the BPF interface. If a higher performance
is required it is possible to write a custom lsm or use lsm-nraw.so, but these are more complicated and should only be
considered if BPF doesn't provide what you need.
|
|
|