Hello,
I am using function soo_read() in kernel thread:
struct uio my_uio;
...initializing my_uio
while(...) {
soo_recv(file_fd, NULL, &my_uio, NULL, 0);
...
}
I use it in a loop for receiving small messages.
How to reuse struct uio after soo_recv() to receive next data again on
the begin
> I am using function soo_read() in kernel thread:
> [...]
> I use it in a loop for receiving small messages.
> How to reuse struct uio after soo_recv() to receive next data again
> on the beginning of iovec.iov_base buffer ? (if possible)
> Reseting members: [uio_resid, uio_iov.iovec.iov_len, ui