tests: net: socket: Check length for AF_PACKET SOCK_DGRAM socket

This test checks that the length returned is not altered
even if the payload resembles a valid IPv4 or IPv6 length.

Signed-off-by: Christoph Seitz <christoph.seitz@infineon.com>
1 file changed