How to add GPSR protocol in NS2.35

346 views
Skip to first unread message

parham hadikhani

unread,
Nov 4, 2017, 11:45:13 AM11/4/17
to Network Simulator 2 (NS2)
hi
i have problem for adding new protocol and i get error
Can anyone help me?
script.rar
greedy.rar

knudfl

unread,
Nov 4, 2017, 2:06:25 PM11/4/17
to Network Simulator 2 (NS2)
The "GPRS´s" versions usually used are GPRS-hls and GPRS-KeLiu.
Patches :  GPSR-hls_ns235.patch,  gpsr-KeLiu_ns235.patch
Link, patches ( All ~300 ns2 patches )
https://drive.google.com/drive/folders/0B7S255p3kFXNZ2lWZDBRSW40Q00?usp=sharing

INFO
GPSR-hls http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.73.963&rep=rep1&type=pdf
GPSR-KeLiu http://www.cs.binghamton.edu/~kliu/research/ns2code/index.html#gpsr

Build examples
GPSR-hls http://network-simulator-ns-2.7690.n7.nabble.com/GPSR-Patching-td29371.html#a29372
GPSR-KeLiu https://www.linuxquestions.org/questions/linux-software-2/how-to-simulate-gpsr-in-ns2-35-a-4175538084/page4.html → → post #50.
-----------------------------

Greedy is equally easy to build, but I never got any of the examples to work :
greedy.tcl, greedy_test**.tcl .

Note :
The files Makefile.in, common/packet.h, queue/priqueue.cc,
tcl/lib/{ns-lib.tcl, ns-mobilenode.tcl, ns-packet.tcl}
.... are missing in your code example.

greedy_ns235.patch https://drive.google.com/file/d/0B7S255p3kFXNak1LNUZYcFFkS2c/view?usp=sharing
------------------------------
greedy_test-2.tcl

knudfl

unread,
Nov 4, 2017, 2:15:28 PM11/4/17
to Network Simulator 2 (NS2)
The old information, GPSR-KeLiu, seems not to work any more. I attached index.html .
index.html

parham hadikhani

unread,
Nov 5, 2017, 1:03:29 AM11/5/17
to Network Simulator 2 (NS2)
Thank You for your answer
Reply all
Reply to author
Forward
0 new messages