Moodle  2.2.1
http://www.collinsharper.com
SimplePie_Net_IPv6 Class Reference

Static Public Member Functions

static removeNetmaskSpec ($ip)
static Uncompress ($ip)
static SplitV64 ($ip)
static checkIPv6 ($ip)

Detailed Description

Definition at line 11856 of file simplepie.class.php.


Member Function Documentation

static checkIPv6 ( ip) [static]

Checks an IPv6 address

Checks if the given IP is IPv6-compatible

public

Parameters:
string$ipa valid IPv6-address
Returns:
bool true if $ip is an IPv6 address

Definition at line 12007 of file simplepie.class.php.

Here is the call graph for this function:

static removeNetmaskSpec ( ip) [static]

Removes a possible existing netmask specification of an IP address.

Parameters:
string$ipthe (compressed) IP as Hex representation
Returns:
string the IP the without netmask
Since:
1.1.0 public

Definition at line 11867 of file simplepie.class.php.

Here is the caller graph for this function:

static SplitV64 ( ip) [static]

Splits an IPv6 address into the IPv6 and a possible IPv4 part

RFC 2373 allows you to note the last two parts of an IPv6 address as an IPv4 compatible address

Example: 0:0:0:0:0:0:13.1.68.3 0:0:0:0:0:FFFF:129.144.52.38

public

Parameters:
string$ipa valid IPv6-address (hex format)
Returns:
array [0] contains the IPv6 part, [1] the IPv4 part (hex format)

Definition at line 11981 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static Uncompress ( ip) [static]

Uncompresses an IPv6 address

RFC 2373 allows you to compress zeros in an address to '::'. This function expects an valid IPv6 address and expands the '::' to the required zeros.

Example: FF01::101 -> FF01:0:0:0:0:0:0:101 ::1 -> 0:0:0:0:0:0:0:1

public

Parameters:
string$ipa valid IPv6-address (hex format)
Returns:
string the uncompressed IPv6-address (hex format)

Definition at line 11895 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations