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) 2008 INRIA | 3 * Copyright (c) 2008 INRIA |
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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 { | 233 { |
234 m_promiscCallback = cb; | 234 m_promiscCallback = cb; |
235 } | 235 } |
236 | 236 |
237 bool | 237 bool |
238 LoopbackNetDevice::SupportsSendFrom (void) const | 238 LoopbackNetDevice::SupportsSendFrom (void) const |
239 { | 239 { |
240 return true; | 240 return true; |
241 } | 241 } |
242 | 242 |
| 243 QueueState |
| 244 LoopbackNetDevice::GetQueueState (uint32_t index) |
| 245 { |
| 246 QueueState qs; |
| 247 return qs; |
| 248 } |
| 249 uint32_t |
| 250 LoopbackNetDevice::GetNQueues (void) |
| 251 { |
| 252 return 0; |
| 253 } |
| 254 bool |
| 255 LoopbackNetDevice::IsTxPathBlocked (void) |
| 256 { |
| 257 return false; |
| 258 } |
| 259 void |
| 260 LoopbackNetDevice::SetQueueStateChangeCallback (Callback<void,uint32_t> callback
) |
| 261 {} |
| 262 |
243 } // namespace ns3 | 263 } // namespace ns3 |
OLD | NEW |