24 explicit CArp(QObject *parent =
nullptr);
27 int WakeOnLan(QSharedPointer<CParameterWakeOnLan> para);
29#ifdef HAVE_PCAPPLUSPLUS
33 ArpRequest(QSharedPointer<CParameterWakeOnLan> p) {
36 nRepeat = p->GetRepeat();
37 nTimeout = p->GetTimeOut();
38 tmRepeat = QTime::currentTime();
40 tmStart = QTime::currentTime();
42 QSharedPointer<CParameterWakeOnLan> para;
50 QMap<std::string, QSharedPointer<ArpRequest> > m_Para;
52 void ListInterfaces();
54 int SendArpPackage(pcpp::PcapLiveDevice* device,
55 std::string szSourceIp, std::string szTargetIp);
59 int GetMac(QSharedPointer<CParameterWakeOnLan> para
60#ifdef HAVE_PCAPPLUSPLUS
61 ,QSharedPointer<ArpRequest> ar = QSharedPointer<ArpRequest>()