Searched refs:ai_protocol (Results 1 – 13 of 13) sorted by relevance
/Zephyr-Core-3.5.0/samples/net/sockets/http_get/src/ |
D | http_get.c | 53 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/ |
D | sockets.c | 47 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/ |
D | main.c | 298 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/ |
D | sntp_simple.c | 22 hints.ai_protocol = 0; in sntp_simple()
|
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 101 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/ |
D | netdb_h.c | 47 zassert_not_equal(-1, offsetof(struct addrinfo, ai_protocol)); in ZTEST()
|
/Zephyr-Core-3.5.0/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 1019 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/ |
D | big_http_download.c | 88 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/ |
D | main.c | 444 .ai_protocol = 0, in resolve_broker_addr()
|
/Zephyr-Core-3.5.0/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 399 hints.ai_protocol = 0; in get_mqtt_broker_addrinfo()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | socket.h | 238 int ai_protocol; member
|
/Zephyr-Core-3.5.0/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 720 ai->ai_protocol = ai->ai_socktype == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP; in eswifi_off_getaddrinfo()
|
/Zephyr-Core-3.5.0/subsys/shell/backends/ |
D | shell_mqtt.c | 136 .ai_protocol = 0 }; in get_mqtt_broker_addrinfo()
|