/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | socket_offload.h | 31 const struct zsock_addrinfo *hints, 32 struct zsock_addrinfo **res); 34 void (*freeaddrinfo)(struct zsock_addrinfo *res); 47 const struct zsock_addrinfo *hints, 48 struct zsock_addrinfo **res); 50 void socket_offload_freeaddrinfo(struct zsock_addrinfo *res);
|
D | socketutils.h | 42 const struct zsock_addrinfo *hints, 43 struct zsock_addrinfo **res);
|
D | socket.h | 276 struct zsock_addrinfo { struct 277 struct zsock_addrinfo *ai_next; /**< Pointer to next address entry */ argument 749 const struct zsock_addrinfo *hints, 750 struct zsock_addrinfo *res); 790 const struct zsock_addrinfo *hints, 791 struct zsock_addrinfo **res); 805 void zsock_freeaddrinfo(struct zsock_addrinfo *ai); 995 const struct zsock_addrinfo *hints, in getaddrinfo() 996 struct zsock_addrinfo **res) in getaddrinfo() 1002 static inline void freeaddrinfo(struct zsock_addrinfo *ai) in freeaddrinfo() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 48 const struct zsock_addrinfo *hints; 54 struct zsock_addrinfo *ai_arr; 61 struct zsock_addrinfo *ai; in dns_resolve_cb() 182 static int getaddrinfo_null_host(int port, const struct zsock_addrinfo *hints, in getaddrinfo_null_host() 183 struct zsock_addrinfo *res) in getaddrinfo_null_host() 219 const struct zsock_addrinfo *hints, in z_impl_z_zsock_getaddrinfo_internal() 220 struct zsock_addrinfo *res) in z_impl_z_zsock_getaddrinfo_internal() 311 const struct zsock_addrinfo *hints, in z_vrfy_z_zsock_getaddrinfo_internal() 312 struct zsock_addrinfo *res) in z_vrfy_z_zsock_getaddrinfo_internal() 314 struct zsock_addrinfo hints_copy; in z_vrfy_z_zsock_getaddrinfo_internal() [all …]
|
D | socket_offload.c | 26 const struct zsock_addrinfo *hints, in socket_offload_getaddrinfo() 27 struct zsock_addrinfo **res) in socket_offload_getaddrinfo() 35 void socket_offload_freeaddrinfo(struct zsock_addrinfo *res) in socket_offload_freeaddrinfo()
|
/Zephyr-Core-3.7.0/include/zephyr/posix/ |
D | netdb.h | 60 #define addrinfo zsock_addrinfo 66 void freeaddrinfo(struct zsock_addrinfo *ai); 68 int getaddrinfo(const char *host, const char *service, const struct zsock_addrinfo *hints, 69 struct zsock_addrinfo **res);
|
/Zephyr-Core-3.7.0/subsys/net/lib/utils/ |
D | addr_utils.c | 34 const struct zsock_addrinfo *hints, in net_getaddrinfo_addr_str() 35 struct zsock_addrinfo **res) in net_getaddrinfo_addr_str()
|
/Zephyr-Core-3.7.0/tests/net/socket/getaddrinfo/src/ |
D | main.c | 228 struct zsock_addrinfo *res = NULL; in ZTEST() 252 struct zsock_addrinfo *res = NULL; in ZTEST() 272 struct zsock_addrinfo *res = NULL; in ZTEST() 286 struct zsock_addrinfo *res = NULL; in ZTEST() 290 struct zsock_addrinfo hints = { in ZTEST() 335 struct zsock_addrinfo *res = NULL; in ZTEST() 339 struct zsock_addrinfo hints = { in ZTEST() 545 struct zsock_addrinfo *res = NULL; in ZTEST() 546 struct zsock_addrinfo hints = { in ZTEST() 563 struct zsock_addrinfo *res = NULL; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/lib/sntp/ |
D | sntp_simple.c | 67 static struct zsock_addrinfo hints; in sntp_simple() 68 struct zsock_addrinfo *addr; in sntp_simple()
|
/Zephyr-Core-3.7.0/include/zephyr/shell/ |
D | shell_mqtt.h | 72 struct zsock_addrinfo *haddr;
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | net.c | 198 void freeaddrinfo(struct zsock_addrinfo *ai) in freeaddrinfo() 208 int getaddrinfo(const char *host, const char *service, const struct zsock_addrinfo *hints, in getaddrinfo() 209 struct zsock_addrinfo **res) in getaddrinfo()
|
/Zephyr-Core-3.7.0/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 664 const struct zsock_addrinfo *hints, in eswifi_off_getaddrinfo() 665 struct zsock_addrinfo **res) in eswifi_off_getaddrinfo() 668 struct zsock_addrinfo *ai; in eswifi_off_getaddrinfo() 703 *res = calloc(1, sizeof(struct zsock_addrinfo)); in eswifi_off_getaddrinfo() 741 static void eswifi_off_freeaddrinfo(struct zsock_addrinfo *res) in eswifi_off_freeaddrinfo()
|
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 995 struct zsock_addrinfo **res) in set_addr_info() 997 struct zsock_addrinfo *ai; in set_addr_info() 1001 ai = calloc(1, sizeof(struct zsock_addrinfo)); in set_addr_info() 1056 const struct zsock_addrinfo *hints, in simplelink_getaddrinfo() 1057 struct zsock_addrinfo **res) in simplelink_getaddrinfo() 1131 static void simplelink_freeaddrinfo(struct zsock_addrinfo *res) in simplelink_freeaddrinfo()
|
/Zephyr-Core-3.7.0/drivers/net/ |
D | nsos_sockets.c | 1350 struct zsock_addrinfo addrinfo; 1372 struct zsock_addrinfo **res) in addrinfo_from_nsos_mid() 1421 const struct zsock_addrinfo *hints, in nsos_getaddrinfo() 1422 struct zsock_addrinfo **res) in nsos_getaddrinfo() 1461 static void nsos_freeaddrinfo(struct zsock_addrinfo *res) in nsos_freeaddrinfo() 1466 for (struct zsock_addrinfo *res_p = res; res_p; res_p = res_p->ai_next) { in nsos_freeaddrinfo()
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | ublox-sara-r4.c | 167 static struct zsock_addrinfo result; 1970 const struct zsock_addrinfo *hints, in offload_getaddrinfo() 1971 struct zsock_addrinfo **res) in offload_getaddrinfo() 2031 *res = (struct zsock_addrinfo *)&result; in offload_getaddrinfo() 2035 static void offload_freeaddrinfo(struct zsock_addrinfo *res) in offload_freeaddrinfo()
|
D | simcom-sim7080.c | 24 static struct zsock_addrinfo dns_result; 686 const struct zsock_addrinfo *hints, struct zsock_addrinfo **res) in offload_getaddrinfo() 743 *res = (struct zsock_addrinfo *)&dns_result; in offload_getaddrinfo() 750 static void offload_freeaddrinfo(struct zsock_addrinfo *res) in offload_freeaddrinfo()
|
/Zephyr-Core-3.7.0/subsys/mgmt/updatehub/ |
D | updatehub.c | 170 struct zsock_addrinfo *addr; in start_coap_client() 171 struct zsock_addrinfo hints; in start_coap_client()
|
/Zephyr-Core-3.7.0/subsys/mgmt/hawkbit/ |
D | hawkbit.c | 347 struct zsock_addrinfo *addr; in start_http_client() 348 struct zsock_addrinfo hints = {0}; in start_http_client()
|
/Zephyr-Core-3.7.0/subsys/shell/backends/ |
D | shell_mqtt.c | 134 struct zsock_addrinfo hints = { .ai_family = AF_INET, in get_mqtt_broker_addrinfo()
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.c | 3234 struct zsock_addrinfo *res, hints = {0}; in lwm2m_parse_peerinfo()
|