Find the location of RREQs inside a network for a route request from a source (AODV).
[l] = NARVAL_R_AodvRreqs(m)
RREQ packets storage matrix.
list of nodes where a RREQ is located.
NARVAL_R_AodvRreqs finds the location of RREQs inside a network (WEB). m is the RREQ packets storage matrix created during the propagation of RREQs from a source. l provides the list of nodes where a RREQ is located.
name='network';//graph name node_number=5;//quantity of nodes tail=[2 3 3 4 5 5];//head vector (links) head=[1 1 2 2 2 4];//tail vector (links) node_x=[100 500 300 700 900];//x-coordinates of nodes node_y=[500 500 900 100 500];//y-coordinates of nodes [g]=NARVAL_G_MakeGraph(name,node_number,tail,head,node_x,node_y);//generation of a topology with 3 nodes w=1;//window index f1=NARVAL_G_ShowNodesIndex(g,w);//graph visualization for i=1:g.node_number global ('rt'+string(i));//creation of empty routing tables end bss=10;//maximum buffer size bs=bss*ones(1,g.node_number);//buffer matrix NARVAL_R_AodvRTables(g,bs);//generation of routing tables //rti=final routing table of node i TTL=5;//research Time-To-Live ID=0;//index of the route discovery Source=1;//source node Dest=5;//destination node [RREQmat,np]=NARVAL_R_AodvRreqInit(g,Source,Dest,TTL);//initialization of RREQs [l]=NARVAL_R_AodvRreqs(RREQmat);//application of NARVAL_R_AodvRreqs l | ![]() | ![]() |
Dr. Foued Melakessou
Research Associate
Interdisciplinary Centre for Security, Reliability and Trust
Room F106
University of Luxembourg
6, rue Coudenhove Kalergi
L-1359 Luxembourg-Kirchberg
E-mail: foued.melakessou@uni.lu
Tel: (+352) 46 66 44 5346