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

Re: [ns] Programming a Node - Please help



On Fri, 3 Mar 2000, Sushant Mantry wrote:

> 	I am a newbie at ns, and am doing a project which requires a node
> being programmed in such a way that it has the following capablitites - 
> 
> # It should cache every packet it receives, and classify each packet from
> its flow and maintain a hash table of such flows.
> 
> # On recving an DUPACK from the dst, it should take out the packet from
> the hash and reXmit, and at the same time, drop the DUPACK then and there,
> without letting it pass through. 

The caching and this second point sounds like you want to use and
modify the (non-functional?) implementation of the Berkeley Snoop
protocol in ns.

http://www.cs.berkeley.edu/%7Ehari/papers/snoop.html

and examine ~ns-2/snoop.cc and snoop.h.

L.

> 	Can somebody tell me an easy and efficient way of doing this. As a
> last option, I can modify the classifier.cc, but is there any better way
> of doing this, like using Active Node support ?
> 
> Thanks in advance, 
> 
> Sushant.
> 
> -----------------------------------------------------------------------
> Eat Healthy, Exercise, and Die Anyway ...

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>