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_ 10000 

$cbr_(0) set dst_ 0xE000000 

$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.00000000000000 "$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

                                          

Reply via email to