equal
deleted
inserted
replaced
644 // |
644 // |
645 m_promiscSnifferTrace (originalPacket); |
645 m_promiscSnifferTrace (originalPacket); |
646 |
646 |
647 if (!m_promiscRxCallback.IsNull ()) |
647 if (!m_promiscRxCallback.IsNull ()) |
648 { |
648 { |
649 m_promiscRxCallback (this, packet->Copy (), protocol, header.GetSource (), header.GetDestination (), packetType); |
649 m_promiscRxCallback (this, packet, protocol, header.GetSource (), header.GetDestination (), packetType); |
650 } |
650 } |
651 |
651 |
652 // |
652 // |
653 // If this packet is not destined for some other host, it must be for us |
653 // If this packet is not destined for some other host, it must be for us |
654 // as either a broadcast, multicast or unicast. We need to hit the mac |
654 // as either a broadcast, multicast or unicast. We need to hit the mac |