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 University of Washington | 3 * Copyright (c) 2008 University of Washington |
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 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 { | 1125 { |
1126 return true; | 1126 return true; |
1127 } | 1127 } |
1128 | 1128 |
1129 void· | 1129 void· |
1130 EmuNetDevice::SetReceiveCallback (NetDevice::ReceiveCallback cb) | 1130 EmuNetDevice::SetReceiveCallback (NetDevice::ReceiveCallback cb) |
1131 { | 1131 { |
1132 m_rxCallback = cb; | 1132 m_rxCallback = cb; |
1133 } | 1133 } |
1134 | 1134 |
| 1135 QueueState |
| 1136 EmuNetDevice::GetQueueState (uint32_t index) |
| 1137 { |
| 1138 QueueState qs; |
| 1139 return qs; |
| 1140 } |
| 1141 uint32_t |
| 1142 EmuNetDevice::GetNQueues (void) |
| 1143 { |
| 1144 return 0; |
| 1145 } |
| 1146 bool |
| 1147 EmuNetDevice::IsTxPathBlocked (void) |
| 1148 { |
| 1149 return false; |
| 1150 } |
| 1151 void |
| 1152 EmuNetDevice::SetQueueStateChangeCallback (Callback<void,uint32_t> callback) |
| 1153 {} |
1135 } // namespace ns3 | 1154 } // namespace ns3 |
OLD | NEW |