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) 2007-2008 Louis Pasteur University | 3 * Copyright (c) 2007-2008 Louis Pasteur University |
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 */ | 144 */ |
145 std::string DscpTypeToString (DscpType dscp) const; | 145 std::string DscpTypeToString (DscpType dscp) const; |
146 | 146 |
147 enum EcnType | 147 enum EcnType |
148 { | 148 { |
149 // Prefixed with "ECN" to avoid name clash | 149 // Prefixed with "ECN" to avoid name clash |
150 ECN_NotECT = 0x00, | 150 ECN_NotECT = 0x00, |
151 ECN_ECT1 = 0x01, | 151 ECN_ECT1 = 0x01, |
152 ECN_ECT0 = 0x02, | 152 ECN_ECT0 = 0x02, |
153 ECN_CE = 0x03 | 153 ECN_CE = 0x03 |
154 }; | 154 }; |
Mohit Tahiliani
2016/11/14 14:17:50
Remove the trailing space
| |
155 | 155 |
156 /** | 156 /** |
157 * \brief Set ECN Field | 157 * \brief Set ECN Field |
158 * \param ecn ECN Type | 158 * \param ecn ECN Type |
159 */ | 159 */ |
160 void SetEcn (EcnType ecn); | 160 void SetEcn (EcnType ecn); |
161 | 161 |
Mohit Tahiliani
2016/11/14 14:17:50
Remove this space
| |
162 /** | 162 /** |
163 * \return the ECN field of this packet. | 163 * \return the ECN field of this packet. |
164 */ | 164 */ |
165 EcnType GetEcn (void) const; | 165 EcnType GetEcn (void) const; |
166 | 166 |
167 /** | 167 /** |
168 * \param ecn the ECNType | 168 * \param ecn the ECNType |
169 * \return std::string of ECNType | 169 * \return std::string of ECNType |
170 */ | 170 */ |
171 std::string EcnTypeToString (EcnType ecn) const; | 171 std::string EcnTypeToString (EcnType ecn) const; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
303 /** | 303 /** |
304 * \brief The destination address. | 304 * \brief The destination address. |
305 */ | 305 */ |
306 Ipv6Address m_destinationAddress; | 306 Ipv6Address m_destinationAddress; |
307 }; | 307 }; |
308 | 308 |
309 } /* namespace ns3 */ | 309 } /* namespace ns3 */ |
310 | 310 |
311 #endif /* IPV6_HEADER_H */ | 311 #endif /* IPV6_HEADER_H */ |
312 | 312 |
LEFT | RIGHT |