The Reference Implementation Model for Routers is depicted in the following figure below:

Based on the above diagram it can be said that IP forwarding is completely based on a Quality of Service notion. The router function that creates different qualities of service is called 'traffic control' which is implemented by three components viz. the Packet Scheduler, the Classifier and Admission Control.