int sm_dtlstx_config_notify(struct sm_dtlstx_config_notify_parms *configp)
typedef struct sm_dtlstx_config_notify_parms { tSMDTLStxId dtlstx; /* in */ tSM_UT32 packet_length; /* in */ tSM_INT no_capacity_event; /* in */ } SM_DTLSTX_CONFIG_NOTIFY_PARMS;
Configures when a DTLS[tx] reports capacity for another packet to be queued. It also configures whether the event should be set when there is capacity for another packet.
When
no_capacity_event
is zero, the event is set when
sm_dtlstx_status()
will report kSMDTLStxStatusHasCapacity
. If it
is non-zero, the event will not be set unless a different status
will be reported.
kSMDTLStxStatusHasCapacity
.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody DTLS processing API.