pub fn set_ip_drop_membership_with_ifindex<Fd: AsFd>(
fd: Fd,
multiaddr: &Ipv4Addr,
address: &Ipv4Addr,
ifindex: i32,
) -> Result<()>
Expand description
setsockopt(fd, IPPROTO_IP, IP_DROP_MEMBERSHIP, multiaddr, interface)
This is similar to set_ip_drop_membership_with_ifindex
but additionally
allows a ifindex
value to be given.
See the module-level documentation for more.