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

Re: Active networking in ns



At 09:20 18/10/99 -0400, you wrote:

>> But this approach also involves modifiying classifier.cc, so that
>> the first object found in the node is classifier-switch instead
>> of classifier.
>
>You could install the classifier-switch in the adress's classifier slots. I 
>don't think it implies modifying ns internals very much. Basically you are 
>inserting an object, that implies modifying the targets a bit (putting the 
>filter in the classifier's slots and stting the filter's target to be the
link's 
>head).

This seems interesting. I'm afraid I'm not very familiar with ns, so
I don't grasp the thing completely. Could you please elaborate this
a bit more ?

>From what i have understood of what you wich to implement, i would have
put the 
>filter in between the node and the classifier, so that packets that need 
>processing can be send to the processor and the other packets send to the 
>classifier wich puts them on the link. 
>
>I don't know what is to happen to packets out of the AN processor but i
guess 
>you could send them to the classifier so they can be put on the link.

After active packets are processed (and possibly the destination address
changed) they should be forwarded as normal packets to their (possibly
new) destination.

Regards,
G.
--
Guillermo Rodriguez Garcia
<[email protected]>