This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2024_PacketAnalyzer/packetmanager.h

23 lines
501 B
C
Raw Normal View History

#ifndef PACKETMANAGER_H
#define PACKETMANAGER_H
#include <QObject>
#include <GeneralUtils.h>
#include <IPv4Layer.h>
#include <IPv6Layer.h>
#include <Packet.h>
class PacketManager : public QObject
{
Q_OBJECT
public:
explicit PacketManager(QObject *parent = nullptr);
static QString getProtocolTypeAsString(pcpp::ProtocolType);
static QStringList getPacketSourceAndDestination(pcpp::Packet*);
static QString getPacketData(pcpp::RawPacket*);
signals:
};
#endif // PACKETMANAGER_H