docs: def _get_binary_from_ipv4(self, ip_addr):
          """Converts IPv4 address to binary form."""
  
          return struct.unpack("!L", socket.inet_pton(socket.AF_INET,
                                                      ip_addr))[0]