View | Details | Raw Unified | Return to bug 1129
Collapse All | Expand All

(-)a/examples/tcp/tcp-nsc-zoo.cc (-5 / +5 lines)
 Lines 86-98    Link Here 
86
    {
86
    {
87
      // the next statement doesn't change anything for the nodes 0, 1, and 2; since they
87
      // the next statement doesn't change anything for the nodes 0, 1, and 2; since they
88
      // already have a stack assigned.
88
      // already have a stack assigned.
89
      internetStack.SetTcp ("ns3::NscTcpL4Protocol","Library",StringValue("liblinux2.6.18.so"));
89
      internetStack.SetTcp ("ns3::NscTcpL4Protocol","Library",StringValue("liblinux2.6.26.so"));
90
      // this switches node 3 to NSCs Linux 2.6.18 stack.
90
      // this switches node 3 to NSCs Linux 2.6.26 stack.
91
      internetStack.Install (n.Get(3));
91
      internetStack.Install (n.Get(3));
92
      // and then agains disables sack/timestamps/wscale on node 3.
92
      // and then agains disables sack/timestamps/wscale on node 3.
93
      Config::Set ("/NodeList/3/$ns3::Ns3NscStack<linux2.6.18>/net.ipv4.tcp_sack", StringValue ("0"));
93
      Config::Set ("/NodeList/3/$ns3::Ns3NscStack<linux2.6.26>/net.ipv4.tcp_sack", StringValue ("0"));
94
      Config::Set ("/NodeList/3/$ns3::Ns3NscStack<linux2.6.18>/net.ipv4.tcp_timestamps", StringValue ("0"));
94
      Config::Set ("/NodeList/3/$ns3::Ns3NscStack<linux2.6.26>/net.ipv4.tcp_timestamps", StringValue ("0"));
95
      Config::Set ("/NodeList/3/$ns3::Ns3NscStack<linux2.6.18>/net.ipv4.tcp_window_scaling", StringValue ("0"));
95
      Config::Set ("/NodeList/3/$ns3::Ns3NscStack<linux2.6.26>/net.ipv4.tcp_window_scaling", StringValue ("0"));
96
    }
96
    }
97
  // the freebsd stack is not yet built by default, so its commented out for now.
97
  // the freebsd stack is not yet built by default, so its commented out for now.
98
  // internetStack.SetNscStack ("libfreebsd5.so");
98
  // internetStack.SetNscStack ("libfreebsd5.so");

Return to bug 1129