Hi,
Let me talk about EtherNet/IP for AM335x.
We use PRU-ICSS-ETHERNETIP-ADAPTER 01_00_02_00 and Processor SDK 3.3.0.4 for AM335x.
attributes Attr#4-8 of QoS object have DSCP priority.
It is set to NDK by socket option (setsockopt) when socket is generated.
and We got error, Because priority of the packet received by the test tool in the conformance test is 0
We calls this function below.
IRet = setsockopt (s, IPPROTO_IP, IP_TOS, (const char *) & bDSCPValue, sizeof (bDSCPValue));
For example, if we set the following value to bDSCPValue, the return will be 0,
but transmitted packet is 00 in Wireshark.
TCP, bDSCPValue is 0x6C
UDP, bDSCPValue is 0xBC
So, I have the following questions.
(1)Is this setting correct for DSCP ?
(2)Please let me know about other setting in NDK without setsockopt, if you have.
Best Regards
Hiroyasu