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 /wiretap/i4btrace.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 'wiretap/i4btrace.c')
-rw-r--r-- | wiretap/i4btrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/i4btrace.c b/wiretap/i4btrace.c index 0c2294f521..9b9eec2066 100644 --- a/wiretap/i4btrace.c +++ b/wiretap/i4btrace.c @@ -1,6 +1,6 @@ /* i4btrace.c * - * $Id: i4btrace.c,v 1.19 2002/03/05 08:39:29 guy Exp $ + * $Id: i4btrace.c,v 1.20 2002/04/09 08:15:04 guy Exp $ * * Wiretap Library * Copyright (c) 1999 by Bert Driehuis <driehuis@playbeing.org> @@ -338,7 +338,7 @@ i4b_set_pseudo_header(wtap *wth, i4b_trace_hdr_t *hdr, * V.120. */ pseudo_header->x25.flags = - (hdr->dir == FROM_TE) ? 0x00 : 0x80; + (hdr->dir == FROM_TE) ? 0x00 : FROM_DCE; } break; } |