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) 2010 CTTC | 3 * Copyright (c) 2010 CTTC |
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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 return false; | 258 return false; |
259 } | 259 } |
260 | 260 |
261 bool | 261 bool |
262 NonCommunicatingNetDevice::SendFrom (Ptr<Packet> packet, const Address& src, con
st Address& dest, uint16_t protocolNumber) | 262 NonCommunicatingNetDevice::SendFrom (Ptr<Packet> packet, const Address& src, con
st Address& dest, uint16_t protocolNumber) |
263 { | 263 { |
264 NS_LOG_FUNCTION (packet << src << dest << protocolNumber); | 264 NS_LOG_FUNCTION (packet << src << dest << protocolNumber); |
265 return false; | 265 return false; |
266 } | 266 } |
267 | 267 |
| 268 QueueState |
| 269 NonCommunicatingNetDevice::GetQueueState (uint32_t index) |
| 270 { |
| 271 QueueState qs; |
| 272 return qs; |
| 273 } |
| 274 uint32_t |
| 275 NonCommunicatingNetDevice::GetNQueues (void) |
| 276 { |
| 277 return 0; |
| 278 } |
| 279 bool |
| 280 NonCommunicatingNetDevice::IsTxPathBlocked (void) |
| 281 { |
| 282 return false; |
| 283 } |
| 284 void |
| 285 NonCommunicatingNetDevice::SetQueueStateChangeCallback (Callback<void,uint32_t>
callback) |
| 286 {} |
268 | 287 |
269 } // namespace ns3 | 288 } // namespace ns3 |
OLD | NEW |