Network-layer view of Cooperation