zephyr/subsys/net/lib
Florian Grandel c57650c403 net: context: clean up net_context_get()
* reduced cyclomatic complexity
* group validation by family to make the validation easier to understand
and extend
* change preprocessor markup where possible to allow for complete code
elimination when features (esp. IP) are disabled
* renamed net_context_get/set_ip_proto() to net_context_get_proto()

While the latter is formally part of the public API and might therefore
have to be deprecated rather than renamed, it is considered internal API
by the net developers, see
https://github.com/zephyrproject-rtos/zephyr/pull/48751#discussion_r942402612

Signed-off-by: Florian Grandel <jerico.dev@gmail.com>
2022-09-05 14:35:17 +00:00
..
capture includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
coap net: lib: coap: coap_packet_parse() returns different error values 2022-09-02 11:02:38 +00:00
config includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
conn_mgr subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dns includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
http all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
lwm2m net: lwm2m: thread safety in the rd client 2022-08-31 10:42:02 +02:00
mqtt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sntp subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00
socks includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tftp includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tls_credentials include: fix files using legacy include paths 2022-08-31 06:49:00 -04:00
utils subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
websocket net: websocket: Allow building with POSIX API 2022-06-05 14:48:52 +02:00
zperf includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
CMakeLists.txt net: zperf: Extract zperf into library 2022-08-10 11:15:21 +02:00
Kconfig net: zperf: Extract zperf into library 2022-08-10 11:15:21 +02:00