Skip to content

Commit 6fdee68

Browse files
MirkoCovizzijfischer-no
authored andcommitted
[nrf noup] include: net: socket_ncs: reduce NCS_BASE
nrf-squash! [nrf noup] include: net: add NCS extensions Reduces the NCS_BASE to a lower number to simplify those use cases where certain applications would let the user input the socket option name by number. The base is still high enough to prevent collisions with Zephyr's own socket options for many years. Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no> (cherry picked from commit 3d1d0af)
1 parent 2d1b25b commit 6fdee68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/net/socket_ncs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727

2828
/** Define a base for NCS specific socket options to prevent overlaps with Zephyr's socket options.
2929
*/
30-
#define NET_SOCKET_NCS_BASE 1000000000
30+
#define NET_SOCKET_NCS_BASE 1000
3131

3232
/* NCS specific TLS level socket options */
3333

0 commit comments

Comments
 (0)