ns-allinone-2.35/ns-2.35/diffserv/dsEdge.cc
void edgeQueue::enque(Packet* pkt) {

	// Mark the packet with the specified priority:
	//printf("before ,mark\n");
	policy.mark(pkt);
	//	printf("after ,mark\n");
	dsREDQueue::enque(pkt);
}
/*------------------------------------------------------------------------------
void enque(Packet* pkt) 
Post: The incoming packet pointed to by pkt is marked with an appropriate code
  point (as handled by the marking method) and enqueued in the physical and 
  virtual queue corresponding to that code point (as specified in the PHB 
  Table).
Uses: Methods Policy::mark(), lookupPHBTable(), and redQueue::enque(). 
------------------------------------------------------------------------------*/
void enque(Packet* pkt)
Post: The incoming packet pointed to by pkt is marked with an appropriate code
point (as handled by the marking method) and enqueued in the physical and
virtual queue corresponding to that code point (as specified in the PHB
Table).
void enque ( Packet * pkt ) Post : The incoming packet pointed to by pkt is marked with an appropriate code point ( as handled by the marking method ) and enqueued in the physical and virtual queue corresponding to that code point ( as specified in the PHB Table ) .
void edgeQueue::enque(Packet* pkt) {
	policy.mark(pkt);
	dsREDQueue::enque(pkt);
}
void edgeQueue :: enque ( Packet * pkt ) { policy . mark ( pkt ) ; dsREDQueue :: enque ( pkt ) ; }
void enque(Packet* pkt)
Post: The incoming packet pointed to by pkt is marked with an appropriate code
point (as handled by the marking method) and enqueued in the physical and
virtual queue corresponding to that code point (as specified in the PHB
Table).
void enque ( Packet * pkt ) Post : The incoming packet pointed to by pkt is marked with an appropriate code point ( as handled by the marking method ) and enqueued in the physical and virtual queue corresponding to that code point ( as specified in the PHB Table ) .
// Mark the packet with the specified priority: //printf("before ,mark\n"); //	printf("after ,mark\n");