rustix
0.38.42
In rustix::
backend::
net::
sockopt
Functions
duration_from_linux_old_timeval
duration_from_linux_sock_timeval
duration_to_linux_old_timeval
duration_to_linux_sock_timeval
duration_to_secs
from_bool
get_ip_freebind
get_ip_multicast_loop
get_ip_multicast_ttl
get_ip_original_dst
get_ip_recvtos
get_ip_tos
get_ip_ttl
get_ipv6_freebind
get_ipv6_multicast_hops
get_ipv6_multicast_loop
get_ipv6_original_dst
get_ipv6_recvtclass
get_ipv6_tclass
get_ipv6_unicast_hops
get_ipv6_v6only
get_socket_acceptconn
get_socket_broadcast
get_socket_cookie
get_socket_domain
get_socket_error
get_socket_incoming_cpu
get_socket_keepalive
get_socket_linger
get_socket_oobinline
get_socket_passcred
get_socket_peercred
get_socket_protocol
get_socket_recv_buffer_size
get_socket_reuseaddr
get_socket_reuseport
get_socket_send_buffer_size
get_socket_timeout
get_socket_timeout_old
get_socket_type
get_tcp_congestion
get_tcp_cork
get_tcp_keepcnt
get_tcp_keepidle
get_tcp_keepintvl
get_tcp_nodelay
get_tcp_quickack
get_tcp_thin_linear_timeouts
get_tcp_user_timeout
get_xdp_mmap_offsets
get_xdp_options
get_xdp_statistics
getsockopt
getsockopt_raw
set_ip_add_membership
set_ip_add_membership_with_ifindex
set_ip_add_source_membership
set_ip_drop_membership
set_ip_drop_membership_with_ifindex
set_ip_drop_source_membership
set_ip_freebind
set_ip_multicast_loop
set_ip_multicast_ttl
set_ip_recvtos
set_ip_tos
set_ip_ttl
set_ipv6_add_membership
set_ipv6_drop_membership
set_ipv6_freebind
set_ipv6_multicast_hops
set_ipv6_multicast_loop
set_ipv6_recvtclass
set_ipv6_tclass
set_ipv6_unicast_hops
set_ipv6_v6only
set_socket_broadcast
set_socket_incoming_cpu
set_socket_keepalive
set_socket_linger
set_socket_oobinline
set_socket_passcred
set_socket_recv_buffer_size
set_socket_recv_buffer_size_force
set_socket_reuseaddr
set_socket_reuseport
set_socket_send_buffer_size
set_socket_timeout
set_socket_timeout_old
set_tcp_congestion
set_tcp_cork
set_tcp_keepcnt
set_tcp_keepidle
set_tcp_keepintvl
set_tcp_nodelay
set_tcp_quickack
set_tcp_thin_linear_timeouts
set_tcp_user_timeout
set_xdp_rx_ring_size
set_xdp_tx_ring_size
set_xdp_umem_completion_ring_size
set_xdp_umem_fill_ring_size
set_xdp_umem_reg
setsockopt
setsockopt_raw
to_bool
to_imr_addr
to_imr_source
to_ip_mreq
to_ip_mreqn
to_ipv6mr
to_ipv6mr_interface
to_ipv6mr_multiaddr
rustix
::
backend
::
net
::
sockopt
Function
set_ip_tos
Copy item path
Settings
Help
Summary
source
pub(crate) fn set_ip_tos(fd:
BorrowedFd
<'_>, value:
u8
) ->
Result
<
()
>