I have a Linux UDP Server written in C and I am sending a UDP datagram of 16 bytes. All the data is received correctly by the client, but the wireshark log is showing that two extra bytes are being added:
00 16 00 00 c8 44 01 14 01 01 02 01 02 00 00 10 00 00
The two bytes are all zeros, I'm not sure where they are coming from, I have the data of 16 bytes sent in my sendto() function.
These must be added on from padding at the Linux Kernel layer? Is there anyway to stop this from happening?
Screen shot of wireshark, apparently this is Ethernet padding bytes... Why are they here?
