LEFT | RIGHT |
(no file at all) | |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 const TcpHeader& h, SocketWho who); | 48 const TcpHeader& h, SocketWho who); |
49 virtual void ProcessedAck (const Ptr<const TcpSocketState> tcb, | 49 virtual void ProcessedAck (const Ptr<const TcpSocketState> tcb, |
50 const TcpHeader& h, SocketWho who); | 50 const TcpHeader& h, SocketWho who); |
51 | 51 |
52 virtual void CongStateTrace (const TcpSocketState::TcpCongState_t oldValue, | 52 virtual void CongStateTrace (const TcpSocketState::TcpCongState_t oldValue, |
53 const TcpSocketState::TcpCongState_t newValue); | 53 const TcpSocketState::TcpCongState_t newValue); |
54 | 54 |
55 virtual void Tx (const Ptr<const Packet> p, const TcpHeader&h, SocketWho who); | 55 virtual void Tx (const Ptr<const Packet> p, const TcpHeader&h, SocketWho who); |
56 virtual void Rx (const Ptr<const Packet> p, const TcpHeader&h, SocketWho who); | 56 virtual void Rx (const Ptr<const Packet> p, const TcpHeader&h, SocketWho who); |
57 | 57 |
58 virtual void RTOExpired (const Ptr<const TcpSocketState> tcb, SocketWho who); | 58 virtual void AfterRTOExpired (const Ptr<const TcpSocketState> tcb, SocketWho w
ho); |
59 | 59 |
60 void PktDropped (const Ipv4Header &ipH, const TcpHeader& tcpH, Ptr<const Packe
t> p); | 60 void PktDropped (const Ipv4Header &ipH, const TcpHeader& tcpH, Ptr<const Packe
t> p); |
61 virtual void FinalChecks (); | 61 virtual void FinalChecks (); |
62 | 62 |
63 virtual void ConfigureProperties (); | 63 virtual void ConfigureProperties (); |
64 virtual void ConfigureEnvironment (); | 64 virtual void ConfigureEnvironment (); |
65 | 65 |
66 bool m_pktDropped; | 66 bool m_pktDropped; |
67 bool m_pktWasDropped; | 67 bool m_pktWasDropped; |
68 uint32_t m_seqToKill; | 68 uint32_t m_seqToKill; |
69 uint32_t m_dupAckReceived; | 69 uint32_t m_dupAckReceived; |
70 | 70 |
71 SequenceNumber32 m_previousAck; | 71 SequenceNumber32 m_previousAck; |
72 SequenceNumber32 m_sndNextExpSeq; | 72 SequenceNumber32 m_sndNextExpSeq; |
73 SequenceNumber32 m_rcvNextExpAck; | 73 SequenceNumber32 m_rcvNextExpAck; |
74 | 74 |
75 uint32_t m_countRetr; | 75 uint32_t m_countRetr; |
76 | 76 |
77 uint32_t m_bytesRcvButNotAcked; | 77 uint32_t m_bytesRcvButNotAcked; |
78 | 78 |
79 Ptr<TcpSeqErrorModel> m_errorModel; | 79 Ptr<TcpSeqErrorModel> m_errorModel; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace ns3 | 82 } // namespace ns3 |
83 | 83 |
84 #endif // TCPFASTRETRTEST_H | 84 #endif // TCPFASTRETRTEST_H |
LEFT | RIGHT |