zephyr/subsys/net/lib
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
..
capture includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
coap net: coap: Allow insertion of an option at arbitrary position 2023-02-06 10:02:19 +01:00
config net: config: Unify the init behaviour when timeout is enabled and not 2023-02-08 11:26:42 +01:00
conn_mgr all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
dns crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
http net: http: Use poll for http timeout instead of shutdown 2023-01-24 14:50:11 +01:00
lwm2m net: lwm2m: Add event LWM2M_RD_CLIENT_EVENT_REG_UPDATE 2023-02-19 20:44:02 -05:00
mqtt net: sockets: Fix TLS_HOSTNAME option length inconsistency 2023-01-27 19:23:36 +09:00
mqtt_sn net: sockets: fix fcntl.h usage 2023-02-08 19:04:25 +09:00
sntp net: lib: sntp: add support for unspecified IP-family type 2023-01-03 11:03:25 +01:00
sockets net: sockets: getaddrinfo: Minor refactoring 2023-02-21 15:02:35 +01:00
socks includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tftp lib: tftp_client: Add TFTP PUT function 2023-02-20 09:50:23 +01:00
tls_credentials include: fix files using legacy include paths 2022-08-31 06:49:00 -04:00
utils
websocket net: websockets: Fix websocket close procedure 2023-02-03 10:37:57 -08:00
zperf net: lib: zperf: Add support to disable Nagle's algorithm 2023-02-20 09:53:43 +01:00
CMakeLists.txt net: mqtt-sn: Add MQTT-SN library 2022-11-09 10:43:00 +01:00
Kconfig net: mqtt-sn: Add MQTT-SN library 2022-11-09 10:43:00 +01:00