Attributes
- Companion:
- class
- Source:
- Cidr.scala
- Graph
- Supertypes
- Self type
- Cidr.type
Members list
Value members
Concrete methods
Constructs a CIDR from the supplied IP address and prefix bit count. Note if prefixBits
is less than 0, the
built Cidr
will have prefixBits
set to 0. Similarly, if prefixBits
is greater than the bit length of the
address, it will be set to the bit length of the address.
Constructs a CIDR from the supplied IP address and prefix bit count. Note if prefixBits
is less than 0, the
built Cidr
will have prefixBits
set to 0. Similarly, if prefixBits
is greater than the bit length of the
address, it will be set to the bit length of the address.
Attributes
- Source:
- Cidr.scala
Constructs a CIDR from the supplied IP address and netmask. The number of leading 1 bits in the netmask are used as the prefix bits for the CIDR.
Constructs a CIDR from the supplied IP address and netmask. The number of leading 1 bits in the netmask are used as the prefix bits for the CIDR.
Attributes
- Source:
- Cidr.scala
Constructs a CIDR from a string of the form ip/prefixBits
.
Constructs a CIDR from a string of the form ipv4/prefixBits
.
Constructs a CIDR from a string of the form ipv6/prefixBits
.