Registered a callback to receive frames using EDD_ETHERTYPE_IPv4. If I'm looking to tEth.usType of a received frame the result is always 0x0008. I would expect 0x0800. Is there an issue with the byte order?
Second question: Is there a constant to register a receive callback for all kind of frames?
Martin
code- small
Hilscher Gesellschaft für Systemautomation mbH
Hi RedElephant,
the number in the field tEth.usType is in network byte order which is big-endian. The number given to the callback registration function is in little-endian coding.
There is no constant but a function called Drv_EddSetPromiscCb which provides that.
Greets,
code-small