Expand description
linux_raw syscalls supporting rustix::net::sockopt
.
§Safety
See the rustix::backend
module documentation for details.
Functions§
- Like
duration_from_linux
but uses Linux’s old 32-bit__kernel_old_timeval
. - Convert a
__linux_sock_timeval
to a RustOption<Duration>
. - Like
duration_to_linux
but uses Linux’s old 32-bit__kernel_old_timeval
. - Convert a Rust
Option<Duration>
to a__kernel_sock_timeval
. - Convert to seconds, rounding up if necessary.
- Same as
get_socket_timeout
but uses__kernel_old_timeval
instead of__kernel_sock_timeval
and_OLD
constants instead of_NEW
. - Same as
set_socket_timeout
but uses__kernel_old_timeval
instead of__kernel_sock_timeval
and_OLD
constants instead of_NEW
. - to_bool 🔒