zephyr/subsys/net/lib/sockets
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
..
CMakeLists.txt net: socket: packet: using pckt sckt for passing the PPP dialup data 2021-04-01 09:43:56 +03:00
getaddrinfo.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
getnameinfo.c subsys: Replace printf by printk when applicable 2020-05-09 21:25:33 +02:00
Kconfig net: sockets: Make NET_SOCKETS_POSIX_NAMES be on by default 2021-04-13 13:00:53 -04:00
socket_offload.c
socketpair.c net: socketpair: Check NULL value 2020-08-14 09:47:51 -07:00
sockets_can.c net: socket send timeout option 2021-02-24 14:16:33 +02:00
sockets_internal.h net: sockets: Provide close method for packet sockets 2021-03-15 15:17:52 +02:00
sockets_misc.c
sockets_net_mgmt.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sockets_packet.c net: socket: packet: using pckt sckt for passing the PPP dialup data 2021-04-01 09:43:56 +03:00
sockets_select.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sockets_tls.c net: socket: dtls: add sockopt to set & get dtls handshake timeout 2021-04-01 20:02:59 +03:00
sockets.c net: socket: Implement SO_BINDTODEVICE socket option 2021-04-02 07:23:17 -04:00