[ns] Regarding linking c++ code in ns2

2006-11-29 Thread Anuradha Sehgal

Dear Sir/Madam,

i m facing the probelm of linking c++ code in ns2.
i have installed ns2 that is working correctly..but now how to run c++ code
in it..please do help me..its really very urgent..
please reply soon..thanks in advance...


sincerely,
Anuradha Sehgal


Re: [ns] sleep a node

2006-11-29 Thread juan manuel gomez garcia

Hi Matthias :

I'm investigating the energy consumption in zigbee routing protocol. For 
that I need that the nodes sleep.
Then I found the code of Iyappan. This are the steps that I do:

· Delette the files of ns2.
· Copy the files of Iyappan.
· 'make clean'
· 'make'
but the 'make' dont finish because I obtain the next error:

mac/mac-tdma.cc: In member function `void MacTdma::radioSwitch(int)':
mac/mac-tdma.cc:484: error: `node_wakeup' undeclared (first use this 
function)
mac/mac-tdma.cc:484: error: (Each undeclared identifier is reported only 
once
   for each function it appears in.)
mac/mac-tdma.cc:494: error: `node_sleep' undeclared (first use this 
function)
make: *** [mac/mac-tdma.o] Error 1

I have not modified anything.
What are the changes that you do for Iyappan code run ok?

Thank you very much for your help.



l für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_
Descubre la descarga digital con MSN Music. Más de un millón de canciones. 
http://music.msn.es/



[ns] DiffServ and signalling protocol messages

2006-11-29 Thread ben

Hi,

I have a question regarding DiffServ and signaling
protocol message. Does the signaling protocol messages
will  be given the same priority as real time data
packets in DiffServ?

Thank you very much.

Regards,

Ben

Send instant messages to your online friends 
http://uk.messenger.yahoo.com 

Send instant messages to your online friends http://uk.messenger.yahoo.com 



[ns] Problem with NAM in FC4

2006-11-29 Thread Shaili Desai

Hi all

I installed NS-allinone-2.29 on FC4 and set the path variables too.I did set
it after installation and now have edited in the bashrc file too. But when
running example1a.tcl from ns-allinone-2.29 directory it gives me the
following error:


ns: finish: couldn't execute nam: no such file or directory
while executing
exec
nam out.nam 
(procedure finish line 7)
invoked from within
finish
Dont know what can be the problem? Do I need some link to nam in
ns-allinone-2.29/bin the way we have working softlink of ns??

In my bashrc file which is /etc/bashrc, I have following lines added:
export NS_PATH=/root/ns-allinone-2.29/bin:/root/ns-allinone-2.29
/tcl8.4.11/unix:/root/ns-allinone-2.29
/tk8.4.11/unix:/root/tracegraph/tracegraph202
export LD_LIBRARY_PATH=/root/ns-allinone-2.29/otcl-
1.11:/root/ns-allinone-2.29/lib
export TCL_LIBRARY=/root/ns-allinone-2.29/tcl8.4.11/library

And I did source ~/.bashrc after editing the bashrc file.
Can someone please tell me whether am I doing the right steps or am missing
out on something.

Thanks in advance.

-- 
Thanx
Shaili Desai
Master's Candidate
Telecommunications and Management
University of Maryland,College Park,USA

-- 
Thanx
Shaili Desai
Master's Candidate
Telecommunications and Management
University of Maryland,College Park,USA


[ns] HMIPv6 extentions

2006-11-29 Thread [EMAIL PROTECTED]

Hi,
i am a university student and i'm working on MIPv6, HMIPv6 and fast 
handovers.
I've heard about R. Hsieh's impementation of HMIPv6, i've found a couple 
of links but there are all down.
Is there anyone who already has this extention, or something similar 
(FHMIPv6)?
thanks



Re: [ns] Regarding linking c++ code in ns2

2006-11-29 Thread Daniel Dekst

You might need to find a tutorial to learn something basic.
  You can refer to 
  Implementing a New Manet Unicast Routing Protocol in NS2  Francisco J. Ros  
 Pedro M. Ruiz
  Or
  http://blog.chinaunix.net/u/10654/showart.php?id=52030
  http://140.116.72.80/~smallko/ns2/ns2.htm  (need to understand chinese)

  Pei
   
  Message: 2
Date: Wed, 29 Nov 2006 12:10:19 +0530
From: Anuradha Sehgal 
Subject: [ns] Regarding linking c++ code in ns2
To: ns-users@ISI.EDU
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dear Sir/Madam,

i m facing the probelm of linking c++ code in ns2.
i have installed ns2 that is working correctly..but now how to run c++ code
in it..please do help me..its really very urgent..
please reply soon..thanks in advance...


sincerely,
Anuradha Sehgal



-
 Mp3疯狂搜-新歌热歌高速下   

-
抢注雅虎免费邮箱-3.5G容量,20M附件! 

Re: [ns] recall a procedure every time that a packet arrives

2006-11-29 Thread Daniel Dekst

You may can achieve your purpose by insert your own function in the recv() 
function
   
  Pei


Message: 5
Date: Wed, 29 Nov 2006 17:41:49 +0100
From: [EMAIL PROTECTED] 
Subject: [ns] recall a procedure every time that a packet arrives
To: ns-users 
Message-ID: 
Content-Type: text/plain; charset=iso-8859-1

Hi,

is it possible to recall a procedure 
every time that a packet arrives 
in a tail? Or better,I would want to
do a special control on every packet 
that arrives in a tail,in particular which 
flow belongs the packet.


Thank you very much

Regards,
Luca


--
Scopri subito RAS FullCasa: vinci 500? di buoni Mediaworld a settimana ed un 
viaggio Expedia!
http://click.libero.it/ras29nov06




--
Scopri subito RAS FullCasa: vinci 500? di buoni Mediaworld a settimana ed un 
viaggio Expedia!
http://click.libero.it/ras29nov06




--
Scopri subito RAS FullCasa: vinci 500? di buoni Mediaworld a settimana ed un 
viaggio Expedia!
http://click.libero.it/ras29nov06



-
 Mp3疯狂搜-新歌热歌高速下   

Re: [ns] sleep a node

2006-11-29 Thread Daniel Dekst

I'm not Matthias, but it's seems that you haven't declared node_wakeup 
node_sleep in your mac/mac-tdma.h
  you can try it.
  Or make clean,  make depend, make, maybe they are declared somewhere
   
  Pei

  Message: 3
Date: Wed, 29 Nov 2006 13:02:25 +0100
From: juan manuel gomez garcia 
Subject: Re: [ns] sleep a node
To: Ns-users@ISI.EDU
Message-ID: 
Content-Type: text/plain; charset=iso-8859-1; format=flowed

Hi Matthias :

I'm investigating the energy consumption in zigbee routing protocol. For 
that I need that the nodes sleep.
Then I found the code of Iyappan. This are the steps that I do:

? Delette the files of ns2.
? Copy the files of Iyappan.
? 'make clean'
? 'make'
but the 'make' dont finish because I obtain the next error:

mac/mac-tdma.cc: In member function `void MacTdma::radioSwitch(int)':
mac/mac-tdma.cc:484: error: `node_wakeup' undeclared (first use this 
function)
mac/mac-tdma.cc:484: error: (Each undeclared identifier is reported only 
once
for each function it appears in.)
mac/mac-tdma.cc:494: error: `node_sleep' undeclared (first use this 
function)
make: *** [mac/mac-tdma.o] Error 1

I have not modified anything.
What are the changes that you do for Iyappan code run ok?

Thank you very much for your help.



l f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_
Descubre la descarga digital con MSN Music. M?s de un mill?n de canciones. 
http://music.msn.es/



-
 Mp3疯狂搜-新歌热歌高速下   

[ns] eurane help

2006-11-29 Thread sandesh shenoy

Hi,
   
  If there are anyone well to do in ns with eurane in Bangalore,please let me 
know.I  have some doubts to be cleared.
   
  Thanks in advance.


-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW