zephyr/include/misc
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
..
__assert.h
byteorder.h
dlist.h misra: Fixes for MISRA-C rule 8.2 2018-12-07 09:06:34 -05:00
errno_private.h
fdtable.h net: sockets: Rework poll to support ioctl helper commands 2018-12-10 11:38:13 +02:00
libc-hooks.h
list_gen.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
mempool_base.h
mempool.h
printk.h misra: Fixes for MISRA-C rule 8.2 2018-12-07 09:06:34 -05:00
rb.h
reboot.h
ring_buffer.h
sflist.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
slist.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
stack.h
util.h