/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 51 void dump_addrinfo(const struct addrinfo *ai) in dump_addrinfo() argument 55 ai, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in dump_addrinfo() 56 ai->ai_addr->sa_family, in dump_addrinfo() 57 ((struct sockaddr_in *)ai->ai_addr)->sin_port); in dump_addrinfo()
|
/Zephyr-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 86 void dump_addrinfo(const struct addrinfo *ai) in dump_addrinfo() argument 90 ai, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in dump_addrinfo() 91 ai->ai_addr->sa_family, in dump_addrinfo() 92 ((struct sockaddr_in *)ai->ai_addr)->sin_port); in dump_addrinfo() 253 bool download(struct addrinfo *ai, bool is_tls, bool *redirect) in download() argument 265 sock = socket(ai->ai_family, ai->ai_socktype, IPPROTO_TLS_1_2); in download() 271 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in download() 298 CHECK(connect(sock, ai->ai_addr, ai->ai_addrlen)); in download()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 61 struct zsock_addrinfo *ai; in dns_resolve_cb() local 80 ai = &state->ai_arr[state->idx]; in dns_resolve_cb() 82 state->ai_arr[state->idx - 1].ai_next = ai; in dns_resolve_cb() 85 memcpy(&ai->_ai_addr, &info->ai_addr, info->ai_addrlen); in dns_resolve_cb() 86 net_sin(&ai->_ai_addr)->sin_port = state->port; in dns_resolve_cb() 87 ai->ai_addr = &ai->_ai_addr; in dns_resolve_cb() 88 ai->ai_addrlen = info->ai_addrlen; in dns_resolve_cb() 89 memcpy(&ai->_ai_canonname, &info->ai_canonname, in dns_resolve_cb() 90 sizeof(ai->_ai_canonname)); in dns_resolve_cb() 91 ai->ai_canonname = ai->_ai_canonname; in dns_resolve_cb() [all …]
|
/Zephyr-latest/boards/common/ |
D | ecpprog.board.cmake | 1 # Copyright (c) 2024 tinyVision.ai Inc.
|
/Zephyr-latest/samples/boards/nxp/mimxrt1060_evk/system_off/ |
D | Kconfig | 1 # Copyright (c) 2022, Whisper.ai
|
/Zephyr-latest/boards/nxp/mimxrt1060_evk/ |
D | mimxrt1060_evk_mimxrt1062_B_defconfig | 2 # Copyright (c) 2022, Whisper.ai
|
D | mimxrt1060_evk_mimxrt1062_qspi_B.overlay | 2 * Copyright (c) 2022, Whisper.ai
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 669 struct zsock_addrinfo *ai; in eswifi_off_getaddrinfo() local 705 ai = *res; in eswifi_off_getaddrinfo() 706 if (!ai) { in eswifi_off_getaddrinfo() 719 ai->ai_family = AF_INET; in eswifi_off_getaddrinfo() 720 ai->ai_socktype = hints ? hints->ai_socktype : SOCK_STREAM; in eswifi_off_getaddrinfo() 721 ai->ai_protocol = ai->ai_socktype == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP; in eswifi_off_getaddrinfo() 723 ai_addr->sin_family = ai->ai_family; in eswifi_off_getaddrinfo() 733 ai->ai_addrlen = sizeof(*ai_addr); in eswifi_off_getaddrinfo() 734 ai->ai_addr = (struct sockaddr *)ai_addr; in eswifi_off_getaddrinfo()
|
/Zephyr-latest/soc/st/stm32/stm32h7x/ |
D | Kconfig.defconfig.stm32h753xx | 3 # Copyright (c) 2020 Petri Oksanen <petri@iote.ai>
|
/Zephyr-latest/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 997 struct zsock_addrinfo *ai; in set_addr_info() local 1001 ai = calloc(1, sizeof(struct zsock_addrinfo)); in set_addr_info() 1002 if (!ai) { in set_addr_info() 1010 free(ai); in set_addr_info() 1016 ai->ai_family = (sl_ai->ai_family == SL_AF_INET6 ? AF_INET6 : AF_INET); in set_addr_info() 1017 ai->ai_socktype = (sl_ai->ai_socktype == SLNETSOCK_SOCK_DGRAM ? in set_addr_info() 1019 ai->ai_protocol = (sl_ai->ai_protocol == SLNETSOCK_PROTO_UDP ? in set_addr_info() 1023 if (ai->ai_family == AF_INET) { in set_addr_info() 1027 net_sin(ai_addr)->sin_family = ai->ai_family; in set_addr_info() 1030 ai->ai_addrlen = sizeof(struct sockaddr_in); in set_addr_info() [all …]
|
/Zephyr-latest/dts/arm/st/h7/ |
D | stm32h753.dtsi | 2 * Copyright (c) 2020 Petri Oksanen <petri@iote.ai>
|
D | stm32h753Xi.dtsi | 2 * Copyright (c) 2020 Petri Oksanen <petri@iote.ai>
|
/Zephyr-latest/drivers/video/ |
D | Kconfig.emul_rx | 1 # Copyright (c) 2024 tinyVision.ai Inc.
|
D | Kconfig.emul_imager | 1 # Copyright (c) 2024 tinyVision.ai Inc.
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 425 struct addrinfo *ai = NULL; in resolve_broker_addr() local 435 ret = getaddrinfo(CONFIG_AWS_ENDPOINT, port_string, &hints, &ai); in resolve_broker_addr() 439 memcpy(broker, ai->ai_addr, MIN(ai->ai_addrlen, sizeof(struct sockaddr_storage))); in resolve_broker_addr() 447 freeaddrinfo(ai); in resolve_broker_addr()
|
/Zephyr-latest/tests/drivers/video/api/ |
D | app.overlay | 2 * Copyright (c) 2024 tinyVision.ai Inc.
|
/Zephyr-latest/include/zephyr/posix/ |
D | netdb.h | 66 void freeaddrinfo(struct zsock_addrinfo *ai);
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 198 void freeaddrinfo(struct zsock_addrinfo *ai) in freeaddrinfo() argument 200 zsock_freeaddrinfo(ai); in freeaddrinfo()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 756 void zsock_freeaddrinfo(struct zsock_addrinfo *ai);
|
/Zephyr-latest/boards/beagle/beaglebone_ai64/doc/ |
D | index.rst | 120 * `BeagleBone AI-64 Homepage <https://www.beagleboard.org/boards/beaglebone-ai-64>`_
|
/Zephyr-latest/boards/infineon/cy8ckit_062s2_ai/doc/ |
D | index.rst | 164 https://www.infineon.com/cms/en/product/evaluation-boards/cy8ckit-062s2-ai/?redirId=273839
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.1.rst | 793 …\_getaddrinfo() returns garbage values if IPv4 address is passed and hints->ai\_family == AF\_INET6
|