Method lrs::socket::ip::Ipv6Addr::router_multicast

Creates the well-known "All routers" multicast address with a certain scope.

Syntax

impl Ipv6Addr {
    fn router_multicast(scope: Ipv6Scope) -> Ipv6Addr
}

Arguments

NameDescription
scope

The scope of the multicast address.

Remarks

The created address is ff0?::2 where ? depends on the scope.

Only the Interface, Link, and Site scopes are valid.