zephyr/subsys/net/lib
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
..
capture net: capture: Add support for network packet capturing 2021-04-02 07:24:06 -04:00
coap net: coap: acknowledgement initialization helper 2021-02-15 10:17:11 +02:00
config net: config: Try to only use auto started interface 2021-03-29 07:40:24 -04:00
conn_mgr kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
dns drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
http coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
lwm2m net: lwm2m: Allow cancel-observe to match path 2021-04-01 09:42:56 +03:00
mqtt net: mqtt: log struct mqtt_utf8 with hexdump 2021-03-05 12:49:22 +02:00
openthread net: openthread: add microseconds timer API 2021-04-12 17:01:14 +03:00
sntp net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
sockets net: sockets: Make NET_SOCKETS_POSIX_NAMES be on by default 2021-04-13 13:00:53 -04:00
socks cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
tftp
tls_credentials device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
utils
websocket kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
CMakeLists.txt net: capture: Add support for network packet capturing 2021-04-02 07:24:06 -04:00
Kconfig net: capture: Add support for network packet capturing 2021-04-02 07:24:06 -04:00