priorization and bandwidth shaping The actual priorization or shaping happens at en- and dequeue time put the packets into the right (sub-)queue at enqueue time process them in the right order and timing at dequeue time can obviously only happen around the ifqueues