rustix::net::sockopt

Function set_ip_tos

source
pub fn set_ip_tos<Fd: AsFd>(fd: Fd, value: u8) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_IP, IP_TOS, value)

See the module-level documentation for more.