[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] operation in internal node
hi all,
I want to know if packet can be changed before it gets to the dst.
In command method: I set daddr() of hdr_ip, then send the pkt.
In recv method: I change the daddr() value and send to the other dst.
The pkt gets to the dst in command.
Can I change the daddr() before the pkt reach the dst and direct to the other dst?
Is the method correct?
what's the difference between daddr() and dst(),
send(p,0) and target_->recv(p,(Handler*)0)?
thanks in advance.
_____________________________________________
�����Ʒ�����У��� http://shopping.263.net/category21.htm
��ƷС�ҵ�ӭ������ http://shopping.263.net/category23.htm