Skip to content
Commit 307694f3 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

net: sockets: Remove support for AF_PACKET/IPPROTO_RAW combination



IPPROTO_RAW is not a valid protocol type for AF_PACKET sockets, which
should only use IEEE 802.3 protocol numbers. Therefore remove support
for this type of sockets.

As an alternative, users can use AF_PACKET/SOCK_DGRAM or
AF_INET(6)/SOCK_RAW, depending on the actual use case.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 403d921b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment