small fixes in documentation + initial checkin of wep - crack tool
[my-code/hdw-sniff.git] / main.h
diff --git a/main.h b/main.h
index d89d90e..0c49128 100644 (file)
--- a/main.h
+++ b/main.h
@@ -82,8 +82,8 @@ typedef struct s_info {
   unsigned char mode; /* ieee802.11/prism mode */
   char device[MAX_DEV_CHARS]; /* sniffed devie */
   int log_fd; /* file descriptor for logfile */
-  int pcap_fd; /* fd for reading pcap events */
-  int dump_fd; /* fd for dumping received packages */
+  char dump_file[128];
+  pcap_dumper_t *dump_handle;
   int current_channel;
   int channel_hop_fd;
   pcap_t *pcap_handle;