A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use default config value for MTU.
[simgrid.git]
/
src
/
surf
/
ns3
/
ns3_interface.cc
diff --git
a/src/surf/ns3/ns3_interface.cc
b/src/surf/ns3/ns3_interface.cc
index
fce98bc
..
10d8d6b
100644
(file)
--- a/
src/surf/ns3/ns3_interface.cc
+++ b/
src/surf/ns3/ns3_interface.cc
@@
-100,7
+100,7
@@
int ns3_initialize(const char* TcpProtocol){
// "ns3::TcpReno"
// "ns3::TcpTahoe"
// "ns3::TcpReno"
// "ns3::TcpTahoe"
- Config::SetDefault ("ns3::TcpSocket::SegmentSize", UintegerValue (10
00)); // 1000
-byte packet for easier reading
+ Config::SetDefault ("ns3::TcpSocket::SegmentSize", UintegerValue (10
24)); // 1024
-byte packet for easier reading
Config::SetDefault ("ns3::TcpSocket::DelAckCount", UintegerValue (1));
if(!strcmp(TcpProtocol,"default")){
Config::SetDefault ("ns3::TcpSocket::DelAckCount", UintegerValue (1));
if(!strcmp(TcpProtocol,"default")){