Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions include/nsysnet/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,23 @@
extern "C" {
#endif

typedef enum
{
//! Prevents closing nsysnet sockets during socketclose_all
//! Note: No-op if security level is prod
SOLIB_OPT_AVOID_CLOSE_ALL = 0x3000,
} SOLIBOpt;
WUT_CHECK_SIZE(SOLIBOpt, 4);

int
set_multicast_state(BOOL multicastEnable);

int
socketclose_all(void);

int
setsocklibopt(SOLIBOpt opt, uint32_t value);

#ifdef __cplusplus
}
#endif
Expand Down
Loading