sums, not eating 100% cpu :)

This commit is contained in:
Arnout Engelen
2006-12-19 20:35:33 +00:00
parent 06bd2d4a25
commit c0e6a385e4
10 changed files with 140 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
#include <stdio.h>
#include <pcap.h>
#define DP_ERRBUFF_SIZE PCAP_ERRBUF_SIZE
#define DP_ERRBUF_SIZE PCAP_ERRBUF_SIZE
/* definitions */
@@ -24,6 +24,7 @@ enum dp_packet_type {
};*/
/*struct dp_header {
* pcap
};*/
typedef struct pcap_pkthdr dp_header;