public function getNmask($cdr_nmask) { $bin_nmask = SubnetCalculator::cdrtobin($cdr_nmask); return SubnetCalculator::bintodq($bin_nmask); }