zephyr/subsys/net
Paul Sokolovsky 471afe5ddc net: sockets: Make NET_SOCKETS_POSIX_NAMES be on by default
Zephyr socket subsystem has come a long way since initial experimental
alternative to internal Zephyr networking API. Its configuration also
mirrors the usual conservative approach, where a user needs to
explicitly enable options to get "more" features. And as an
experimental API, socket subsystem was initially developed as
namespaced API, where all functions/structures are prefixed with
"zsock_", and to get standard names, CONFIG_NET_SOCKETS_POSIX_NAMES
needs to be set (or alternatively, CONFIG_POSIX_API needs to be, which
enabled full POSIX subsys overall).

However, a few years later, sockets are the standard networking API,
and in majority of cases its used under the standard POSIX names.
Necessity to explicitly set an option to achieve this effects, and
confusion which results from it - are just unneeded chores for users.

So, switch CONFIG_NET_SOCKETS_POSIX_NAMES to be on by default (unless
CONFIG_POSIX_API is already defined). It still can be explicitly
disabled if needed (but usecases for that would be peculiar and rare).

Addresses #34165

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2021-04-13 13:00:53 -04:00
..
ip net: capture: Catch sent and received packets 2021-04-02 07:24:06 -04:00
l2 net: openthread: add microseconds timer API 2021-04-12 17:01:14 +03:00
lib net: sockets: Make NET_SOCKETS_POSIX_NAMES be on by default 2021-04-13 13:00:53 -04:00
buf.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
CMakeLists.txt
hostname.c net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
Kconfig.hostname net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net