Home
last modified time | relevance | path

Searched refs:IPLib (Results 1 – 14 of 14) sorted by relevance

/plugin/ipban/ip-lib/
H A DREADME.md7 # IPLib - Handle IPv4, IPv6 and IP ranges
55 $address = \IPLib\Address\IPv6::fromString('::1');
61 $address = \IPLib\Factory::addressFromString('::1');
69 $address = \IPLib\Factory::addressFromString('::1');
90 $range = \IPLib\Range\Pattern::fromString('::*');
97 $range = \IPLib\Range\Single::fromString('::1');
105 $range = \IPLib\Factory::rangeFromString('::');
200 $typeName = \IPLib\Range\Type::getName();
217 // $type is \IPLib\Range\Type::T_PUBLIC
218 echo \IPLib\Range\Type::getName($type);
[all …]
/plugin/ipban/ip-lib/src/Range/
H A DSingle.php3 namespace IPLib\Range;
5 use IPLib\Address\AddressInterface;
6 use IPLib\Address\IPv4;
7 use IPLib\Address\Type as AddressType;
8 use IPLib\Factory;
H A DPattern.php3 namespace IPLib\Range;
5 use IPLib\Address\AddressInterface;
6 use IPLib\Address\IPv4;
7 use IPLib\Address\IPv6;
8 use IPLib\Address\Type as AddressType;
9 use IPLib\Factory;
119 case $this->fromAddress instanceof \IPLib\Address\IPv4:
125 case $this->fromAddress instanceof \IPLib\Address\IPv6:
H A DSubnet.php3 namespace IPLib\Range;
5 use IPLib\Address\AddressInterface;
6 use IPLib\Address\IPv4;
7 use IPLib\Address\IPv6;
8 use IPLib\Address\Type as AddressType;
9 use IPLib\Factory;
H A DRangeInterface.php3 namespace IPLib\Range;
5 use IPLib\Address\AddressInterface;
H A DType.php3 namespace IPLib\Range;
/plugin/ipban/ip-lib/src/Address/
H A DAddressInterface.php3 namespace IPLib\Address;
5 use IPLib\Range\RangeInterface;
H A DIPv4.php3 namespace IPLib\Address;
5 use IPLib\Range\RangeInterface;
6 use IPLib\Range\Subnet;
7 use IPLib\Range\Type as RangeType;
H A DAssignedRange.php3 namespace IPLib\Address;
5 use IPLib\Range\RangeInterface;
H A DIPv6.php3 namespace IPLib\Address;
5 use IPLib\Range\RangeInterface;
6 use IPLib\Range\Subnet;
7 use IPLib\Range\Type as RangeType;
H A DType.php3 namespace IPLib\Address;
/plugin/ipban/
H A Daction.php71 $ip = \IPLib\Factory::addressFromString($client);
74 $ipRange = \IPLib\Factory::rangeFromString($range);
H A Dadmin.php31 $range = \IPLib\Factory::rangeFromString($ip);
/plugin/ipban/ip-lib/src/
H A DFactory.php3 namespace IPLib; namespace
5 use IPLib\Address\AddressInterface;