Commit Graph

9 Commits

Author SHA1 Message Date
Guy Harris 63edea877f Have "get_xdlc_control()" and "dissect_xdlc_control()" return the
xDLC control field, so that its caller can not only determine from it
whether the frame has a payload, but can also determine how long the
control field is.  Put macros in "xdlc.h" to determine both of those.

Have "capture_llc()" and "dissect_llc()" use that information
appropriately.

svn path=/trunk/; revision=727
1999-09-26 20:31:51 +00:00
Gilbert Ramirez 4536f01901 Make Information Frame honor is_extended variable when reading Control.
svn path=/trunk/; revision=725
1999-09-26 13:34:10 +00:00
Guy Harris 6bd284169e No, 0xCC is SNRME. (I *told* you I hated reversing bit strings....)
svn path=/trunk/; revision=588
1999-08-27 18:02:41 +00:00
Guy Harris 970fa328a4 TEST is 0xE0, not 0xC0; 0xC0 is SNRME. (I hate having to reverse bit
strings....)  Thanks to Tom Gallagher at Madge for pointing this out.

svn path=/trunk/; revision=587
1999-08-27 18:01:02 +00:00
Guy Harris 9fc0d3aefe Have "get_xdlc_control()" and "dissect_xdlc_control()" just return a
Boolean indicating whether the frame has any payload to dissect or not.

svn path=/trunk/; revision=556
1999-08-23 23:24:36 +00:00
Guy Harris 397b2be709 The only LLC frame types that should be dissected based on their SAP or,
if the SAPs are SNAP, based on their ethertype are I frames and UI
frames; others don't have payload to be dissected as belonging to other
protocols.

svn path=/trunk/; revision=555
1999-08-23 22:47:13 +00:00
Guy Harris afe2eecfd7 Get rid of the comments saying "make ["decode_numeric_bitfield()"] shift
the value appropriately!" - a change from Olivier Abad did so.

svn path=/trunk/; revision=501
1999-08-16 05:54:32 +00:00
Guy Harris d7dc426092 Patch from Olivier Abad to make it correctly display non-extended
informatino frames.

svn path=/trunk/; revision=443
1999-08-05 06:30:05 +00:00
Guy Harris 47d1269da4 Add a "dissect_xdlc_control()" routine, to dissect the control field of
SDLC-derived protocols such as HDLC and derivatives of it such as LAPB,
IEEE 802.2 LLC, and so on.  Have the LLC and LAPB dissectors use it.

Make "dissect_numeric_bitfield()" put the low-order bit of the bitfield
in the low-order bit of an integer when printing it, so that the right
value is printed.

svn path=/trunk/; revision=434
1999-08-04 04:37:46 +00:00