IPv6 Address Functions for PHP
Functions to manipulate IPv6 addresses for PHP
Copyright (C) 2009 Ray Patrick Soucy
LICENSE:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Compress an IPv6 Address
This will take an IPv6 address and rewrite it in short form.
Expand an IPv6 Address
This will take an IPv6 address written in short form and expand it to include all zeros.
Generate an IPv6 mask from prefix notation
This will convert a prefix to an IPv6 address mask (used for IPv6 math)
Convert an IPv6 address to two 64-bit integers.
This will translate an IPv6 address into two 64-bit integer values for storage in an SQL database.
Convert an IPv6 address and prefix size to an address range for the network.
This will take an IPv6 address and prefix and return the first and last address available for the network.
Convert two 64-bit integer values into an IPv6 address
This will translate an array of 64-bit integer values back into an IPv6 address
Documentation generated on Sat, 28 Mar 2009 00:37:05 -0400 by phpDocumentor 1.4.2