aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ngsniffer.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1998-11-12 00:06:47 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1998-11-12 00:06:47 +0000
commitfcb4c78a6a01d22f0db9d6de870342511030cb01 (patch)
treed32b2d7467b0266e722aa763c9b48cf0df2c802c /wiretap/ngsniffer.h
parentc2eeef9467d44eb4ea2cd6bd08f62f5c9c293810 (diff)
A lengthy patch to add the wiretap library. Wiretap is not used by default
because it is still in its infancy, but it can be compiled in optionally. The library exists in its own subdirectory ethereal/wiretap. This patch also edits all the packet-*.c files to remove the #include <pcap.h> line which is unnecessary in these files. In the ethereal code, file.c is the most heavily modified with #ifdef WITH_WIRETAP lines for the optional library. svn path=/trunk/; revision=82
Diffstat (limited to 'wiretap/ngsniffer.h')
-rw-r--r--wiretap/ngsniffer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wiretap/ngsniffer.h b/wiretap/ngsniffer.h
new file mode 100644
index 0000000000..b3e3d065ff
--- /dev/null
+++ b/wiretap/ngsniffer.h
@@ -0,0 +1,11 @@
+struct ngsniffer_hdr {
+ guint32 junk1;
+ guint32 junk2;
+ guint32 junk3;
+ guint16 bytes;
+ guint16 junk4;
+ guint32 junk5;
+};
+
+
+int ngsniffer_read(wtap *wth);