zephyr/subsys/net/lib
Robert Lubos ee0b61fff8 net: sockets: Rework poll to support ioctl helper commands
This commit reworks socket poll implementation to support multiple
socket implementations.

To achieve that, two ioctl poll helper requests were added:
ZFD_IOCTL_POLL_PREPARE and ZFD_IOCTL_POLL_UPDATE. The poll
implementation calls ioctl with these requests for each socket
requested in the fds table.

The first request is responsible for preparing k_poll_event objects
for specific socket. It can request to skip waiting in k_poll by
returning EALREADY through errno.

The latter request is responsible for processing outcome of k_poll for
each socket. It can request to retry the k_poll by returning EAGAIN
through errno.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2018-12-10 11:38:13 +02:00
..
app net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
coap net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
config net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
dns net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
http net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
lwm2m misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
mqtt net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
mqtt_sock net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
openthread shell: printing command's help by shell engine 2018-12-05 15:15:44 +01:00
sntp net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
sockets net: sockets: Rework poll to support ioctl helper commands 2018-12-10 11:38:13 +02:00
tls_credentials drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
websocket net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
CMakeLists.txt net: coap: Move both CoAP implementations into one Kconfig 2018-11-22 09:08:46 -05:00
Kconfig net: coap: Move both CoAP implementations into one Kconfig 2018-11-22 09:08:46 -05:00