ip v0.1.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

Functions

Return the scope of `address``

Link to this section Functions

Link to this function address_scope(address)
address_scope(IP.Address.t) :: binary

Return the scope of `address`` ## Examples iex> IP.Address.from_string!(“192.0.2.0”) …> |> IP.Scope.address_scope() “DOCUMENTATION” iex> IP.Address.from_string!(“2001:db8::”) …> |> IP.Scope.address_scope() “DOCUMENTATION”