Skip to content

Conversation

@MirkoCovizzi
Copy link
Contributor

@MirkoCovizzi MirkoCovizzi commented Feb 17, 2025

  • Removes leftover socket options TLS_SESSION_CACHE_DISABLED
    and TLS_SESSION_CACHE_ENABLED. These exist already
    in socket.h.

  • Adds a base value for NCS specific socket options to
    prevent overlaps with Zephyr's socket options.

Copy link
Contributor

@rlubos rlubos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please nrf-squash! line to the commits, so we can do a cleanup on the next rebase:
nrf-squash! [nrf noup] include: net: add NCS extensions

@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch 2 times, most recently from da70969 to 99c1bcd Compare February 17, 2025 12:16
@MirkoCovizzi MirkoCovizzi removed the DNM label Feb 17, 2025
@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch from 99c1bcd to 1fbfbc6 Compare February 17, 2025 13:44
@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch 4 times, most recently from c1a4e5b to 72ab7b6 Compare February 20, 2025 08:27
* Accepted values for the option are: 1, 3, 7, 15, 31, 63, 123.
*/
#define TLS_DTLS_HANDSHAKE_TIMEO 18
#define TLS_DTLS_HANDSHAKE_TIMEO (NET_SOCKET_NCS_BASE + 18)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side note, did we not have a SO_ prefix or similar for these?

@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch from 72ab7b6 to 240cfe2 Compare February 20, 2025 11:16
@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch 6 times, most recently from 11ad873 to fb3258b Compare February 27, 2025 13:46
@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch from fb3258b to e8dbd1a Compare February 28, 2025 11:55
nrf-squash! [nrf noup] include: net: add NCS extensions

Removes leftover socket options `TLS_SESSION_CACHE_DISABLED`
and `TLS_SESSION_CACHE_ENABLED`. These exist already
in `socket.h`.

Signed-off-by: Mirko Covizzi <[email protected]>
nrf-squash! [nrf noup] include: net: add NCS extensions

Adds a base value for NCS specific socket options to
prevent overlaps with Zephyr's socket options.

Signed-off-by: Mirko Covizzi <[email protected]>
@MirkoCovizzi MirkoCovizzi force-pushed the remove-leftover-socket-options branch from e8dbd1a to ec66956 Compare March 3, 2025 09:35
@nordicjm nordicjm merged commit 10eb60b into nrfconnect:main Mar 3, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants