Searched refs:p_options (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_DTLS_mbedtls.c | 242 coap_dtls_options_t *p_options) in _DTLSContext_setup() argument 259 DTLS_TRC("mbedtls_ssl_set_hostname %s\r\n", p_options->p_host); in _DTLSContext_setup() 260 mbedtls_ssl_set_hostname(&p_dtls_session->context, p_options->p_host); in _DTLSContext_setup() 376 DTLSContext *HAL_DTLSSession_create(coap_dtls_options_t *p_options) in HAL_DTLSSession_create() argument 431 p_dtls_session, p_options->p_ca_cert_pem, p_options->p_host); in HAL_DTLSSession_create() 437 sprintf(port, "%u", p_options->port); in HAL_DTLSSession_create() 438 result = mbedtls_net_connect(&p_dtls_session->fd, p_options->p_host, in HAL_DTLSSession_create() 460 result = _DTLSContext_setup(p_dtls_session, p_options); in HAL_DTLSSession_create()
|
/AliOS-Things-master/components/linkkit/wrappers/platform/ssl/ |
A D | HAL_DTLS_mbedtls.c | 278 coap_dtls_options_t *p_options) in _DTLSContext_setup() argument 295 DTLS_TRC("mbedtls_ssl_set_hostname %s\r\n", p_options->p_host); in _DTLSContext_setup() 296 mbedtls_ssl_set_hostname(&p_dtls_session->context, p_options->p_host); in _DTLSContext_setup() 394 DTLSContext *HAL_DTLSSession_create(coap_dtls_options_t *p_options) in HAL_DTLSSession_create() argument 435 _DTLSVerifyOptions_set(p_dtls_session, p_options->p_ca_cert_pem); in HAL_DTLSSession_create() 441 sprintf(port, "%u", p_options->port); in HAL_DTLSSession_create() 442 result = _net_connect(&p_dtls_session->fd, p_options->p_host, port, in HAL_DTLSSession_create() 464 result = _DTLSContext_setup(p_dtls_session, p_options); in HAL_DTLSSession_create()
|
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/ |
A D | wrappers_dtls.h | 7 DTLSContext *HAL_DTLSSession_create(coap_dtls_options_t *p_options);
|
Completed in 10 milliseconds