Skip to content
Commit 33028963 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Jukka Rissanen
Browse files

test: af_packet: Add test for passing UDP packet to open RAW socket



The af_packet test has been augmented to check if sent UDP packet from
one port to another (via net interface) is also passed to open SOCK_RAW
connection.
The test_packet_sockets() function has been reused to setup the SOCK_RAW
sockets for this test.
It is important to note that the packet is passed to receive part of net
stack after being sent.

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
parent 83f523f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment