I wanted to know since in
#include <linux/if_ether.h>
ETH_FRAME_LEN the max size is 1514 but I want to send something bigger in each packet probably 2114. Is there any way to do this I keep getting
sendto():: Message too long
I wanted to know since in
#include <linux/if_ether.h>
ETH_FRAME_LEN the max size is 1514 but I want to send something bigger in each packet probably 2114. Is there any way to do this I keep getting
sendto():: Message too long
Ethernet is physically incapable of that. You cannot have a frame of that size. The hardware can't do it.
Are you really using raw frames? Then you will be restricted by the limitations of the lower network layers. If, in the other hand, you are using UDP, then the IP stack should handle frame fragmentation for you -- each UDP "packet" will be transparently split into multiple frames and put back together on the other side, transparently.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
So does C in linux not provide a way to create jumbo size frames
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}