zephyr/subsys/net
Christian Taedcke 6a1c2304c4 net: context: Remove redunant check of automatically selected port
In the function find_available_port() a port is randomly selected. Because
the random value is always >= 0x8000, it is redundant to check if it is
<= 1023 afterwards.

This commit removes the redundant check.

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2022-09-09 14:12:57 +00:00
..
ip net: context: Remove redunant check of automatically selected port 2022-09-09 14:12:57 +00:00
l2 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lib net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
pkt_filter subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
buf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt
hostname.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
Kconfig net: introduce NET_IP config to efficiently mark conditional code 2022-09-05 14:35:17 +00:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net