begin to parse frame ctl hdr + listing sta's
[my-code/hdw-sniff.git] / main.h
diff --git a/main.h b/main.h
index 0a39b7b..9c2387a 100644 (file)
--- a/main.h
+++ b/main.h
@@ -57,13 +57,13 @@ typedef struct s_info {
   int count; /* count packages */
   unsigned char mode; /* monitoring/managed mode */
   char device[MAX_DEV_CHARS]; /* sniffed devie */
-  int logfile_fd; /* file descriptof for logfile */
+  int log_fd; /* file descriptor for logfile */
   int pcap_fd; /* fd for reading pcap events */
+  int dump_fd; /* fd for dumping received packages */
   int current_channel;
   int channel_hop_fd;
-  char key[13]; /* wep key */
   pcap_t *pcap_handle;
-  t_data data;
+  t_list sniffed_sta;
   int view_table;
 } t_info;