fix calc of arp hash value

This commit is contained in:
stubbfel
2017-06-08 21:38:27 +02:00
parent d202fdc778
commit c0b8a1b5e0
8 changed files with 78 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ public:
virtual ~TinsNetworkInterfaceCard();
virtual bool handle(IN const Tins::PDU & pdu, IN IPacketHandler * callBackHandler = nullptr) override;
virtual bool handle(IN const Tins::PDU & pdu, IN IPacketHandler * = nullptr) override;
virtual void sendPacket(IN const Tins::PDU & pdu) override;
virtual void startListen() override;
virtual void stopListen() override;
@@ -44,5 +44,6 @@ private:
std::atomic<bool> isSnifferRunning;
SPtrIPacketHandlerList handlerList;
std::string sniffNetworkInterfaceName;
static std::size_t calcHashValue(Tins::PDU & phyLayerLessPdu);
};
#endif