2022-12-16 15:08:53 +08:00
|
|
|
#ifndef GLOBALFUNC_H
|
|
|
|
#define GLOBALFUNC_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QByteArray>
|
|
|
|
|
2023-03-20 12:11:58 +08:00
|
|
|
#include "pcaprethread.h"
|
|
|
|
|
|
|
|
extern pcap_t *pcapSend;
|
|
|
|
extern PcapReThread *reThd;
|
|
|
|
|
|
|
|
|
2023-03-24 18:41:48 +08:00
|
|
|
QByteArray getNetDev(QWidget *parent, QByteArray, bool);
|
2022-12-16 15:08:53 +08:00
|
|
|
|
2023-03-20 12:11:58 +08:00
|
|
|
int sendMsg(QByteArray, const Resp &resp);
|
|
|
|
int sendMsgNet(QByteArray, const Resp &resp);
|
2023-03-20 11:30:19 +08:00
|
|
|
|
2022-12-16 15:08:53 +08:00
|
|
|
#endif // GLOBALFUNC_H
|