-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove leftover socket options #2504
base: main
Are you sure you want to change the base?
Remove leftover socket options #2504
Conversation
52e3b62
to
654172c
Compare
There was a problem hiding this 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
da70969
to
99c1bcd
Compare
99c1bcd
to
1fbfbc6
Compare
c1a4e5b
to
72ab7b6
Compare
/* NCS specific TLS level socket options */ | ||
|
||
/** Socket option to set DTLS handshake timeout, specifically for nRF sockets. | ||
* The option accepts an integer, indicating the total handshake timeout, | ||
* including retransmissions, in seconds. | ||
* 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) |
There was a problem hiding this comment.
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?
72ab7b6
to
240cfe2
Compare
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]>
240cfe2
to
7b749f0
Compare
Removes leftover socket options
TLS_SESSION_CACHE_DISABLED
and
TLS_SESSION_CACHE_ENABLED
. These exist alreadyin
socket.h
.Adds a base value for NCS specific socket options to
prevent overlaps with Zephyr's socket options.