aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-28 02:08:48 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-28 02:08:48 +0000
commit9f084a7ebc9e583bb9fd0b4bd1246c652838b81f (patch)
tree20ef8a1633e38b15d8d364c99ef1ec8f08ea7425 /wiretap
parentd6c3d1b5bfb5c909647fd29ba51a282d4d0e971c (diff)
downloadwireshark-9f084a7ebc9e583bb9fd0b4bd1246c652838b81f.tar.gz
wireshark-9f084a7ebc9e583bb9fd0b4bd1246c652838b81f.tar.bz2
wireshark-9f084a7ebc9e583bb9fd0b4bd1246c652838b81f.zip
Add in a comment about the "fs" and "flags" fields in the "frame2"
record. svn path=/trunk/; revision=1130
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/ngsniffer.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c
index b7b79afa89..f24a62c6aa 100644
--- a/wiretap/ngsniffer.c
+++ b/wiretap/ngsniffer.c
@@ -1,6 +1,6 @@
/* ngsniffer.c
*
- * $Id: ngsniffer.c,v 1.26 1999/11/27 20:46:46 guy Exp $
+ * $Id: ngsniffer.c,v 1.27 1999/11/28 02:08:48 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -475,6 +475,21 @@ static int ngsniffer_read(wtap *wth, int *err)
t = (double)time_low+(double)(time_med)*65536.0 +
(double)time_high*4294967296.0;
+ /*
+ * In one PPP "Internetwork analyzer" capture,
+ * the only bit seen in "fs" is the 0x80 bit,
+ * which probably indicates the packet's
+ * direction; all other bits were zero.
+ * All bits in "frame2.flags" were zero.
+ *
+ * In one Ethernet capture, "fs" was always 0,
+ * and "flags" was either 0 or 0x18, with no
+ * obvious correlation with anything.
+ *
+ * In one Token Ring capture, "fs" was either 0
+ * or 0xcc, and "flags" was either 0 or 0x18,
+ * with no obvious correlation with anything.
+ */
wth->phdr.pseudo_header.x25.flags = frame2.fs & 0x80;
goto found;