Commit Graph

17 Commits

Author SHA1 Message Date
Guy Harris 911bad80f0 Have two strings in an enum_val_t - one that's a short string that is
convenient to put into a command line (no capital letters, no spaces to
require quotes), and one that's a detailed description for use in the
UI.  Allow either of them in the preferences file or "-o" option; use
the detailed description in the UI, and also use it when writing the
preferences out, so that the preference will be readable by older
versions of Ethereal (assuming the preference existed in that version).

Update "README.developer" to give more detail about an enum_val_t (and
to put the _t in), and to give a more detailed description of the
"radio_buttons" argument to "prefs_register_enum_preference()".

svn path=/trunk/; revision=10982
2004-05-24 02:25:21 +00:00
Guy Harris b8b4a6e3a8 From Michael Lum:
ANSI IS-801 support;

	dissect more GSM supplementary services messages and fields.

svn path=/trunk/; revision=10503
2004-03-27 11:32:30 +00:00
Jörg Mayer 3f020f582e Compiling with -pedantic:
warning: comma at end of enumerator list

svn path=/trunk/; revision=9383
2003-12-21 04:31:58 +00:00
Guy Harris ba9290fe08 From Michael Lum:
Fix point code display.

	Add taps for ANSI MAP and ISUP statistics.

svn path=/trunk/; revision=9247
2003-12-12 19:55:28 +00:00
Guy Harris a93463727e Get rid of the private "my_decode_bitfield_value()" a number of
dissectors had.  Instead, rename it "other_decode_bitfield_value()", put
it in "epan/to_str.c", and make "decode_bitfield_value()" use it.

svn path=/trunk/; revision=9213
2003-12-08 23:40:13 +00:00
Guy Harris 56c65fa63b From Michael Lum: Ethereal tap for ANSI A-interface.
Tweak some Makefile.nmake whitespace.

svn path=/trunk/; revision=9159
2003-12-03 23:46:23 +00:00
Guy Harris ad0107ddf4 From Michael Lum:
add a message statistics tap for ANSI A interface for Tethereal;

	fix the BSSAP, BSMAP, and DTAP interface dissectors to call
	subdissectors even if no protocol tree is being built.

svn path=/trunk/; revision=9132
2003-12-01 23:05:09 +00:00
Guy Harris 7bd2e232a9 Export "protocol_t" as an opaque type.
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.

Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).

Change some direct dissector calls to go through handles.

svn path=/trunk/; revision=8979
2003-11-16 23:17:27 +00:00
Guy Harris f9383ddd0e From Michael Lum:
Change P_xxx to ANSI_A_E_xxx.

        Fix decoding of some parameters.

	Fix initialization of ett array.

svn path=/trunk/; revision=8934
2003-11-11 05:51:09 +00:00
Guy Harris 5eb8b8a2a0 From Albert Chin: <stdlib.h> on HP-UX 11.00 (and possibly 10.20 and
perhaps some versions of Digital/Tru64 UNIX) drags in <wait.h>, which
drags in <sys/procset.h>, which defines P_SID in ways that cause this
not to compile.  Use P_MY_SID instead.

svn path=/trunk/; revision=8931
2003-11-10 22:31:06 +00:00
Guy Harris 890255609d From Albert Chin: dynamically allocate the "ett" array - some compilers
(such as at least one older version of the HP C compiler) can't cope
with constant expressions that involve the "?" operator, it appears;
they think it's not a constant expression.

Also, as Albert notes, there's no reason for "ett" to be static here.

svn path=/trunk/; revision=8928
2003-11-10 20:15:28 +00:00
Guy Harris 891fe0f518 Remove accidentally-inserted letter.
svn path=/trunk/; revision=8920
2003-11-09 22:32:44 +00:00
Guy Harris 7b533bb611 From Michael Lum:
Fix some incorrect bit shifts.

	Get rid of non-portable "%N$" constructs in printf formats.

Use "%u", not "%d", to print unsigned quantities.

svn path=/trunk/; revision=8919
2003-11-09 22:30:05 +00:00
Guy Harris ada2c17a99 Get rid of includes of <gmodule.h> (we're not loading any code at
run-time in the dissector itself), and <sys/types.h> and <netinet/in.h>
(we shouldn't need either of those, and they might be responsible for
dragging in <sys/procset.h> on Digital UNIX - that header defines P_SID
in a way that conflicts with our definition).

svn path=/trunk/; revision=8889
2003-11-05 20:19:39 +00:00
Guy Harris 8e67a430e8 From Michael Lum:
GSM BSSMAP (GSM 08.08) support
	GSM DTAP (3GPP TS 24.008) support
	GSM SMS (3GPP TS 24.011) support
	GSM SS (3GPP TS 24.080) support
	GSM SMS TPDU (3GPP TS 23.040) support

svn path=/trunk/; revision=8826
2003-10-30 07:00:18 +00:00
Guy Harris 67406fcfd2 From Michael Lum: fixed BCD decoding of filler nibble and fixed some
minor bugs.

svn path=/trunk/; revision=8803
2003-10-28 18:08:52 +00:00
Guy Harris 8857c91a1d From Michael Lum:
BSSAP (GSM 08.06)/BSAP (IOS 4.0.1) support
	IOS 4.0.1 support
	Add Transport Layer support to ANSI IS-637-A dissector

svn path=/trunk/; revision=8751
2003-10-22 20:59:02 +00:00