Function set_ip_multicast_if_with_ifindex

Source
pub fn set_ip_multicast_if_with_ifindex<Fd: AsFd>(
    fd: Fd,
    multiaddr: &Ipv4Addr,
    address: &Ipv4Addr,
    ifindex: u32,
) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_IP, IP_MULTICAST_IF, multiaddr, address, ifindex)

This is similar to set_ip_multicast_if but additionally allows an ifindex value to be given.

See the module-level documentation for more.