src/internet/model/tcp-tahoe.cc
changeset 10978 754c8256c35c
parent 10968 2d29fee2b7b8
child 11190 f0458968b67d
equal deleted inserted replaced
10977:f35701d8a0a0 10978:754c8256c35c
    44                     UintegerValue (3),
    44                     UintegerValue (3),
    45                     MakeUintegerAccessor (&TcpTahoe::m_retxThresh),
    45                     MakeUintegerAccessor (&TcpTahoe::m_retxThresh),
    46                     MakeUintegerChecker<uint32_t> ())
    46                     MakeUintegerChecker<uint32_t> ())
    47     .AddTraceSource ("CongestionWindow",
    47     .AddTraceSource ("CongestionWindow",
    48                      "The TCP connection's congestion window",
    48                      "The TCP connection's congestion window",
    49                      MakeTraceSourceAccessor (&TcpTahoe::m_cWnd))
    49                      MakeTraceSourceAccessor (&TcpTahoe::m_cWnd),
       
    50                      "ns3::TracedValue::Uint32Callback")
    50     .AddTraceSource ("SlowStartThreshold",
    51     .AddTraceSource ("SlowStartThreshold",
    51                      "TCP slow start threshold (bytes)",
    52                      "TCP slow start threshold (bytes)",
    52                      MakeTraceSourceAccessor (&TcpTahoe::m_ssThresh))
    53                      MakeTraceSourceAccessor (&TcpTahoe::m_ssThresh),
       
    54                      "ns3::TracedValue::Uint32Callback")
    53   ;
    55   ;
    54   return tid;
    56   return tid;
    55 }
    57 }
    56 
    58 
    57 TcpTahoe::TcpTahoe (void) : m_initialCWnd (1), m_retxThresh (3)
    59 TcpTahoe::TcpTahoe (void) : m_initialCWnd (1), m_retxThresh (3)