zephyr/subsys/net/lib
Seppo Takalo f684b7c6cd net: getaddrinfo: Fix getaddrinfo() to respect socket type hints
If getaddrinfo() was called with AI_PASSIVE flag in hints,
returned address defaulted to SOCK_STREAM and IPPROTO_TCP.
Fixed so that SOCK_DGRAM leads to correct address type
that can be fed to bind() directly.

Same hard coding was visible when numerical IPv4 address string
was converted to binary. That is also fixed to respect hints now.

Also, added functionality to get IPv6 address, when hints contained
AF_INET6.

Fixes #30686

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2020-12-15 19:22:50 +02:00
..
coap net: coap: Use MQTT style wildcard in path description: 2020-08-26 12:31:00 +02:00
config net: config: Fix improper condition in net_config_init 2020-10-22 12:33:12 +03:00
conn_mgr net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
dns net: dns: enable dns service discovery for mdns responder 2020-11-09 16:15:02 -08:00
http net: lib: http: chunked encoding body support 2020-10-12 13:58:19 +03:00
lwm2m net: lwm2m: Added execute arguments support 2020-12-13 15:39:08 -05:00
mqtt net: mqtt: Return -1 if keepalive messages are disabled. 2020-12-08 14:08:36 -05:00
openthread net: openthread: Add option to enable software CSMA backoff 2020-12-10 12:58:07 +01:00
sntp net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
sockets net: getaddrinfo: Fix getaddrinfo() to respect socket type hints 2020-12-15 19:22:50 +02:00
socks cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
tftp zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tls_credentials device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
utils
websocket net: websocket: Fix websocket loop close call 2020-10-12 13:57:07 +03:00
CMakeLists.txt net: openthread: Align Kconfig with cmake symbols 2020-08-18 15:57:14 +03:00
Kconfig net: tftp: Adding support for TFTP Client. 2020-04-30 14:19:46 +03:00