[ns] Classification decision and node id

Teerawat Issariyakul teerawat at ece.ubc.ca
Mon Mar 2 07:29:34 PST 2009


Dear Thanes,

You may find the answer about classifier at
http://t-issariyakul.blogspot.com/

For more information about Classifiers, see Chapter 6 in the following
book from Springer:

T. Issaraiyakul and E. Hossain, "Introduction to Network Simulator
NS2", Springer 2008.
http://www.springer.com/engineering/signals/book/978-0-387-71759-3

You may also find the following website useful:
http://www.ece.ubc.ca/~teerawat/NS2.htm


As for the second question, the quick answer is NO. A classifier is
installed in a link, not a node. So you cannot find the node-id for a
link.

Best Regards,
Teerawat

On 3/2/2009, "Thanes Vela" <thanes.aus at gmail.com> wrote:

>
>Dear all
>
>The the following is the unanswered question in this forum.
>Please  share your knowledge.
>
>Classifier works on the node entry point. Each packet which is
>received by the node is classified and accordingly it is either forwarded to
>the port demux or next link.
>My question is that:
>
>1. Where the decision is taking place. (I am expecting  exact code in
>classifier.cc or some where) ?
>
>2. Can i access node-id (or address) from the classify function?  if so how?
>
>Thanks in advance
>
>Cheers
>Thanes
>University of Melbourne
>



More information about the Ns-users mailing list