Searched refs:ai_protocol (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 55 ai, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in dump_addrinfo() 97 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
/Zephyr-latest/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-latest/tests/net/socket/getaddrinfo/src/ |
D | main.c | 302 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 311 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 321 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST() 352 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 383 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 415 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST() 618 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 633 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 648 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST() 662 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 101 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb() 210 res->ai_protocol = IPPROTO_UDP; in getaddrinfo_null_host() 213 res->ai_protocol = IPPROTO_TCP; in getaddrinfo_null_host() 399 res->ai_protocol = protocol; in try_resolve_literal_addr()
|
/Zephyr-latest/subsys/net/lib/sntp/ |
D | sntp_simple.c | 95 hints.ai_protocol = 0; in sntp_simple()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netdb_h.c | 47 zassert_not_equal(-1, offsetof(struct addrinfo, ai_protocol)); in ZTEST()
|
/Zephyr-latest/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-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 90 ai, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in dump_addrinfo() 271 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in download()
|
/Zephyr-latest/drivers/net/ |
D | nsos.h | 108 int ai_protocol; member
|
D | nsos_adapt.c | 981 ret = socket_proto_to_nsos_mid(res_p->ai_protocol, &wrap->addrinfo_mid.ai_protocol); in addrinfo_to_nsos_mid() 1044 ret = socket_proto_from_nsos_mid(hints_mid->ai_protocol, &hints.ai_protocol); in nsos_adapt_getaddrinfo()
|
D | nsos_sockets.c | 1468 wrap->addrinfo.ai_protocol = res_p->ai_protocol; in addrinfo_from_nsos_mid() 1506 hints_mid.ai_protocol = hints->ai_protocol; in nsos_getaddrinfo()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 281 int ai_protocol; /**< Protocol for addresses, 0 means any protocol */ member
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 430 .ai_protocol = 0, in resolve_broker_addr()
|
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 400 hints.ai_protocol = 0; in get_mqtt_broker_addrinfo()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 721 ai->ai_protocol = ai->ai_socktype == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP; in eswifi_off_getaddrinfo()
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_mqtt.c | 136 .ai_protocol = 0 }; in get_mqtt_broker_addrinfo()
|