openHiTLS API openHiTLS 0.1.0-Alpha1
|
◆ BSL_UIO_Ctrl()
Process specific UIO implementations by cmd
set the peer IP address in the UIO object The address format is a binary address in network byte order, with a length of 4 or 16 bytes. A generated cookie will be provided for use by the HelloVerifyRequest for dtls.
Obtain the peer IP address from the UIO object The obtained address is in the network byte order binary address format. The input length must be greater than the configured size. The purpose is to provide a generated cookie for use by the HelloVerifyRequest of the dtls.
Obtain the stream ID sent by the SCTP from the UIO object. This API needs to be called by users in BSL_UIO_Method.write and send SCTP messages based on the obtained stream ID
Set the stream ID of the app message sent by the SCTP in the UIO object. If a service message needs to be processed by a specific stream ID, this interface can be called.
|