]> hackdaworld.org Git - my-code/hdw-sniff.git/commitdiff
hdw-sniff -- start of devel, Wed Sep 4 04:49:28 CEST 2002
authorhackbard <hackbard>
Wed, 4 Sep 2002 02:46:26 +0000 (02:46 +0000)
committerhackbard <hackbard>
Wed, 4 Sep 2002 02:46:26 +0000 (02:46 +0000)
hdw-sniff.c [new file with mode: 0644]
hdw-sniff.h [new file with mode: 0644]

diff --git a/hdw-sniff.c b/hdw-sniff.c
new file mode 100644 (file)
index 0000000..2757d6a
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * hdw-sniff, sniffer using pcap lib
+ *
+ * author: hackbard@hackdaworld.dyndns.org
+ */
+
+#include <stdio.h>
+#include <pcap.h>
+#include "hdw-sniff.h" /* my functions */
+
+int main(int argc, char *argv[]) {
+       
+       int count;
+
+       /* parse the arguments */
+       for(i=1;i<argc,++i) {
+                       
diff --git a/hdw-sniff.h b/hdw-sniff.h
new file mode 100644 (file)
index 0000000..40a8c17
--- /dev/null
@@ -0,0 +1 @@
+/* empty */