From 65006c10b34ca9dee50c9cfb0acba1229e1f2296 Mon Sep 17 00:00:00 2001 From: hackbard Date: Wed, 4 Sep 2002 02:46:26 +0000 Subject: [PATCH 1/1] hdw-sniff -- start of devel, Wed Sep 4 04:49:28 CEST 2002 --- hdw-sniff.c | 17 +++++++++++++++++ hdw-sniff.h | 1 + 2 files changed, 18 insertions(+) create mode 100644 hdw-sniff.c create mode 100644 hdw-sniff.h diff --git a/hdw-sniff.c b/hdw-sniff.c new file mode 100644 index 0000000..2757d6a --- /dev/null +++ b/hdw-sniff.c @@ -0,0 +1,17 @@ +/* + * hdw-sniff, sniffer using pcap lib + * + * author: hackbard@hackdaworld.dyndns.org + */ + +#include +#include +#include "hdw-sniff.h" /* my functions */ + +int main(int argc, char *argv[]) { + + int count; + + /* parse the arguments */ + for(i=1;i