Beethoven.Ipv4 (Beethoven v0.3.7)
Module to handle scanning IPV4 addresses within a network.
Summary
Functions
Retrieves the hosts IP address. Pulls Network and Netmask from the config.
Same as get_host_network_addresses/0 but works off provided network and netmask.
Generates a list of hosts with the network and netmask provided
Gets the number of IPs within a netmask.
Increments IP by one host.
Functions
@spec get_host_network_addresses() :: list()
Retrieves the hosts IP address. Pulls Network and Netmask from the config.
@spec get_host_network_addresses( {integer(), integer(), integer(), integer()}, integer() ) :: list()
Same as get_host_network_addresses/0 but works off provided network and netmask.
Generates a list of hosts with the network and netmask provided
Gets the number of IPs within a netmask.
@spec increment_ip({integer(), integer(), integer(), integer()}) :: {integer(), integer(), integer(), integer()}
Increments IP by one host.