]> hackdaworld.org Git - my-code/hdw-sniff.git/blobdiff - hdw-sniff.h
introduced prism wlan ng header members
[my-code/hdw-sniff.git] / hdw-sniff.h
index 40a8c178f10d9e85a2873c83247c3f2fe553f408..e7a69951679f8a5cabcc35268f598a378ed65a2d 100644 (file)
@@ -1 +1,10 @@
-/* empty */
+/* the pcap_process callback function */
+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 */
+        };