Various types of nodes like relay, proxy, redirect, translator use diameter protocol. Functionality of each node is different. As far as Relay node is concerned, it receives a diameter packet and looks into the information like Diameter-Host and Diameter-Realm and based on this information it can change value of these two AVPs to forward to correct destination. Other than these two AVPs, nothing is changed in a diameter message.