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) 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 uint16_t | 95 uint16_t |
96 NonCommunicatingNetDevice::GetMtu (void) const | 96 NonCommunicatingNetDevice::GetMtu (void) const |
97 { | 97 { |
98 NS_LOG_FUNCTION (this); | 98 NS_LOG_FUNCTION (this); |
99 return 0; | 99 return 0; |
100 } | 100 } |
101 | 101 |
102 void | 102 void |
103 NonCommunicatingNetDevice::SetAddress (Address address) | 103 NonCommunicatingNetDevice::SetAddress (Address address) |
104 { | 104 { |
105 NS_UNUSED(address); | 105 NS_UNUSED (address); |
106 NS_LOG_FUNCTION (this); | 106 NS_LOG_FUNCTION (this); |
107 } | 107 } |
108 | 108 |
109 Address | 109 Address |
110 NonCommunicatingNetDevice::GetAddress (void) const | 110 NonCommunicatingNetDevice::GetAddress (void) const |
111 { | 111 { |
112 NS_LOG_FUNCTION (this); | 112 NS_LOG_FUNCTION (this); |
113 return Address (); | 113 return Address (); |
114 } | 114 } |
115 | 115 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 bool | 259 bool |
260 NonCommunicatingNetDevice::SendFrom (Ptr<Packet> packet, const Address& src, con
st Address& dest, uint16_t protocolNumber) | 260 NonCommunicatingNetDevice::SendFrom (Ptr<Packet> packet, const Address& src, con
st Address& dest, uint16_t protocolNumber) |
261 { | 261 { |
262 NS_LOG_FUNCTION (packet << src << dest << protocolNumber); | 262 NS_LOG_FUNCTION (packet << src << dest << protocolNumber); |
263 return false; | 263 return false; |
264 } | 264 } |
265 | 265 |
266 | 266 |
267 } // namespace ns3 | 267 } // namespace ns3 |
LEFT | RIGHT |