Skip to content
Commit b5b5c29f authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: pkt: Add ll_proto_type field



The L2 protocol type information is not carried to the upper layers.
This is problematic for packet sockets, as the address structure in
recvfrom() is supposed to provide this information.

Fix this by adding ll_proto_type field in the net_pkt structure.
Set the protocol type in the Ethernet L2 when packet is processed.

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