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.