Re: [ns] tcl: read parameters form file

2011-05-17 Thread Tami Nesher

I change the line* puts $tcpFallowUDP* to *puts* * lindex $tcpFallowUDP 0 *in
order to print the  first argument in the list
and I got this error:*
*
~/ns-allinone-2.34/ns-2.34/v1/input$ ns input02.tcl
bad argument 0: should be nonewline
while executing
puts lindex $tcpFallowUDP 0
(file input02.tcl line 6)

Why?


On Mon, May 16, 2011 at 12:01 AM, мαłłi malli@gmail.com wrote:

 Nesher,

 It's already stored in a list tcpFallowUDP, please go through list
 command you understand very well.
 you want access first element lets* lindex $tcpFallowUDP 0 .. lindex
 $tcpFallowUDP nth* element.



 On 15 May 2011 13:16, Tami Nesher vessely...@gmail.com wrote:


 Hi, thanks ! it works.
  I just want to know how to save the numbers in *two *variables, instead
 of printing them. can you tell me how?

 2011/5/9 мαłłi malli@gmail.com

 Nesher,

 here the code, please let me know if i did any mistake

 set fid [open input.txt r]
 while {[gets $fid lineInfo] != -1} {
 regexp {.+: (\d+)} $lineInfo match one
 set tcpFallowUDP [lappend tcpFallowUDP $one]
 }
 puts $tcpFallowUDP


 On 8 May 2011 14:32, Tami Nesher vessely...@gmail.com wrote:



 here I attached the file. I need to read the numbers in tcl.

 On Sun, May 8, 2011 at 1:47 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed 
 teto...@yahoo.com wrote:

  send the file to show and try to help you
 
  --- On *Sun, 5/8/11, Tami Nesher vessely...@gmail.com* wrote:
 
 
  From: Tami Nesher vessely...@gmail.com
  Subject: [ns] tcl: read parameters form file
  To: ns-users@ISI.EDU
  Date: Sunday, May 8, 2011, 4:19 AM
 
 
 
  Hi,
  I need to read two parameters from file and save them as two variables
 in
  tcl script.
  the file needs look like this (for example):
  _: 10
  _: 20
  each line is one word, and I need to save the numbers.
  How can I do this?
  Thanks a lot if you have an answer.
 
 


 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!




 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed Linux.

 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!







 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed Linux.

 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




-- 
רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!

Re: [ns] tcl: read parameters form file

2011-05-17 Thread Tami Nesher

OK I found the problem. I should write: *puts* * [lindex $tcpFallowUDP 0]*

Thank you.


2011/5/17 Tami Nesher vessely...@gmail.com

 I change the line* puts $tcpFallowUDP* to *puts* * lindex $tcpFallowUDP 0
 *in order to print the  first argument in the list
 and I got this error:*
 *
 ~/ns-allinone-2.34/ns-2.34/v1/input$ ns input02.tcl
 bad argument 0: should be nonewline
 while executing
 puts lindex $tcpFallowUDP 0
 (file input02.tcl line 6)

 Why?



 On Mon, May 16, 2011 at 12:01 AM, мαłłi malli@gmail.com wrote:

 Nesher,

 It's already stored in a list tcpFallowUDP, please go through list
 command you understand very well.
 you want access first element lets* lindex $tcpFallowUDP 0 .. lindex
 $tcpFallowUDP nth* element.



 On 15 May 2011 13:16, Tami Nesher vessely...@gmail.com wrote:


 Hi, thanks ! it works.
  I just want to know how to save the numbers in *two *variables, instead
 of printing them. can you tell me how?

 2011/5/9 мαłłi malli@gmail.com

 Nesher,

 here the code, please let me know if i did any mistake

 set fid [open input.txt r]
 while {[gets $fid lineInfo] != -1} {
 regexp {.+: (\d+)} $lineInfo match one
 set tcpFallowUDP [lappend tcpFallowUDP $one]
 }
 puts $tcpFallowUDP


 On 8 May 2011 14:32, Tami Nesher vessely...@gmail.com wrote:



 here I attached the file. I need to read the numbers in tcl.

 On Sun, May 8, 2011 at 1:47 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed 
 teto...@yahoo.com wrote:

  send the file to show and try to help you
 
  --- On *Sun, 5/8/11, Tami Nesher vessely...@gmail.com* wrote:
 
 
  From: Tami Nesher vessely...@gmail.com
  Subject: [ns] tcl: read parameters form file
  To: ns-users@ISI.EDU
  Date: Sunday, May 8, 2011, 4:19 AM
 
 
 
  Hi,
  I need to read two parameters from file and save them as two
 variables in
  tcl script.
  the file needs look like this (for example):
  _: 10
  _: 20
  each line is one word, and I need to save the numbers.
  How can I do this?
  Thanks a lot if you have an answer.
 
 


 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!




 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed Linux.


 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!







 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed Linux.

 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!







-- 
רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!

[ns] tcl : create nodes

2011-05-17 Thread Tami Nesher

Hi,
How can I create nodes according to a variable number?
I mean : I have a variable that contains the number of nodes that I need to
create. How can I do it?


Re: [ns] tcl: read parameters form file

2011-05-17 Thread мαłłi

yes Tami, the square brackets are used to variable substitution, similar to
= sign.

2011/5/17 Tami Nesher vessely...@gmail.com

 OK I found the problem. I should write: *puts* * [lindex $tcpFallowUDP 0]*

 Thank you.



 2011/5/17 Tami Nesher vessely...@gmail.com

 I change the line* puts $tcpFallowUDP* to *puts* * lindex $tcpFallowUDP 0
 *in order to print the  first argument in the list
 and I got this error:*
 *
 ~/ns-allinone-2.34/ns-2.34/v1/input$ ns input02.tcl
 bad argument 0: should be nonewline
 while executing
 puts lindex $tcpFallowUDP 0
 (file input02.tcl line 6)

 Why?



 On Mon, May 16, 2011 at 12:01 AM, мαłłi malli@gmail.com wrote:

 Nesher,

 It's already stored in a list tcpFallowUDP, please go through list
 command you understand very well.
 you want access first element lets* lindex $tcpFallowUDP 0 .. lindex
 $tcpFallowUDP nth* element.



 On 15 May 2011 13:16, Tami Nesher vessely...@gmail.com wrote:


 Hi, thanks ! it works.
  I just want to know how to save the numbers in *two *variables,
 instead of printing them. can you tell me how?

 2011/5/9 мαłłi malli@gmail.com

 Nesher,

 here the code, please let me know if i did any mistake

 set fid [open input.txt r]
 while {[gets $fid lineInfo] != -1} {
 regexp {.+: (\d+)} $lineInfo match one
 set tcpFallowUDP [lappend tcpFallowUDP $one]
 }
 puts $tcpFallowUDP


 On 8 May 2011 14:32, Tami Nesher vessely...@gmail.com wrote:



 here I attached the file. I need to read the numbers in tcl.

 On Sun, May 8, 2011 at 1:47 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed 
 teto...@yahoo.com wrote:

  send the file to show and try to help you
 
  --- On *Sun, 5/8/11, Tami Nesher vessely...@gmail.com* wrote:
 
 
  From: Tami Nesher vessely...@gmail.com
  Subject: [ns] tcl: read parameters form file
  To: ns-users@ISI.EDU
  Date: Sunday, May 8, 2011, 4:19 AM
 
 
 
  Hi,
  I need to read two parameters from file and save them as two
 variables in
  tcl script.
  the file needs look like this (for example):
  _: 10
  _: 20
  each line is one word, and I need to save the numbers.
  How can I do this?
  Thanks a lot if you have an answer.
 
 


 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!




 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed
 Linux.

 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,
 לא יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!







 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed Linux.

 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!







 --
 רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
 מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
 יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!







-- 

Thanks,

The box said Requires Windows 95, NT, or better, so I installed Linux.

Mallikarjun [:)]

[image: YouTube] http://in.youtube.com/mallikv [image:
Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
LinkedIn] http://www.linkedin.com/in/mallikarjunaraok

Re: [ns] tcl : create nodes

2011-05-17 Thread мαłłi

Tami,

What I understand you question is you have an variable, based on that you
need to create that much of users?
Ex. set s 10
for {set i 0} {$i  10} {incr i} {
 set n$i [$ns node]
}


On 17 May 2011 15:43, Tami Nesher vessely...@gmail.com wrote:


 Hi,
 How can I create nodes according to a variable number?
 I mean : I have a variable that contains the number of nodes that I need to
 create. How can I do it?




-- 

Thanks,

The box said Requires Windows 95, NT, or better, so I installed Linux.

Mallikarjun [:)]

[image: YouTube] http://in.youtube.com/mallikv [image:
Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
LinkedIn] http://www.linkedin.com/in/mallikarjunaraok


Re: [ns] ffmpeg installation under Linux

2011-05-17 Thread мαłłi

Tami,

http://ubuntuforums.org/showthread.php?t=786095

go though this link i hope that will help,

On 15 May 2011 18:37, Tami Nesher vessely...@gmail.com wrote:


 Hi,
 I need to install ffmpeg on Ubuntu in order to do this: ./ffmpeg -i
 a01e.mp4
 a01e.yuv
 I got the error that there is no file called ffmpeg.
 it is right. I don't have it. someone can send me the file? or tell me
 where
 can I find it?




-- 

Thanks,

The box said Requires Windows 95, NT, or better, so I installed Linux.

Mallikarjun [:)]

[image: YouTube] http://in.youtube.com/mallikv [image:
Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
LinkedIn] http://www.linkedin.com/in/mallikarjunaraok


Re: [ns] tcl : create nodes

2011-05-17 Thread Tami Nesher

Thank you for all answers.
1. Did you mean to write like this?(with s)
set s 10
for {set i 0} {$i  *$s*} {incr i} {
 set n$i [$ns node]

2. I want also to create* links* between the nodes,  to *attach agents(tcp
or  udp)* and *start them*.
 I need to do everey thing in the same way, with for ?
ex.
for {set j 0} {$j  $s/2} {incr j} {
 $ns duplex-link n$j n$s/2+$j 2Mb 10ms DropTail
# Is it right to write like this?? and what can I do if I want to change the
bandwidth sometimes?

*Thank you!
*

On Tue, May 17, 2011 at 2:33 PM, мαłłi malli@gmail.com wrote:

 Tami,

 What I understand you question is you have an variable, based on that you
 need to create that much of users?
 Ex. set s 10
 for {set i 0} {$i  10} {incr i} {
  set n$i [$ns node]

 }


 On 17 May 2011 15:43, Tami Nesher vessely...@gmail.com wrote:


 Hi,
 How can I create nodes according to a variable number?
 I mean : I have a variable that contains the number of nodes that I need
 to
 create. How can I do it?




 --

 Thanks,

 The box said Requires Windows 95, NT, or better, so I installed Linux.

 Mallikarjun [:)]

 [image: YouTube] http://in.youtube.com/mallikv [image: 
 Blogger]http://basicnetworktipsntricks.blogspot.com/ [image:
 LinkedIn] http://www.linkedin.com/in/mallikarjunaraok




-- 
רבי משה בן מכיר זצל, מגדולי הראשונים כתב:
מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור,  לא
יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!


[ns] [very urgent] error when installing the IEEE 802.p package (serbrook uni)

2011-05-17 Thread chadi jabroun


Hi 

I'm trying to integrate the IEEE 802.11p package developed by sherbrook 
university .
please could any body help me?

I get the following error when I do: make

--
In file included from mac/ofdmphy.h:6,
 from mac/mac802_11p.h:7,
 from mac/mac802_11p.cc:16:
mac/wireless-phy.h:130: error: expected identifier before 'r'
mac/wireless-phy.h:130: error: expected `}' before 'r'
mac/wireless-phy.h:130: error: expected unqualified-id before 'r'
mac/wireless-phy.h: In member function ‘bool WirelessPhy::Is_node_on()’:
mac/wireless-phy.h:97: error: ‘node_on_’ was not declared in this scope
mac/wireless-phy.h: In member function ‘bool WirelessPhy::Is_sleeping()’:
mac/wireless-phy.h:98: error: ‘status_’ was not declared in this scope
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:132: error: no matching function for call to 
‘Sleep_Timer::Sleep_Timer()’
mac/wireless-phy.h:58: note: candidates are: 
Sleep_Timer::Sleep_Timer(WirelessPhy*)
mac/wireless-phy.h:56: note: Sleep_Timer::Sleep_Timer(const 
Sleep_Timer)
mac/wireless-phy.h:135: error: expected unqualified-id before ‘private’
mac/wireless-phy.h: In function ‘EnergyModel* em()’:
mac/wireless-phy.h:143: error: ‘node’ was not declared in this scope
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:143: error: ‘friend’ used outside of class
mac/wireless-phy.h:147: error: expected declaration before ‘}’ token
make: *** [mac/mac802_11p.o] Error 1


best regards,

Chadi
  


Re: [ns] can not change RED to original form (without gentle)

2011-05-17 Thread Mohit Tahiliani

Dear Aquila,

Following are the parameters you need to set to simulate Original RED (1993 
paper by S. Floyd and Van Jacobson):

Queue/RED set thresh_ 5
Queue/RED set maxthresh_ 15
Queue/RED set q_weight_ 0.001
Queue/RED set bytes_ false
Queue/RED set queue_in_bytes_ false
Queue/RED set gentle_ false
Queue/RED set mean_pktsize_ 1000

Please change mean packet size as per the packet size in your scenario.

Hope it helps.

Regards,
Mohit P. Tahiliani


Re: [ns] HOW TO GET THE POSITION OF NODE IN C++ CODE ??

2011-05-17 Thread Mohit Tahiliani

Hello,

Please see the link below. It explains how to obtain a node position as well as 
energy.

http://elmurod.net/?p=348

Hope it helps.

Regards,
Mohit P. Tahiliani


[ns] Deadline Extension: The 4th IEEE International Conference on Cyber, Physical, and Social Computing

2011-05-17 Thread Jaime Lloret Mauri


[Submission deadline is extended to 31 May]
[Please accept our apologies if you received multiple copies of this call]

[Call for Papers]
   
--
 CPSCom 2011
 The 4th IEEE International Conference on Cyber, Physical, and Social Computing

  http://cpscom.org/
   Sponsored by IEEE, IEEE CS, and IEEE TCSC
  Dalian, China, October 19¨C22, 2011

 in conjunction with 
   iThings 2011: The 2011 IEEE International Conference on Internet of Things
--

1. INTRODUCTION

The physical things and the human society have formed into the world we live 
in. However, the emergence of information technologies enables a new 
infrastructure for a technical, economic and social revolution, which have 
changed the world we are used to. Cyber-physical systems couple the cyber 
aspects of computing and communications with the physical aspects of dynamics 
that must abide by the laws of physics. Social computing has become more widely 
known because of proliferation of online social networking in recent years. 
With the advent of ubiquitous sensing, future social networks will become 
cyber-physical, combining measured elements of the physical world. The 
convergence of computational and physical processes as well as human's social 
behaviors exhibits a variety of complicated characteristics, which leads to a 
lot of challenges.

The 2011 IEEE International Conference on Cyber, Physical, and Social Computing 
(CPSCom 2011) will provide a high-profile, leading-edge forum for researchers, 
engineers, and practitioners to present state-of-art advances and innovations 
in theoretical foundations, systems, infrastructure, tools, testbeds, and 
applications for the CPSCom, as well as to identify emerging research topics 
and define the future. CPSCom 2011 is the 4th edition of the successful series, 
previously held as CPSCom 2010 (Hangzhou, China, December 2010), CyberSocialCom 
2009 (Hangzhou, China, November 2009), and CPSC 2009 (Brisbane, Australia, July 
2009).


2. SCOPE AND INTERESTS

Topics of particular interest include, but are not limited to:

- Track 1: Cyber-physical systems and society
- Track 2: Social computing
- Track 3: Pervasive/ubiquitous computing
- Track 4: Sensor/actuator networks
- Track 5: Security, privacy, and trust
- Track 6: Applications and services


3. IMPORTANT DATES

Submission Due:  May 31, 2011 (extended)
Notification of Acceptance:  July 1, 2011
Final Manuscript Due:  August 1, 2011


4. SUBMISSION GUIDELINES

Authors are invited to submit original papers that MUST NOT have been submitted 
to or published in any other workshop, conference, or journal. Full Papers (up 
to 10 pages) and Short Papers (up to 4 pages) are solicited. Detailed 
submission instructions could be found on the conference website 
http://cpscom.org. All papers will be reviewed by the Program Committee for 
significance, originality, accuracy, and clarity. 


5. PAPER PUBLICATIONS

Each submission should be regarded as an undertaking that, if the paper is 
accepted, at least one of the authors must attend the conference to present the 
work in order for the paper to be included in the IEEE Digital Library. 
Accepted papers will be published in the proceedings of CPSCom 2011 by IEEE 
Computer Society (EI indexed). Extended versions of selected papers will be 
considered for publication in several SCI-index international journals (check 
the website for details).


6. ORGANIZING COMMITTEE

Honorary Chairs 
Feiyue Wang, Chinese Academy of Science, China
Alex Sandy Pentland, MIT, USA 
Witold Pedycz, University of Alberta, Canada 
   
General Chairs 
Sajal K. Das, University of Texas at Arlington, USA 
Narayanan Kulathuramaiyer, Universiti Malaysia Sarawak, Malaysia 
Irwin King, ATT Labs Research, USA 
   
General Executive Chair 
Feng Xia, Dalian University of Technology, China 
  
Program Chairs 
Gang Pan, Zhejiang University, China
Ismail Khalil, Johannes Kepler University Linz, Austria
Daniel D. Zeng, University of Arizona, USA 
   
Program Vice-Chairs 
Cheng Fu, Nanyang Technological University, Singapore
Jules White, Virginia Tech, USA
Hui-Huang Hsu, Tamkang University, Taiwan 
   
Workshop Chairs 
Qun Jin, Waseda University, Japan
Alvin Chin, Nokia Research Center, China
Yan Zhang, Simula Research Laboratory  University of Oslo, Norway 
  
Panel Chair 
Jie Tang, Tsinghua University, China 
  
Publicity Chairs 
Ling-Jyh Chen, Academia Sinica, Taiwan
Min Chen, Seoul National University, Korea
Wei (Ian) Cheng, George Washington University, USA
Ruijun He, CRC Press and Taylor  Francis, China
Tu Lai, Huazhong University of Science and Technology, China
Shiguo Lian, France Telecom RD Beijing, China
Jaime Lloret Mauri, Polytechnic 

[ns] Modify cbr traffic

2011-05-17 Thread Aayushi Shashi


Hi everybody,



I'm trying to implement a geocast protocol for manets. I need to send traffic 
for a geographic region.

I mean, I'd like to do this:



set cbr_(0) [new Application/Traffic/CBR] 

$cbr_(0) set packetSize_ 512

$cbr_(0) set interval_ 0.1 

$cbr_(0) set random_ 2112 

$cbr_(0) set maxpkts_ 1 

$cbr_(0) set dst_ 0xE00 

$cbr_(0) attach-agent $udp_(0) 

$cbr_(0) set up-x 12.2

$cbr_(0) set up-y 15.2

$cbr_(0) set down-x 2.2


$cbr_(0) set down-y 5.2

$ns_ at 2.00 $cbr_(0) start 



I want to add up-x up-y down-x down-y to cbr parameters and i need the cbr 
header contain this information
So when i read a packet in my protocol implementation i can read this info

What should i Do?



Thank you very much