Skip to content

Commit 0c8d621

Browse files
lemreymbolivar-nordic
authored andcommitted
[nrf noup] net: socket: add SO_PDN_STATE socket option
Add SO_PDN_STATE option for PDN sockets to retrieve the state of the PDN connection. Signed-off-by: Emanuele Di Santo <[email protected]> (cherry picked from commit 57bca6d) Signed-off-by: Martí Bolívar <[email protected]>
1 parent 2af0180 commit 0c8d621

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/net/socket.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ struct ifreq {
795795
/* Socket options for SOL_PDN level */
796796
#define SO_PDN_AF 1
797797
#define SO_PDN_CONTEXT_ID 2
798+
#define SO_PDN_STATE 3
798799

799800
/* Protocol level for DFU. */
800801
#define SOL_DFU 515

0 commit comments

Comments
 (0)