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

net: sockets: Add options to control DSCP/ECN value



Add new socket options IP_TOS and IPV6_TCLASS which allows to set
DSCP/ECN values on a socket for an outgoing packet IPv4/IPv6 headers.

The options are compatible with Linux behaviour, where both DSCP and ECN
are set with a single socket option.

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