Left: | ||
Right: |
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) 2015 Natale Patriciello <natale.patriciello@gmail.com> | 3 * Copyright (c) 2015 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
568 * \param initialCwnd size of the initial cwnd | 568 * \param initialCwnd size of the initial cwnd |
569 */ | 569 */ |
570 void SetInitialCwnd (SocketWho who, uint32_t initialCwnd); | 570 void SetInitialCwnd (SocketWho who, uint32_t initialCwnd); |
571 | 571 |
572 ·· | 572 ·· |
573 /** | 573 /** |
574 * \brief Forcefully set the ecn mode on | 574 * \brief Forcefully set the ecn mode on |
575 * | 575 * |
576 * \param who socket to force | 576 * \param who socket to force |
577 */ | 577 */ |
578 void SetECN (SocketWho who); | 578 void SetEcn (SocketWho who); |
Tom Henderson
2017/03/27 18:53:54
ns-3 coding style would be 'SetEcn'
Shravya
2017/04/12 11:45:02
Done.
| |
579 | 579 |
580 /** | 580 /** |
581 * \brief Forcefully set the initial ssth | 581 * \brief Forcefully set the initial ssth |
582 * | 582 * |
583 * \param who socket to force | 583 * \param who socket to force |
584 * \param initialSsThresh size of the initial ssth | 584 * \param initialSsThresh size of the initial ssth |
585 */ | 585 */ |
586 void SetInitialSsThresh (SocketWho who, uint32_t initialSsThresh); | 586 void SetInitialSsThresh (SocketWho who, uint32_t initialSsThresh); |
587 | 587 |
588 /** | 588 /** |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1018 static inline TcpSocketState::TcpCongState_t | 1018 static inline TcpSocketState::TcpCongState_t |
1019 GetCongStateFrom (Ptr<const TcpSocketState> tcb) | 1019 GetCongStateFrom (Ptr<const TcpSocketState> tcb) |
1020 { | 1020 { |
1021 return tcb->m_congState.Get (); | 1021 return tcb->m_congState.Get (); |
1022 } | 1022 } |
1023 | 1023 |
1024 } // namespace ns3 | 1024 } // namespace ns3 |
1025 | 1025 |
1026 #endif // TCPGENERALTEST_H | 1026 #endif // TCPGENERALTEST_H |
1027 | 1027 |
LEFT | RIGHT |