[syscalls] Add rx_buf_available to zx_info_socket
We currently report the total amount of data that clients can ever read out of the socket, but we need to know the amount of data that can be read out of the socket in one zx_socket_read call in order to replace the NULL/0 behavior from zx_socket_read. This CL adds rx_buf_available to zx_info_socket to contain that information. Test: socket_buffer_test Change-Id: Icb8f2bc314eed5d4afce6190fd11cc08ef6b9d00
Showing
- docs/syscalls/object_get_info.md 8 additions, 0 deletionsdocs/syscalls/object_get_info.md
- kernel/object/socket_dispatcher.cpp 1 addition, 0 deletionskernel/object/socket_dispatcher.cpp
- system/public/zircon/syscalls/object.h 8 additions, 0 deletionssystem/public/zircon/syscalls/object.h
- system/utest/property/property.c 29 additions, 0 deletionssystem/utest/property/property.c
Loading
Please register or sign in to comment