zephyr/subsys/net/lib/sockets
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
..
CMakeLists.txt net: socket: Add option to create native TLS sock with offloaded TCP 2022-04-20 11:27:05 +02:00
getaddrinfo.c net: introduce NET_IP config to efficiently mark conditional code 2022-09-05 14:35:17 +00:00
getnameinfo.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
Kconfig net: lib: sockets: improve scalability through a hidden var 2022-09-05 14:35:17 +00:00
socket_dispatcher.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
socket_offload.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
socketpair.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_can.c net: context: properly namespace can-related methods 2022-09-05 14:35:17 +00:00
sockets_internal.h net: sockets: tls: prevent sending fragmented datagrams with sendmsg() 2022-05-25 14:20:09 +02:00
sockets_misc.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_net_mgmt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_packet.c net: core: clean up inbound packet handling 2022-09-05 14:35:17 +00:00
sockets_select.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_tls.c modules: mbedtls: set mbedTLS debug threshold during module initialization 2022-08-17 12:03:52 +02:00
sockets.c net: context: clean up net_context_get() 2022-09-05 14:35:17 +00:00