[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns]modifying router's behavior
hi,
I am glad to hear from someone.
thank you for responding me!
I am setting a toy senario:
C ----------------------------> A
|
|-----------------> B
whenever a router catches a packet to A, it will forward it to B with
probability p.
I think I need to write a code for this new behavior. but I don't know how
to activate this new behavior.
Please give me some advice how to attach this new function to the
simulation!
Thank you!
-Hyewon Jun ([email protected])
On Tue, 11 Sep 2001, Jeong-woo Cho wrote:
> >
> > hi,
> >
> > If I want to modify the behavior of routers,
> > I guess I need to write *.{cc,h} files.
> > but how can I activate them to affect the routing behavior?
> >
> > where should I attach the new routing behavior classes?
> >
> > Thank you!
> >
> > -Hyewon Jun ([email protected])
> >
> >
> >
> >
>
> Hi, Ms Jun.
>
> The key point is that what behavior you want to modify. If you want to modify queme mangement disciplines such as RED, Drop Tail, DRR, FQ, I recommend you to see files red.cc, red.h, queue.h, queue.cc. It maybe helpful to you. If it is not, you may consult me again.
>
> Best regards,
>
> ----------------------------------------------------------------------
> Cho, Jeong-woo
>
> Communication and Information Systems Laboratory
> Dept. of Electrical Engineering and Computer Science
> Korea Advanced Institute of Science and Technology(KAIST)
> 373-1 Kusong-dong, Yusong-gu, Taejon 305-701, Korea
>
> TEL: +82-42-869-8067 (ex.107) FAX: +82-42-867-0550
> E-mail: [email protected]
> ----------------------------------------------------------------------
>
>