Hi,
I have a wifi interface that has an MTU less than 1500. How do I change the MTU for RTCS?
Thanks,
-Mike
Solved! Go to Solution.
Hi Mike_d
This MTU is defined in the following macro
#define ENET_FRAMESIZE_MAXDATA (1500)
in file
mqx/source/io/enet/ethernet.h
Have a great day,
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Mike_d
There is also a similar macro in RTCS IP layer.
#define IP_DEFAULT_MTU 576 /* minimum IP datagram size which */
/* must be supported by all IP hosts */
#define IP_MAX_MTU 0xFFFF /* size of largest IP datagram */
in rtcs/source/include/ip.h
Regards
Daniel
Hi Mike_d
This MTU is defined in the following macro
#define ENET_FRAMESIZE_MAXDATA (1500)
in file
mqx/source/io/enet/ethernet.h
Have a great day,
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------