[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] how to send a packet from one agent to another
- To: NS mailing list <[email protected]>
- Subject: [ns] how to send a packet from one agent to another
- From: Xiaojun Hei <[email protected]>
- Date: Wed, 22 Aug 2001 13:05:46 -0800
- Organization: Department of Electrical and Electronic Engineering, HKUST
- Sender: [email protected]
Dear Ns users
I want to use an Agent to generate a packet and set its destiniation
address and port number, then use target_->recv(pkt) to send it out,
but it turns out that Classifier/Hash/Dest cannot route the packet to
the destination.
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o28: no target for slot -1
_o28 type: Classifier/Hash/Dest
content dump:
classifier _o28
0 offset
0 shift
2147483647 mask
1 slots
slot 2: _o384 (Classifier/Port)
-1 default
---------- Finished standard no-slot{} default handler ----------
What have I missed? Shall I do some configurations in my script in
order to let Classifier/Hash/Dest know the route?
thanks for your help.
sean