@classmethod<EOL><INDENT>def _ip_int_from_prefix(cls, prefixlen):<DEDENT>
return cls._ALL_ONES ^ (cls._ALL_ONES >> prefixlen)<EOL>
Turn the prefix length into a bitwise netmask

        Args:
            prefixlen: An integer, the prefix length.

        Returns:
            An integer.