Monday, March 19, 2012

[ns] Fwd: Implementing Round Robin Scheduler

Dear all,

I wanted to implement a Round Robin packet scheduler just following the
process in the book Introduction to Network Simulator ns2 from Ekran
Hossain:

According to the process I have created the following *.cc and *.h files:

*//classifier-flow.h*

#ifndef ns_gw_flow_classifier_h
#define ns_gw_flow_classifier_h

#include "packet.h"
#include "ip.h"
#include "classifier.h"

class FlowClassifier : public Classifier {
protected:
int classify(Packet *p);
};

2 comments:

  1. Hi, can you help me a bout the same problem

    ReplyDelete

Counter

blogger analytics