It is disclosed a method comprising prioritizing a plurality of queuing
entities with respect to each other, receiving a data stream consisting
of a plurality of data packets, marking each of the plurality of data
packets with one out of a plurality of identifiers based on a
predetermined requirement, the plurality of identifiers corresponding to
the plurality of queuing entities, enforcing each one of the plurality of
data packets based on the respective identifier, comprising detecting the
identifier in each one of the plurality of marked data packets, and
queuing, responsive to the detecting, the data packets into one of the
plurality of prioritized queuing entities, scheduling, in each of the
plurality of prioritized queuing entities, the respective queued data
packets, and transmitting the scheduled data packets in each of the
plurality of prioritized queuing entities according to the priority of
the respective queuing entity.