[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optic Buffer ...
> X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to
[email protected] using -f
> Date: Mon, 21 Feb 2000 21:11:40 +0100
> From: Mazzotta Vincenzo <[email protected]>
> X-Accept-Language: it
> Mime-Version: 1.0
> To: [email protected]
> Subject: Optic Buffer ...
>
> Hi to all ... i've some problem ...
>
> 1) I want define a particular packet into the simulation ... my idea is
> that to add a tag on the packet but i've
> seen the packet.cc and packet.h but i don't seen a field into a
> packet where can define a "Tag" (to
> identify a particular packet) ... my problem is that i must use the
> packets define in the NS-2 because i
> must simulate tcp/ip, Udp and others protocols defined in NS-2...
> Somebody know some solution to this
> problem ???
How about PT_TYPE in the common header? or just define your own header, one good
example for that is the ping agent in the manual.
>
> 2) Can i use a timer to blocked a queue if the packet is a packet Tag
> ??? Like can i specify that when expire
> the timer ... must be execute my method ???
yes. more in the manual or by looking at exmple code wich uses timers like
tbf.cc
>
> Thanks
> [email protected]
Tarik