zephyr/subsys
Christopher Friedt 4a095bb34b net: sockets: support fionbio and fionread
The `ioctl()` interface is already supported by the network
subsystem but there was no `zsock_` interface available for it.

Add the `zsock_ioctl()` syscall.

Implement two somewhat commont ioctl requests for socket
file descriptors; namely

- `FIONBIO` set non-blocking I/O mode
- `FIONREAD` get the number of available bytes

In the process, added `net_pkt_ip_proto_hdr_len()`

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-08-22 09:59:44 +02:00
..
bluetooth
canbus
console
debug
demand_paging
dfu
disk
dsp
emul
fb
fs
input
ipc
jwt
logging
lorawan
mgmt
modbus
net net: sockets: support fionbio and fionread 2023-08-22 09:59:44 +02:00
pm
portability
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
task_wdt
testsuite
timing
tracing
usb
zbus
CMakeLists.txt
Kconfig