OLD | NEW |
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) 2016 Universita' degli Studi di Napoli Federico II | 3 * Copyright (c) 2016 Universita' degli Studi di Napoli Federico II |
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 */ | 195 */ |
196 virtual void Print (std::ostream &os) const; | 196 virtual void Print (std::ostream &os) const; |
197 | 197 |
198 /** | 198 /** |
199 * \brief Marks the packet as a substitute for dropping it, such as for Explic
it Congestion Notification | 199 * \brief Marks the packet as a substitute for dropping it, such as for Explic
it Congestion Notification |
200 * | 200 * |
201 * \return true if the packet gets marked, false otherwise | 201 * \return true if the packet gets marked, false otherwise |
202 */ | 202 */ |
203 virtual bool Mark (void) = 0; | 203 virtual bool Mark (void) = 0; |
204 | 204 |
| 205 /** |
| 206 * \brief Checks if the packet is of L4S traffic when DualQ AQM Framework is u
sed |
| 207 * |
| 208 * \return true if the packet is of L4S traffic, false otherwise |
| 209 */ |
| 210 virtual bool IsL4S (void); |
| 211 |
205 private: | 212 private: |
206 /** | 213 /** |
207 * \brief Default constructor | 214 * \brief Default constructor |
208 * | 215 * |
209 * Defined and unimplemented to avoid misuse | 216 * Defined and unimplemented to avoid misuse |
210 */ | 217 */ |
211 QueueDiscItem (); | 218 QueueDiscItem (); |
212 /** | 219 /** |
213 * \brief Copy constructor | 220 * \brief Copy constructor |
214 * | 221 * |
215 * Defined and unimplemented to avoid misuse | 222 * Defined and unimplemented to avoid misuse |
216 */ | 223 */ |
217 QueueDiscItem (const QueueDiscItem &); | 224 QueueDiscItem (const QueueDiscItem &); |
218 /** | 225 /** |
219 * \brief Assignment operator | 226 * \brief Assignment operator |
220 * | 227 * |
221 * Defined and unimplemented to avoid misuse | 228 * Defined and unimplemented to avoid misuse |
222 * \returns | 229 * \returns |
223 */ | 230 */ |
224 QueueDiscItem &operator = (const QueueDiscItem &); | 231 QueueDiscItem &operator = (const QueueDiscItem &); |
225 | 232 |
226 Address m_address; //!< MAC destination address | 233 Address m_address; //!< MAC destination address |
227 uint16_t m_protocol; //!< L3 Protocol number | 234 uint16_t m_protocol; //!< L3 Protocol number |
228 uint8_t m_txq; //!< Transmission queue index | 235 uint8_t m_txq; //!< Transmission queue index |
229 }; | 236 }; |
230 | 237 |
231 } // namespace ns3 | 238 } // namespace ns3 |
232 | 239 |
233 #endif /* QUEUE_ITEM_H */ | 240 #endif /* QUEUE_ITEM_H */ |
OLD | NEW |