/Zephyr-latest/tests/posix/headers/src/ |
D | netdb_h.c | 44 zassert_not_equal(-1, offsetof(struct addrinfo, ai_flags)); in ZTEST() 45 zassert_not_equal(-1, offsetof(struct addrinfo, ai_family)); in ZTEST() 46 zassert_not_equal(-1, offsetof(struct addrinfo, ai_socktype)); in ZTEST() 47 zassert_not_equal(-1, offsetof(struct addrinfo, ai_protocol)); in ZTEST() 48 zassert_not_equal(-1, offsetof(struct addrinfo, ai_addrlen)); in ZTEST() 49 zassert_not_equal(-1, offsetof(struct addrinfo, ai_addr)); in ZTEST() 50 zassert_not_equal(-1, offsetof(struct addrinfo, ai_canonname)); in ZTEST() 51 zassert_not_equal(-1, offsetof(struct addrinfo, ai_next)); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_cache.c | 25 int dns_cache_add(struct dns_cache *cache, char const *query, struct dns_addrinfo const *addrinfo, in dns_cache_add() argument 32 if (cache == NULL || query == NULL || addrinfo == NULL || ttl == 0) { in dns_cache_add() 66 cache->entries[index_to_replace].data = *addrinfo; in dns_cache_add() 100 int dns_cache_find(struct dns_cache const *cache, const char *query, struct dns_addrinfo *addrinfo, in dns_cache_find() argument 106 if (cache == NULL || query == NULL || addrinfo == NULL || addrinfo_array_len <= 0) { in dns_cache_find() 131 addrinfo[found] = cache->entries[i].data; in dns_cache_find()
|
D | dns_cache.h | 71 int dns_cache_add(struct dns_cache *cache, char const *query, struct dns_addrinfo const *addrinfo, 97 int dns_cache_find(struct dns_cache const *cache, const char *query, struct dns_addrinfo *addrinfo,
|
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 51 void dump_addrinfo(const struct addrinfo *ai) in dump_addrinfo() 62 static struct addrinfo hints; in main() 63 struct addrinfo *res; in main()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 35 #define INIT_ADDRINFO(addrinfo, sockaddr) { \ argument 36 (addrinfo)->ai_addr = &(addrinfo)->_ai_addr; \ 37 (addrinfo)->ai_addrlen = sizeof(*(sockaddr)); \ 38 (addrinfo)->ai_canonname = (addrinfo)->_ai_canonname; \ 39 (addrinfo)->_ai_canonname[0] = '\0'; \ 40 (addrinfo)->ai_next = NULL; \
|
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/ |
D | sockets.c | 37 struct addrinfo *addr; in tagoio_connect() 38 struct addrinfo hints; in tagoio_connect()
|
/Zephyr-latest/drivers/net/ |
D | nsos_sockets.c | 1419 struct zsock_addrinfo addrinfo; member 1465 wrap->addrinfo.ai_flags = res_p->ai_flags; in addrinfo_from_nsos_mid() 1466 wrap->addrinfo.ai_family = res_p->ai_family; in addrinfo_from_nsos_mid() 1467 wrap->addrinfo.ai_socktype = res_p->ai_socktype; in addrinfo_from_nsos_mid() 1468 wrap->addrinfo.ai_protocol = res_p->ai_protocol; in addrinfo_from_nsos_mid() 1470 wrap->addrinfo.ai_addr = in addrinfo_from_nsos_mid() 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() 1477 wrap->addrinfo.ai_canonname = in addrinfo_from_nsos_mid() 1479 wrap->addrinfo.ai_next = &wrap[1].addrinfo; in addrinfo_from_nsos_mid() [all …]
|
D | nsos_adapt.c | 940 struct addrinfo *addrinfo; member 943 static int addrinfo_to_nsos_mid(struct addrinfo *res, in addrinfo_to_nsos_mid() 951 for (struct addrinfo *res_p = res; res_p; res_p = res_p->ai_next) { in addrinfo_to_nsos_mid() 964 for (struct addrinfo *res_p = res; res_p; res_p = res_p->ai_next, idx_res++) { in addrinfo_to_nsos_mid() 967 wrap->addrinfo = res_p; in addrinfo_to_nsos_mid() 1025 struct addrinfo hints; in nsos_adapt_getaddrinfo() 1026 struct addrinfo *res = NULL; in nsos_adapt_getaddrinfo() 1076 freeaddrinfo(wrap->addrinfo); in nsos_adapt_freeaddrinfo()
|
/Zephyr-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 86 void dump_addrinfo(const struct addrinfo *ai) in dump_addrinfo() 253 bool download(struct addrinfo *ai, bool is_tls, bool *redirect) in download() 366 static struct addrinfo hints; in main() 367 struct addrinfo *res; in main()
|
/Zephyr-latest/samples/net/tftp_client/src/ |
D | tftp-client.c | 40 struct addrinfo *res, hints = {0}; in tftp_init()
|
/Zephyr-latest/include/zephyr/posix/ |
D | netdb.h | 60 #define addrinfo zsock_addrinfo macro
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 425 struct addrinfo *ai = NULL; in resolve_broker_addr() 427 const struct addrinfo hints = { in resolve_broker_addr()
|
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 54 static struct addrinfo hints; 55 static struct addrinfo *haddr;
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/ |
D | mqtt_client.c | 440 struct addrinfo *result; in app_mqtt_init() 441 const struct addrinfo hints = { in app_mqtt_init()
|
/Zephyr-latest/modules/thrift/src/thrift/transport/ |
D | TSSLSocket.h | 182 void openSecConnection(struct addrinfo *res);
|
D | TSSLSocket.cpp | 109 void TSSLSocket::openSecConnection(struct addrinfo *res) in openSecConnection() 285 struct addrinfo hints, *res, *res0; in open()
|
/Zephyr-latest/tests/net/lib/dns_resolve/src/ |
D | main.c | 70 static struct dns_addrinfo addrinfo; variable 167 &addrinfo, in sender_iface()
|