IP.Subnet.of

You're seeing just the function of, go back to IP.Subnet module for more information.

Specs

of(IP.v4(), 0..32) :: t(IP.v4())
of(IP.v6(), 0..128) :: t(IP.v6())

creates a corresponding IP subnet associated with a given IP address and bit length.