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