MscmpSystNetwork.Protocol protocol (mscmp_syst_network v0.1.0)

Defines the MscmpSystNetwork Protocol which all network protocols must implement.

Many functions in MscmpSystNetwork require that this protocol be implemented to be useful.

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

get_host(addr_struct)

Link to this function

get_netmask(addr_struct)

Link to this function

get_network(addr_struct)

Link to this function

host?(addr_struct)

Link to this function

in_network?(test_addr, network_addr)

Link to this function

in_range?(test_addr, low_addr, high_addr)

Link to this function

network?(addr_struct)

Link to this function

to_string(addr_struct)