#NEWLINE# def _prefix_from_ip_int( self , ip_int , mask = 32 ) : #NEWLINE# #INDENT# 'Return prefix length from the decimal netmask.\n\n        Args:\n            ip_int: An integer, the IP address.\n            mask: The netmask.  Defaults to 32.\n\n        Returns:\n            An integer, the prefix length.\n\n        ' #NEWLINE# return ( mask - _count_righthand_zero_bits ( mask , mask ) )