/Zephyr-latest/samples/net/cellular_modem/src/ |
D | main.c | 130 int sample_echo_packet(struct sockaddr *ai_addr, socklen_t ai_addrlen, uint16_t *port) in sample_echo_packet() argument 165 ai_addr, ai_addrlen); in sample_echo_packet() 217 int sample_transmit_packets(struct sockaddr *ai_addr, socklen_t ai_addrlen, uint16_t *port) in sample_transmit_packets() argument 243 ai_addr, ai_addrlen); in sample_transmit_packets() 347 sample_test_dns_addrinfo.ai_addrlen, port); in main() 355 sample_test_dns_addrinfo.ai_addrlen, port); in main() 384 sample_test_dns_addrinfo.ai_addrlen, port); in main()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 37 (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-latest/subsys/net/lib/sntp/ |
D | sntp_simple.c | 105 res = sntp_simple_helper(addr->ai_addr, addr->ai_addrlen, timeout, ts); in sntp_simple()
|
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 113 CHECK(connect(sock, res->ai_addr, res->ai_addrlen)); in main()
|
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/ |
D | sockets.c | 86 if (connect(ctx->sock, addr->ai_addr, addr->ai_addrlen) < 0) { in tagoio_connect()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netdb_h.c | 48 zassert_not_equal(-1, offsetof(struct addrinfo, ai_addrlen)); in ZTEST()
|
/Zephyr-latest/drivers/net/ |
D | nsos.h | 109 size_t ai_addrlen; member
|
D | nsos_adapt.c | 988 wrap->addrinfo_mid.ai_addrlen = sizeof(wrap->addr_storage); in addrinfo_to_nsos_mid() 990 ret = sockaddr_to_nsos_mid(res_p->ai_addr, res_p->ai_addrlen, in addrinfo_to_nsos_mid() 992 &wrap->addrinfo_mid.ai_addrlen); in addrinfo_to_nsos_mid()
|
D | nsos_sockets.c | 1472 wrap->addrinfo.ai_addrlen = sizeof(wrap->addr_storage); in addrinfo_from_nsos_mid() 1474 sockaddr_from_nsos_mid(wrap->addrinfo.ai_addr, &wrap->addrinfo.ai_addrlen, in addrinfo_from_nsos_mid() 1475 res_p->ai_addr, res_p->ai_addrlen); in addrinfo_from_nsos_mid()
|
/Zephyr-latest/include/zephyr/net/ |
D | dns_resolve.h | 255 socklen_t ai_addrlen; member
|
D | socket.h | 283 socklen_t ai_addrlen; /**< Length of the socket address */ member
|
/Zephyr-latest/modules/thrift/src/thrift/transport/ |
D | TSSLServerSocket.cpp | 161 static_cast<int>(trybind->ai_addrlen))) { in listen()
|
D | TSSLSocket.cpp | 198 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-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 298 CHECK(connect(sock, ai->ai_addr, ai->ai_addrlen)); in download()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | resolve.c | 873 info.ai_addrlen = sizeof(struct sockaddr_in); in dns_validate_msg() 893 info.ai_addrlen = sizeof(struct sockaddr_in6); in dns_validate_msg() 1384 info.ai_addrlen = sizeof(struct sockaddr_in); in dns_resolve_name() 1401 info.ai_addrlen = sizeof(struct sockaddr_in6); in dns_resolve_name()
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 439 memcpy(broker, ai->ai_addr, MIN(ai->ai_addrlen, sizeof(struct sockaddr_storage))); in resolve_broker_addr()
|
/Zephyr-latest/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 1030 ai->ai_addrlen = sizeof(struct sockaddr_in); in set_addr_info() 1045 ai->ai_addrlen = sizeof(struct sockaddr_in6); in set_addr_info()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 733 ai->ai_addrlen = sizeof(*ai_addr); in eswifi_off_getaddrinfo()
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub.c | 230 if (zsock_connect(ctx.sock, addr->ai_addr, addr->ai_addrlen) < 0) { in start_coap_client()
|
/Zephyr-latest/subsys/mgmt/hawkbit/ |
D | hawkbit.c | 472 if (zsock_connect(*hb_sock, addr->ai_addr, addr->ai_addrlen) < 0) { in start_http_client()
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 1987 result.ai_addrlen = sizeof(result_addr); in offload_getaddrinfo()
|
D | simcom-sim7080.c | 707 dns_result.ai_addrlen = sizeof(dns_result_addr); in offload_getaddrinfo()
|