zephyr/subsys/net
Stig Bjørlykke 0f71a130ef net: sockets: getaddrinfo: Minor refactoring
Minor refactoring in getaddrinfo() to make the code easier to
read and to make handling IPv4 and IPv6 support more equal.

- Move common wait and error handling code to exec_query()
- Use the same check for CONFIG_NET_IPV4 and CONFIG_NET_IPV6
- Add extra sanity check for family before exec_query()
- Do not set errno when return DNS_EAI_ADDRFAMILY

Fix issue with setting port number for all DNS servers.

Signed-off-by: Stig Bjørlykke <stig.bjorlykke@nordicsemi.no>
2023-02-21 15:02:35 +01:00
..
ip net: icmpv6: Implement IPv6 RA Recursive DNS Server option 2023-02-21 10:59:18 +01:00
l2 net: wifi_mgmt: Display TWT setup response status 2023-02-21 10:58:40 +01:00
lib net: sockets: getaddrinfo: Minor refactoring 2023-02-21 15:02:35 +01:00
pkt_filter
buf.c net: buf: Simplify fragment handling 2022-12-06 11:06:43 +02:00
CMakeLists.txt
hostname.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
Kconfig Kconfig: net: Remove deprecated NET_BUF_USER_DATA_LEN 2022-12-01 15:50:35 +01:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net