my system specifications are
ubuntu 12.04 32bit
ns2.35
i m trying to modify DSR protocol in ns2.35 as follows
copied DSR protocol folder (already present in ns2.35 directory) and paste it as mdsr in same location
add following lines in makefile.in present in ns2.35 folder
Code:
mdsr/dsragent.o mdsr/hdr_sr.o mdsr/mobicache.o mdsr/path.o \
mdsr/requesttable.o mdsr/routecache.o mdsr/add_sr.o \
mdsr/mdsr_proto.o mdsr/flowstruct.o mdsr/linkcache.o \
mdsr/simplecache.o mdsr/sr_forwarder.o \
then i save it and run following commands in ns2.35 location
Code:
configure
make clean
make
it give error
Code:
ramneet@PC:~/ns-allinone-2.35/ns-2.35$ make clean
rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: Entering directory `/home/ramneet/ns-allinone-2.35/ns-2.35/dltest'
rm -f *.o lib.exp ../dltest.marker
rm -f *.so
make[1]: Leaving directory `/home/ramneet/ns-allinone-2.35/ns-2.35/dltest'
somebody please tell me what other changes are required in ns2 files so as to run mdsr in tcl scripts as
set $val(rp) mdsr
i also read other articles but examples shows something like new packet type m not adding new packet still...m just replicating existing protocol yet as MDSR,,please somebody tell me changes required """step by step"""
any response will be appreciated
thanks in advance