Modified the NS2
Hello....
I want to modify on the contention window (CW) and the AIFS period in the source code of ns2 .i will be thankful if any one tell me under what file in the source code of the ns2 program the (contention window) and the (AIFS) exist. |
Quote:
|
TB0ne thanks for replying ,honestly iam ganna be very grateful if any one tells me under what file in the source code they are exist ..
Best Regards |
Quote:
I doubt anyone else is going to volunteer to open each and every file up, look through them, so they can tell you which file YOU want to modify.... |
ns-2.33 ... In fact it is rather easy to find :
cd <directory-with-ns-2.33> grep -i aifs ns-2.33/*/* grep -i contention ns-2.33/* grep -i contention ns-2.33/*/* Lots of results > > I think, you will find, what you are looking for. ...... |
OK .. I found time to sort the text result :
grep -i aifs ns-2.33/*/* : AIFS is mentioned in ns-2.33/mac/mac-802_11Ext.h grep -i contention ns-2.33/* : ns-2.33/CHANGES.html grep -i contention ns-2.33/*/* : ( ns-2.33/common/parentnode.h ), ( ns-2.33/doc/lan.tex ), ( ns-2.33/doc/mobility.tex ), ns-2.33/mac/channel.cc, ns-2.33/mac/channel.h, ns-2.33/mac/mac-802_11Ext.h, ns-2.33/mac/mac-802_11.h, ( ns-2.33/mac/mac-csma.cc ), ns-2.33/mac/mac-csma.h, ( ns-2.33/mac/mac.h ), ns-2.33/mac/smac.cc, ns-2.33/mac/smac.h, (ns-2.33/mac/wired-phy.cc ), ( ns-2.33/mac/wired-phy.h ), ( ns-2.33/satellite/satlink.cc ), (s-2.33/satellite/satlink.h ). ..... |
All times are GMT -5. The time now is 08:25 AM. |