next up previous contents index
Next: 9.2.3 Policy Up: 9.2 Implementation Previous: 9.2.1 RED queue in   Contents   Index


9.2.2 Edge and core routers

The DiffServ edge and core routers are defined in class edgeQueue and class coreQueue, which are derived from class dsREDQueue, see dsEdge, dsCore.{h,cc}.

Packet marking is implemented in class edgeQueue. A packet is marked with a code point according to the policy specified before it is put into the corresponding physical and virtual queue. Class edgeQueue has a reference to an instance of class PolicyClassifier, which contains policies for packet marking.



2008-05-16