[ns] ns2 recverror

2010-06-26 Thread etudiant etudiant

Hi,
someone can indicate what meaning of the test if (!rt-pc_empty())
thanks

 if (!rt-pc_empty()) {
 nre-unreachable_dst[nre-DestCount] = rt-rt_dst;
 nre-unreachable_dst_seqno[nre-DestCount] = rt-rt_seqno;
 nre-DestCount += 1;
 rt-pc_delete();
 }


[ns] ns2 senderror

2010-06-26 Thread etudiant etudiant

Hi
In aodv protocole
what mean of value false in function sendError(rerr,false)
thanks


[ns] function rt_resolve(Packet *p)

2010-05-18 Thread etudiant etudiant

Hi
in aodv.cc
The function rt_resolve(Packet *p)  is to find a route for data packet or
for any packet?
thanks


[ns] ns2 aodv instruction

2010-05-17 Thread etudiant etudiant

hi
somebody can explain that this instruction means ?
if (rt  (rt-rt_hops != INFINITY2)
thanks


[ns] ns2 aodv instruction

2010-05-17 Thread etudiant etudiant

hi
somebody can explain that this instruction means ?
if (rt  (rt-rt_hops != INFINITY2)
thanks


[ns] ns2: dsr or aodv with 2 types of node

2010-05-07 Thread etudiant etudiant

Hi,
Can somebody indicate to me how I implement the aodv ou dsr  protocol but
with two type of nodes (end node and transit node) (I created a Boolean
variable who indicate the type of the node if it is “end node” then the
variable is true else false), what I can make so that each node must know
the type of their neighbors (end node or transit node) in the tabe of
routing, before the sending of package RREQ, the  transit node must test the
type of the node neighbors (next jump), if it is a node of the type end
node and it is not the destination should not send the packet RREQ towards
this node, finaly the path (between source and destination) will not contain
nodes of the type “end node”, in your opinion I can do that with the
protocol aodv or DSR.
thank you very much.


[ns] asymetrical link enter mobile node

2010-04-24 Thread etudiant etudiant

Hi
in an ad hoc network how I can establish an asymmetrical link of noeud1
towards noeud2
thanks


[ns] ad hoc routing

2010-04-10 Thread etudiant etudiant

hi
I want to do routing ad hoc simulation, the network is composed by end node
and transit-node when the end-node can't transmis a demand to the transit
node if he (end-node) is not the source and the transit node can't transmis
the demand to the end-node  if he is not destination, so i dont know how i
will add the new characteristic for the specific node (end-node and transit
node) and the classes necessary for routing path with this, what i must do
in this classes. thank you