LEFT | RIGHT |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2013 Natale Patriciello <natale.patriciello@gmail.com> | 3 * Copyright (c) 2013 Natale Patriciello <natale.patriciello@gmail.com> |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 m_bytesTransmitted (0), | 64 m_bytesTransmitted (0), |
65 m_restore (false), | 65 m_restore (false), |
66 m_firstDupAck (Time::FromInteger (0, Time::MS)) | 66 m_firstDupAck (Time::FromInteger (0, Time::MS)) |
67 { | 67 { |
68 SetTcpNoDelay (true); | 68 SetTcpNoDelay (true); |
69 | 69 |
70 m_cWnd = m_bWnd = m_initialBWnd = 0; | 70 m_cWnd = m_bWnd = m_initialBWnd = 0; |
71 } | 71 } |
72 | 72 |
73 void | 73 void |
| 74 TcpNoordwijk::ScaleSsThresh (uint8_t scaleFactor) |
| 75 { |
| 76 (void) scaleFactor; |
| 77 NS_LOG_WARN ("TcpNoordwijk does not perform slow start"); |
| 78 } |
| 79 |
| 80 void |
74 TcpNoordwijk::SetInitialSSThresh (uint32_t threshold) | 81 TcpNoordwijk::SetInitialSSThresh (uint32_t threshold) |
75 { | 82 { |
76 (void) threshold; | 83 (void) threshold; |
77 NS_LOG_WARN ("TcpNoordwijk does not perform slow start"); | 84 NS_LOG_WARN ("TcpNoordwijk does not perform slow start"); |
78 } | 85 } |
79 | 86 |
80 uint32_t | 87 uint32_t |
81 TcpNoordwijk::GetInitialSSThresh (void) const | 88 TcpNoordwijk::GetInitialSSThresh (void) const |
82 { | 89 { |
83 NS_LOG_WARN ("TcpNoordwijk does not perform slow start"); | 90 NS_LOG_WARN ("TcpNoordwijk does not perform slow start"); |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 806 |
800 m_bytesRetransmitted += m_segmentSize; | 807 m_bytesRetransmitted += m_segmentSize; |
801 m_cWnd = UnAckDataCount (); | 808 m_cWnd = UnAckDataCount (); |
802 } | 809 } |
803 | 810 |
804 Ptr<TcpSocketBase> | 811 Ptr<TcpSocketBase> |
805 TcpNoordwijk::Fork (void) | 812 TcpNoordwijk::Fork (void) |
806 { | 813 { |
807 return CopyObject<TcpNoordwijk> (this); | 814 return CopyObject<TcpNoordwijk> (this); |
808 } | 815 } |
LEFT | RIGHT |