38 const MACAddress &srcMACAdress, quint16 etherType);
50 static quint32 getFCS(
const MACAddress &destMACAdress,
51 const MACAddress &srcMACAdress, quint16 etherType,
60 static quint32 calculateCRC32(
const QByteArray &data);
Represents a Media Access Control (MAC) address.
Definition macaddress.h:26
A static class that provides methods to handle MAC headers and their Frame Check Sequence (FCS).
Definition mac.h:27
static void initHeader(Package &data, const MACAddress &destMACAdress, const MACAddress &srcMACAdress, quint16 etherType)
Initializes a MAC header.
Definition mac.cpp:7
Represents a network package.
Definition package.h:28
Contains the MACAddress class definition.
Contains the Package class definition.