jeanlst / ctp-castalia

Automatically exported from code.google.com/p/ctp-castalia
0 stars 0 forks source link

effect of changing TOSH_DATA_LENGTH parameter from 28 to 60(TosEnvironment.h file in routing folder) #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. when I use packet size more than 23 byte it is not transmitted over the 
network
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
3.0 castalia under ubuntu 10.04 LTS 

Please provide any additional information below.

to solve this problem I changed the parameter TOSH_DATA_LENGTH from 28 to 
60(TosEnvironment.h file in routing folder) and it works well.
I want to ask if this legal or not, and if this will have side effects on the 
performance of the routing protocol or not.

please answer me as quickly as possible I need this truly 

Original issue reported on code.google.com by jordan.j...@yahoo.com on 19 Nov 2011 at 5:59

GoogleCodeExporter commented 8 years ago
The only check that is made with TOSH_DATA_LENGTH is in the forwarding engine 
in the command_Send_send function (i.e., if(len > TOSH_DATA_LENGTH)). Where do 
you set the 23 byte length? Is it the constantDataPayload parameter in the 
omnetpp.ini related to the Application layer? Is it elsewhere?

Original comment by ucolesa...@gmail.com on 24 Nov 2011 at 10:07

GoogleCodeExporter commented 8 years ago
thanks for replay

I've changed the parameter in the TosEnvironment.h file in both (mac and 
routing folders)
you defined it to be constant equal to 28 in TosEnvironment.h in (mac and 
routing folders).

Original comment by jordan.j...@yahoo.com on 29 Nov 2011 at 9:02

GoogleCodeExporter commented 8 years ago
ok.

Original comment by ucolesa...@gmail.com on 4 Jan 2012 at 1:50