Searched refs:network_handle (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/ |
A D | aos_port.c | 367 res = _core_sysdep_network_connect(network_handle->host, network_handle->port, in _core_sysdep_network_tcp_establish() 371 res = _core_sysdep_network_connect(network_handle->backup_ip, network_handle->port, in _core_sysdep_network_tcp_establish() 410 network_handle->fd = sockfd; in _core_sysdep_network_udp_server_establish() 490 res = _core_sysdep_network_connect(network_handle->host, network_handle->port, in _core_sysdep_network_mbedtls_establish() 493 res = _core_sysdep_network_connect(network_handle->host, network_handle->port, in _core_sysdep_network_mbedtls_establish() 500 res = _core_sysdep_network_connect(network_handle->host, network_handle->port, in _core_sysdep_network_mbedtls_establish() 503 res = _core_sysdep_network_connect(network_handle->host, network_handle->port, in _core_sysdep_network_mbedtls_establish() 589 res = mbedtls_ssl_setup(&network_handle->mbedtls.ssl_ctx, &network_handle->mbedtls.ssl_config); in _core_sysdep_network_mbedtls_establish() 596 res = mbedtls_ssl_set_hostname(&network_handle->mbedtls.ssl_ctx, network_handle->host); in _core_sysdep_network_mbedtls_establish() 1107 close(network_handle->fd); in _core_sysdep_network_tcp_disconnect() [all …]
|
/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_http.c | 40 if (http_handle->network_handle != NULL) { in _core_http_connect() 41 http_handle->sysdep->core_sysdep_network_deinit(&http_handle->network_handle); in _core_http_connect() 51 http_handle->network_handle = http_handle->sysdep->core_sysdep_network_init(); in _core_http_connect() 52 if (http_handle->network_handle == NULL) { in _core_http_connect() 65 http_handle->sysdep->core_sysdep_network_deinit(&http_handle->network_handle); in _core_http_connect() 80 http_handle->sysdep->core_sysdep_network_deinit(&http_handle->network_handle); in _core_http_connect() 91 if (http_handle->network_handle != NULL) { in _core_http_send() 327 if (http_handle->network_handle == NULL) { in core_http_send() 418 if (http_handle->network_handle != NULL) { in _core_http_recv() 579 if (http_handle->network_handle == NULL) { in core_http_recv() [all …]
|
A D | core_http.h | 37 void *network_handle; member
|
A D | core_mqtt.h | 222 void *network_handle; member
|
/AliOS-Things-master/components/linksdk/core/ |
A D | aiot_mqtt_api.c | 1072 if (mqtt_handle->network_handle != NULL) { in _core_mqtt_read() 1090 if (mqtt_handle->network_handle != NULL) { in _core_mqtt_write() 1190 if (mqtt_handle->network_handle != NULL) { in _core_mqtt_connect() 1197 if (mqtt_handle->network_handle == NULL) { in _core_mqtt_connect() 1722 if (mqtt_handle->network_handle != NULL) { in _core_mqtt_reconnect() 2196 if (mqtt_handle->network_handle != NULL) { in _core_mqtt_server_disconnect_handler() 2615 if (mqtt_handle->network_handle != NULL) { in aiot_mqtt_deinit() 2763 if (mqtt_handle->network_handle != NULL) { in aiot_mqtt_disconnect() 3214 if (mqtt_handle->network_handle != NULL) { in aiot_mqtt_disconnect_with_prop() 3500 if (mqtt_handle->network_handle == NULL) { in aiot_mqtt_recv() [all …]
|
A D | aiot_http_api.c | 362 if (http_handle->network_handle == NULL || in aiot_http_auth() 363 (http_handle->network_handle != NULL && http_handle->long_connection == 0)) { in aiot_http_auth() 411 if (http_handle->network_handle == NULL || in aiot_http_send() 412 (http_handle->network_handle != NULL && http_handle->long_connection == 0)) { in aiot_http_send() 465 if (http_handle->network_handle == NULL) { in aiot_http_recv()
|
Completed in 32 milliseconds