Net_MAC
This package validates and cleanly formats Media Access Control (MAC) addresses. The Net_MAC class can also import a list of MAC address vendors and store them in a database which the class can then use to identify vendors of any MAC address.
- Constants — Predefined Constants
- Net_MAC::check() — Validates Media Access Control (MAC) addresses
- Net_MAC::format() — Cleanly formats Media Access Control (MAC) addresses
- Net_MAC::__construct() — Constructor
- setMAC() — Sets the MAC address in the object
- importVendors() — Import a manufacturers' file to the database or to an array
- findVendor() — Finds the vendor of the MAC address stored in the object
- Net_MAC_Exception — Exception class for Net_MAC package