devela::_dep::rustix::net::sockopt

Function set_ip_drop_source_membership

pub fn set_ip_drop_source_membership<Fd>(
    fd: Fd,
    multiaddr: &Ipv4Addr,
    interface: &Ipv4Addr,
    sourceaddr: &Ipv4Addr,
) -> Result<(), Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

setsockopt(fd, IPPROTO_IP, IP_DROP_SOURCE_MEMBERSHIP, value)

See the module-level documentation for more.