def _get_ipv6_info(cls, ip_address: str) -> tuple:
        '''Extract the flow info and control id.'''
        results = socket.getaddrinfo(
            ip_address, 0, proto=socket.IPPROTO_TCP,
            flags=socket.AI_NUMERICHOST)

        flow_info = results[0][4][2]
        control_id = results[0][4][3]

        return flow_info, control_id
Extract the flow info and control id.