|
|
| 283 |
void |
283 |
void |
| 284 |
WifiNetDevice::ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to) |
284 |
WifiNetDevice::ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to) |
| 285 |
{ |
285 |
{ |
| 286 |
m_rxLogger (packet, from); |
|
|
| 287 |
LlcSnapHeader llc; |
286 |
LlcSnapHeader llc; |
| 288 |
packet->RemoveHeader (llc); |
287 |
packet->RemoveHeader (llc); |
| 289 |
enum NetDevice::PacketType type; |
288 |
enum NetDevice::PacketType type; |
|
|
| 305 |
} |
304 |
} |
| 306 |
if (type != NetDevice::PACKET_OTHERHOST) |
305 |
if (type != NetDevice::PACKET_OTHERHOST) |
| 307 |
{ |
306 |
{ |
|
|
307 |
m_rxLogger (packet, from); |
| 308 |
m_forwardUp (this, packet, llc.GetType (), from); |
308 |
m_forwardUp (this, packet, llc.GetType (), from); |
| 309 |
} |
309 |
} |
| 310 |
if (!m_promiscRx.IsNull ()) |
310 |
if (!m_promiscRx.IsNull ()) |