Home
last modified time | relevance | path

Searched refs:ai_addrlen (Results 1 – 18 of 18) sorted by relevance

/Zephyr-Core-3.4.0/subsys/net/lib/sntp/
Dsntp_simple.c34 res = sntp_init(&sntp_ctx, addr->ai_addr, addr->ai_addrlen); in sntp_simple()
/Zephyr-Core-3.4.0/subsys/net/lib/sockets/
Dgetaddrinfo.c37 (addrinfo)->ai_addrlen = sizeof(*(sockaddr)); \
85 memcpy(&ai->_ai_addr, &info->ai_addr, info->ai_addrlen); in dns_resolve_cb()
88 ai->ai_addrlen = info->ai_addrlen; in dns_resolve_cb()
/Zephyr-Core-3.4.0/tests/posix/headers/src/
Dnetdb_h.c48 zassert_not_equal(-1, offsetof(struct addrinfo, ai_addrlen)); in ZTEST()
/Zephyr-Core-3.4.0/samples/net/sockets/http_get/src/
Dhttp_get.c109 CHECK(connect(sock, res->ai_addr, res->ai_addrlen)); in main()
/Zephyr-Core-3.4.0/include/zephyr/net/
Ddns_resolve.h92 socklen_t ai_addrlen; member
Dsocket.h193 socklen_t ai_addrlen; member
/Zephyr-Core-3.4.0/samples/net/cloud/tagoio_http_post/src/
Dsockets.c86 if (connect(ctx->sock, addr->ai_addr, addr->ai_addrlen) < 0) { in tagoio_connect()
/Zephyr-Core-3.4.0/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp161 static_cast<int>(trybind->ai_addrlen))) { in listen()
DTSSLSocket.cpp198 ret = connect(socket_, res->ai_addr, static_cast<int>(res->ai_addrlen)); in openSecConnection()
263 setCachedAddress(res->ai_addr, static_cast<socklen_t>(res->ai_addrlen)); in openSecConnection()
/Zephyr-Core-3.4.0/subsys/net/lib/dns/
Dresolve.c590 info.ai_addrlen = sizeof(struct sockaddr_in); in dns_validate_msg()
610 info.ai_addrlen = sizeof(struct sockaddr_in6); in dns_validate_msg()
1153 info.ai_addrlen = sizeof(struct sockaddr_in); in dns_resolve_name()
1170 info.ai_addrlen = sizeof(struct sockaddr_in6); in dns_resolve_name()
/Zephyr-Core-3.4.0/samples/net/sockets/big_http_download/src/
Dbig_http_download.c293 CHECK(connect(sock, ai->ai_addr, ai->ai_addrlen)); in download()
/Zephyr-Core-3.4.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c451 memcpy(broker, ai->ai_addr, MIN(ai->ai_addrlen, sizeof(struct sockaddr_storage))); in resolve_broker_addr()
/Zephyr-Core-3.4.0/drivers/wifi/simplelink/
Dsimplelink_sockets.c1030 ai->ai_addrlen = sizeof(struct sockaddr_in); in set_addr_info()
1045 ai->ai_addrlen = sizeof(struct sockaddr_in6); in set_addr_info()
/Zephyr-Core-3.4.0/drivers/wifi/eswifi/
Deswifi_socket_offload.c732 ai->ai_addrlen = sizeof(*ai_addr); in eswifi_off_getaddrinfo()
/Zephyr-Core-3.4.0/subsys/mgmt/updatehub/
Dupdatehub.c230 if (connect(ctx.sock, addr->ai_addr, addr->ai_addrlen) < 0) { in start_coap_client()
/Zephyr-Core-3.4.0/subsys/mgmt/hawkbit/
Dhawkbit.c263 if (connect(hb_context.sock, addr->ai_addr, addr->ai_addrlen) < 0) { in start_http_client()
/Zephyr-Core-3.4.0/drivers/modem/
Dublox-sara-r4.c1983 result.ai_addrlen = sizeof(result_addr); in offload_getaddrinfo()
Dsimcom-sim7080.c707 dns_result.ai_addrlen = sizeof(dns_result_addr); in offload_getaddrinfo()