Link-state routing

In link-state routing every router floods the costs of its own links to all the others, so each one holds the whole map and runs Dijkstra's algorithm to find its shortest path to every destination, as OSPF does inside one network.

From Computer Networks and Security.