I can't seem to get the NDK to send jumbo packets using UDP. I'm using the latest NDK (2.20.4.26), recompiled for the OMAPL137 ARM processor using the wiki instructions (http://processors.wiki.ti.com/index.php/Rebuilding_the_NDK_Core), with _INCLUDE_JUMBOFRAME_SUPPORT added to all the Build.xs files. My application does appear to send TCP jumbo packets successfully, but UDP packets cause "EMAC_sendPacket() returned error 00000005" messages.
The instructions for the sendto command in the API (SPRU524) say "For a datagram type socket, the send operation always copies one packet's worth of data. If the buffer size is too large to be transmitted in a single packet, an error code of EMSGSIZE is returned." Does this mean the jumbo packets cannot be sent, ever, over UDP? If they can be sent, or if there is a workaround, I would appreciate any suggestions.