Home
last modified time | relevance | path

Searched refs:zsock_addrinfo (Results 1 – 20 of 20) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/net/
Dsocket_offload.h31 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);
Dsocketutils.h42 const struct zsock_addrinfo *hints,
43 struct zsock_addrinfo **res);
Dsocket.h276 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/
Dgetaddrinfo.c48 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 …]
Dsocket_offload.c26 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/
Dnetdb.h60 #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/
Daddr_utils.c34 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/
Dmain.c228 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/
Dsntp_simple.c67 static struct zsock_addrinfo hints; in sntp_simple()
68 struct zsock_addrinfo *addr; in sntp_simple()
/Zephyr-Core-3.7.0/include/zephyr/shell/
Dshell_mqtt.h72 struct zsock_addrinfo *haddr;
/Zephyr-Core-3.7.0/lib/posix/options/
Dnet.c198 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/
Deswifi_socket_offload.c664 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/
Dsimplelink_sockets.c995 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/
Dnsos_sockets.c1350 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/
Dublox-sara-r4.c167 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()
Dsimcom-sim7080.c24 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/
Dupdatehub.c170 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/
Dhawkbit.c347 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/
Dshell_mqtt.c134 struct zsock_addrinfo hints = { .ai_family = AF_INET, in get_mqtt_broker_addrinfo()
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c3234 struct zsock_addrinfo *res, hints = {0}; in lwm2m_parse_peerinfo()