net: sockets: Extend ioctl poll protocol with offloading feature

Allow to use offloaded `poll` implementation via the existing ioctl poll
control mechanism.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
Robert Lubos 2020-01-14 13:59:12 +01:00 committed by Anas Nashif
commit 561973060e
2 changed files with 13 additions and 2 deletions

View file

@ -140,6 +140,7 @@ enum {
ZFD_IOCTL_LSEEK,
ZFD_IOCTL_POLL_PREPARE,
ZFD_IOCTL_POLL_UPDATE,
ZFD_IOCTL_POLL_OFFLOAD,
ZFD_IOCTL_GETSOCKNAME,
};