Lines Matching refs:mask_bits
315 def format_ip_with_mask(ip, mask_bits):316 masked_ip = ip_to_long(ip) & create_subnet_mask(mask_bits)317 return "%s/%s" % (long_to_ip(masked_ip), mask_bits)