]> hackdaworld.org Git - my-code/hdw-sniff.git/blobdiff - hdw-sniff.h
added debug symbols to figure out about frame ctl
[my-code/hdw-sniff.git] / hdw-sniff.h
index d7a3e8961f3e9ab92bfdbc9a61a5fbaa4c0a861c..e7a69951679f8a5cabcc35268f598a378ed65a2d 100644 (file)
@@ -2,4 +2,9 @@
 void pcap_process(u_char *count,const struct pcap_pkthdr *pcap_header,
                        const u_char *package);
 
-
+/* info struct */
+struct info_struct {
+                int count;      /* count packages */
+                char dev[10];   /* device */
+                char mmode;     /* monitor type ... and later more */
+        };