Home
last modified time | relevance | path

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

/plugin/ipban/ip-lib/src/Range/
H A DSubnet.php38 protected $networkPrefix; variable in IPLib\\Range\\Subnet
59 * @param int $networkPrefix
67 $this->networkPrefix = $networkPrefix;
86 $networkPrefix = (int) $parts[1];
87 if ($networkPrefix >= 0) {
92 $numSameBytes = $networkPrefix >> 3;
105 $networkPrefix
291 return $this->networkPrefix;
302 $networkPrefix = $this->getNetworkPrefix();
305 … return $networkPrefix % 8 === 0 ? new Pattern($address, $address, 4 - $networkPrefix / 8) : null;
[all …]