7 #ifndef RECEIVEPACKETS_H 8 #define RECEIVEPACKETS_H 15 #define SIZE_ETHERNET 14 76 #endif // RECEIVEPACKETS_H
u_char ether_dhost[ETHER_ADDR_LEN]
struct sniff_ethernet_s sniff_ethernet_t
The sniff_ethernet_t structure is a C style of the Ethernet header.
Global configuration initializer.
e_pcapError
The e_pcapError enum defines the PCAP errors.
~ReceivePackets()
~ReceivePackets ReceivePackets destructor.
u_char ether_shost[ETHER_ADDR_LEN]
The sniff_ethernet_t structure is a C style of the Ethernet header.
ParameterConfiguration * m_paramConf
ReceivePackets(ParameterConfiguration *paramConfig)
ReceivePackets ReceivePackets constructor.
void packetReceived(QByteArray)
packetReceived Signal used when a packet is received.
int receive()
receive Slot used to receive packet from the hybrid interface.