4. Address

Address manipulation routines

4.1. Authors

  • Michal Svec <msvec@suse.cz>

4.2. Summary of Module Globals

List of Global Functions

  • Check - Check syntax of a network address (IP address or hostname)

  • Check4 - Check syntax of a network address (ip4 or name)

  • Check6 - Check syntax of a network address (ip6 or name)

  • CheckMAC - Check syntax of MAC address

  • Valid4 - Return a description of a valid address (ip4 or name)

  • ValidMAC - Describe a valid MAC address

List of Global Variables

    4.3. Global Functions

    4.3.1. Check

    Check syntax of a network address (IP address or hostname)

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    4.3.2. Check4

    Check syntax of a network address (ip4 or name)

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    4.3.3. Check6

    Check syntax of a network address (ip6 or name)

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    4.3.4. CheckMAC

    Check syntax of MAC address

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    4.3.5. Valid4

    Return a description of a valid address (ip4 or name)

    Return value

    • string - description

    4.3.6. ValidMAC

    Describe a valid MAC address

    Return value

    • string - description of a valid MAC address

    4.4. Global Variables

    4.5. Module Requirements

    4.5.1. Module Imports

    • Hostname
    • IP

    4.5.2. Module Includes