wild stab at supporting PPP ('Linux cooked capture') packets..
This commit is contained in:
3
packet.h
3
packet.h
@@ -7,6 +7,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include "nethogs.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
@@ -54,6 +55,6 @@ private:
|
||||
short int sa_family;
|
||||
};
|
||||
|
||||
Packet * getPacket (const struct pcap_pkthdr * header, const u_char * packet);
|
||||
Packet * getPacket (const struct pcap_pkthdr * header, const u_char * packet, packet_type packettype);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user