Copyright © 2013-2021 Michael Truog
Version: 2.0.3 Oct 26 2023 12:17:28 ------------------------------------------------------------------------
Authors: Michael Truog (mjtruog at protonmail dot com).
cidr_string() = [48..57 | 46 | 97..102 | 58 | 47, ...]
format_binary() = <<_:8, _:_*8>>
IPv4 dotted decimal address (no octal or hex) IPv6 lowercase hex with colons
format_string() = [48..57 | 46 | 97..102 | 58 | 37, ...]
from_binary/1 |
Parse a binary string representation.. |
from_string/1 |
Parse a binary string representation.. |
patterns/1 |
Create service name pattern strings that represent a CIDR (Classless Inter-Domain Routing) notation string.Usage of the resulting patterns requires at least 1 suffix letter in the service name pattern string created with each pattern (i.e., each pattern wouldn't be used as a suffix). |
to_binary/1 |
Create a binary string representation.IPv6 doesn't shorten a group of zeroes so more exact pattern matches are possible in service names. |
to_string/1 |
Create a list string representation.IPv6 doesn't shorten a group of zeroes so more exact pattern matches are possible in service names. |
from_binary(BinaryIP::format_binary()) -> inet:ip_address()
from_string(StringIP::format_string()) -> inet:ip_address()
patterns(CIDR::cidr_string()) -> [cloudi:service_name_pattern(), ...]
to_binary(IP::inet:ip_address()) -> format_binary()
to_string(X1::inet:ip_address()) -> format_string()
Generated by EDoc