src/devices/wifi/wifi-net-device.cc
changeset 3460 99698bc858e8
parent 3448 0bd851bb1225
child 3464 9e7bd353e7e7
equal deleted inserted replaced
3459:a67df503c7bc 3460:99698bc858e8
   314 WifiNetDevice::ForwardUp (Ptr<Packet> packet, const Mac48Address &from)
   314 WifiNetDevice::ForwardUp (Ptr<Packet> packet, const Mac48Address &from)
   315 {
   315 {
   316   m_rxLogger (packet, from);
   316   m_rxLogger (packet, from);
   317   LlcSnapHeader llc;
   317   LlcSnapHeader llc;
   318   packet->RemoveHeader (llc);
   318   packet->RemoveHeader (llc);
   319   Mac48Address to = from; // FIXME
   319   m_forwardUp (this, packet, llc.GetType (), from);
   320   PacketType packetType = PACKET_HOST; // FIXME
       
   321   m_forwardUp (this, packet, llc.GetType (), from, to, packetType);
       
   322 }
   320 }
   323 
   321 
   324 void
   322 void
   325 WifiNetDevice::LinkUp (void)
   323 WifiNetDevice::LinkUp (void)
   326 {
   324 {