ip v0.2.0 IP.Scope
Implements scope lookup for all (currently) known scopes.
Please open a pull-request if this needs changing.
Link to this section Summary
Link to this section Functions
Return the scope of address
Examples
iex> ~i(192.0.2.0)
...> |> IP.Scope.address_scope()
"DOCUMENTATION"
iex> ~i(2001:db8::)
...> |> IP.Scope.address_scope()
"DOCUMENTATION"