Mammalian SCAN domain dimer is a domain-swapped homolog of the HIV capsid C-terminal domain.