At the transmitting node, data to be transmitted is passed down the layers of the protocol stack, from highest to lowest.
At the receiving node, the data is passed up the layers, from lowest to highest.