Skip to content

Commit

Permalink
[nrf noup] include: net: align RAI socket options
Browse files Browse the repository at this point in the history
squash! [nrf noup] include: net: add NCS extensions

This commit aligns some RAI related socket options with modemlib's.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
  • Loading branch information
MirkoCovizzi authored and carlescufi committed Aug 2, 2022
1 parent 8e88358 commit c5689f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/zephyr/net/socket_ncs.h
Expand Up @@ -56,13 +56,13 @@ extern "C" {
/** sockopt: disable IPv6 ICMP replies */
#define SO_IPV6_ECHO_REPLY 32
/** sockopt: Release Assistance Indication feature: This will indicate that the
* next call to send/sendto will be the last one for some time.
* application will not send any more data.
*/
#define SO_RAI_LAST 50
#define SO_RAI_NO_DATA 50
/** sockopt: Release Assistance Indication feature: This will indicate that the
* application will not send any more data.
* next call to send/sendto will be the last one for some time.
*/
#define SO_RAI_NO_DATA 51
#define SO_RAI_LAST 51
/** sockopt: Release Assistance Indication feature: This will indicate that
* after the next call to send/sendto, the application is expecting to receive
* one more data packet before this socket will not be used again for some time.
Expand Down

0 comments on commit c5689f8

Please sign in to comment.