Home
last modified time | relevance | path

Searched refs:ai_protocol (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.5.0/samples/net/sockets/http_get/src/
Dhttp_get.c53 ai, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in dump_addrinfo()
93 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
/Zephyr-Core-3.5.0/samples/net/cloud/tagoio_http_post/src/
Dsockets.c47 hints.ai_protocol = IPPROTO_TCP; in tagoio_connect()
76 hints.ai_protocol); in tagoio_connect()
/Zephyr-Core-3.5.0/tests/net/socket/getaddrinfo/src/
Dmain.c298 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
307 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
317 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST()
348 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
379 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
411 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST()
614 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
629 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
644 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST()
658 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST()
/Zephyr-Core-3.5.0/subsys/net/lib/sntp/
Dsntp_simple.c22 hints.ai_protocol = 0; in sntp_simple()
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
Dgetaddrinfo.c101 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb()
175 res->ai_protocol = IPPROTO_UDP; in getaddrinfo_null_host()
178 res->ai_protocol = IPPROTO_TCP; in getaddrinfo_null_host()
364 res->ai_protocol = protocol; in try_resolve_literal_addr()
/Zephyr-Core-3.5.0/tests/posix/headers/src/
Dnetdb_h.c47 zassert_not_equal(-1, offsetof(struct addrinfo, ai_protocol)); in ZTEST()
/Zephyr-Core-3.5.0/drivers/wifi/simplelink/
Dsimplelink_sockets.c1019 ai->ai_protocol = (sl_ai->ai_protocol == SLNETSOCK_PROTO_UDP ? in set_addr_info()
1094 if (hints->ai_protocol == 0) { in simplelink_getaddrinfo()
1095 sl_hints.ai_protocol = 0; in simplelink_getaddrinfo()
1097 sl_hints.ai_protocol = in simplelink_getaddrinfo()
1098 (hints->ai_protocol == IPPROTO_UDP ? in simplelink_getaddrinfo()
/Zephyr-Core-3.5.0/samples/net/sockets/big_http_download/src/
Dbig_http_download.c88 ai, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in dump_addrinfo()
269 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in download()
/Zephyr-Core-3.5.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c444 .ai_protocol = 0, in resolve_broker_addr()
/Zephyr-Core-3.5.0/samples/net/cloud/mqtt_azure/src/
Dmain.c399 hints.ai_protocol = 0; in get_mqtt_broker_addrinfo()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dsocket.h238 int ai_protocol; member
/Zephyr-Core-3.5.0/drivers/wifi/eswifi/
Deswifi_socket_offload.c720 ai->ai_protocol = ai->ai_socktype == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP; in eswifi_off_getaddrinfo()
/Zephyr-Core-3.5.0/subsys/shell/backends/
Dshell_mqtt.c136 .ai_protocol = 0 }; in get_mqtt_broker_addrinfo()