diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-09 08:15:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-09 08:15:04 +0000 |
commit | bf7e4ce90948af368a11a043fa2617f72e357b96 (patch) | |
tree | 32f8d9aeea2e18b5e05ebebd666859514fc47739 /packet-v120.c | |
parent | 7b12868ebf417936bc3fabee7791753bd9eba569 (diff) | |
download | wireshark-bf7e4ce90948af368a11a043fa2617f72e357b96.tar.gz wireshark-bf7e4ce90948af368a11a043fa2617f72e357b96.tar.bz2 wireshark-bf7e4ce90948af368a11a043fa2617f72e357b96.zip |
Move the definition of the FROM_DCE bit in the "flags" field of a
"struct x25_phdr" to "wiretap/wtap.h".
Have two X.25 dissectors, one of which assumes that there's a "struct
x25_phdr" pseudo-header and one of which doesn't; the former uses the
information in that pseudo-header to determine whether the packet is
DTE->DCE or DCE->DTE, and the latter assumes it has no clue whether the
packet is DTE->DCE or DCE->TDE. Use the former one in the LAPB
dissector, and the latter one in the XOT dissector and in the LLC
dissector table.
In the X.25-over-TCP dissector, handle multiple X.25 packets per TCP
segment, and handle X.25 packets split across TCP segments.
svn path=/trunk/; revision=5134
Diffstat (limited to 'packet-v120.c')
-rw-r--r-- | packet-v120.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-v120.c b/packet-v120.c index 9d762020f8..f69fb70d04 100644 --- a/packet-v120.c +++ b/packet-v120.c @@ -2,7 +2,7 @@ * Routines for v120 frame disassembly * Bert Driehuis <driehuis@playbeing.org> * - * $Id: packet-v120.c,v 1.24 2002/01/21 07:36:44 guy Exp $ + * $Id: packet-v120.c,v 1.25 2002/04/09 08:15:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -37,8 +37,6 @@ #include <epan/packet.h> #include "xdlc.h" -#define FROM_DCE 0x80 - static int proto_v120 = -1; static int hf_v120_address = -1; static int hf_v120_control = -1; |