[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Binding Update for MIPv6 - classifier problems



Hi, ns-experts:

I am trying to implement Binding Update function of MIPv6 into ns nodes. 
(I am not tring to implement the whole ipv6 protocol, just parts
associated with Mobile IP. :P)

I have decided to implement the function in the classifier instead of in
the agent because a binding update agent will not be able to trap
all the out going packets generated by the other agents as they are send
to the node entry_ and then the classifier directly (to my knowledge).

What I want to know is that is there a way to identify what node a
classifier belongs to, through the use of Tcl::instance() in the
classifier class with the help from oTcl? 

I am pretty sure that it is impossible to identify what node a
particular classifier attach to solely in c++ without major hacks.

The reason for me to associate a classifier with its node's address is
that this address can be used to check with all incoming and outgoing
packets, hence enable the traping of all packets and the implementation of
the binding update cache. I know classifier by design should be
isolated away from knowning the address of the node that it attachs
with, however, I know no other solution to solve my problem.

some help will be very much appreciated..

regards,

Robert