[ns] Creating a new sendpkt routine
Debojyoti Dutta
ddutta@ISI.EDU
Fri, 16 Feb 2001 00:20:15 -0800 (PST)
> I wanted to make a function by which I could bypass the send routine of
> ns, and send packets to whoever my agent wants without depending upon
> explicit "connect"s in the tcl file. For this I simply copied from
> rtProtoLS (linkstate) 's sendpkt routine which just overwrites the "dst_"
> field and then calls target_->recv(p).
You can send to whosoever your agent wants. Do you need to change the
sendpacket routine ?
Cheers
Debo