FusionInventory::Agent::Tools::Network - Network-related patterns and functions
This module provides some network-related patterns and functions.
This pattern matches a MAC address in canonical form (aa:bb:cc:dd:ee:ff).
This pattern matches an IP address in canonical form (xyz.xyz.xyz.xyz).
This pattern matches a MAC address in alternative form (aabbccddeeff).
This pattern matches an IP address in hexadecimal form (aabbccdd).
Convert an ip address from hexadecimal to canonical form.
Convert a mac address from alternative to canonical form.
Returns the subnet address for IPv4.
Returns the subnet address for IPv6.
Returns the network mask for IPv4.
Returns the network mask for IPv6.