Guy Harris
ab797734dd
Get rid of the private "my_match_strval()" routine in many dissectors;
...
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.
Make those routines, and "val_to_str()", return a "const" pointer.
Update dissectors as necessary to squelch compiler warnings produced by
that.
Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string. Clean up some other
"match_strval()"/"val_to_str()" usages.
Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.
Make some global variables in the AFS4INT dissector local.
Make some routines not used outside the module they're in static.
Make some tables "static const".
Clean up white space.
Fix Gerald's address in some files.
svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
Guy Harris
2b07720c2f
Set the Info column to the correctly-capitalized name.
...
Use "val_to_str()" to set the Info column, and give the "hyperscsi.cmd"
field a value_string table.
svn path=/trunk/; revision=14785
2005-06-26 19:55:06 +00:00
Ulf Lamping
6c3b559e21
value_string.c(71) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14784
2005-06-26 11:40:26 +00:00
Ulf Lamping
ba1d304f7a
prefs.c(1218) : warning C4761: integral size mismatch in argument; conversion supplied
...
prefs.c(1230) : warning C4761: integral size mismatch in argument; conversion supplied
prefs.c(1240) : warning C4761: integral size mismatch in argument; conversion supplied
prefs.c(1245) : warning C4761: integral size mismatch in argument; conversion supplied
svn path=/trunk/; revision=14783
2005-06-26 11:32:02 +00:00
Ulf Lamping
d5ae7ee8af
proto.c(2941) : warning C4090: 'function' : different 'const' qualifiers
...
proto.c(2941) : warning C4022: 'g_tree_insert' : pointer mismatch for actual parameter 2
svn path=/trunk/; revision=14782
2005-06-26 11:29:04 +00:00
Ulf Lamping
1e0675a01b
packet-x11.c(1780) : warning C4090: 'function' : different 'const' qualifiers
...
packet-x11.c(1780) : warning C4022: 'g_tree_insert' : pointer mismatch for actual parameter 3
packet-x11.c(2209) : warning C4090: 'initializing' : different 'const' qualifiers
svn path=/trunk/; revision=14781
2005-06-26 11:24:26 +00:00
Ulf Lamping
debc4cd849
packet-smb.c(14406) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14780
2005-06-26 11:21:39 +00:00
Ulf Lamping
0265375589
packet-pgsql.c(891) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14779
2005-06-26 11:18:47 +00:00
Ulf Lamping
10ffd2da48
packet-diameter.c(856) : warning C4090: 'function' : different 'const' qualifiers
...
packet-diameter.c(856) : warning C4024: 'addVendor' : different types for formal and actual parameter 2
packet-diameter.c(857) : warning C4090: 'function' : different 'const' qualifiers
packet-diameter.c(857) : warning C4024: 'addVendor' : different types for formal and actual parameter 3
packet-diameter.c(863) : warning C4090: 'function' : different 'const' qualifiers
packet-diameter.c(863) : warning C4024: 'addCommand' : different types for formal and actual parameter 2
svn path=/trunk/; revision=14778
2005-06-26 11:10:26 +00:00
Anders Broman
1bad9775dd
Add a signal
...
svn path=/trunk/; revision=14777
2005-06-26 11:03:39 +00:00
Ulf Lamping
c14334db25
packet-dcerpc-samr.c(2795) : warning C4090: '=' : different 'const' qualifiers
...
packet-dcerpc-samr.c(2900) : warning C4090: '=' : different 'const' qualifiers
packet-dcerpc-samr.c(2933) : warning C4090: '=' : different 'const' qualifiers
svn path=/trunk/; revision=14776
2005-06-26 11:02:13 +00:00
Anders Broman
234594dfc0
Add a signal
...
svn path=/trunk/; revision=14775
2005-06-26 11:01:04 +00:00
Anders Broman
7e2903bdc8
Fix a compiler warning.
...
svn path=/trunk/; revision=14774
2005-06-26 11:00:19 +00:00
Anders Broman
cc862131a2
Fix a compiler warning and set eol-style.
...
svn path=/trunk/; revision=14773
2005-06-26 10:59:15 +00:00
Ulf Lamping
a96c3b0f73
packet-ansi_map.c(760) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14772
2005-06-26 10:58:32 +00:00
Ulf Lamping
ac5e6ff1c6
packet-ansi_a.c(460) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14771
2005-06-26 10:55:34 +00:00
Ulf Lamping
d2081016d5
packet-ansi_801.c(93) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14770
2005-06-26 10:51:56 +00:00
Ulf Lamping
7589aef14f
packet-ansi_683.c(93) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14769
2005-06-26 10:48:27 +00:00
Ulf Lamping
c660aa2e54
packet-ansi_637.c(288) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14768
2005-06-26 10:45:25 +00:00
Ulf Lamping
5b9f563924
packet-alcap.c(195) : warning C4090: 'return' : different 'const' qualifiers
...
svn path=/trunk/; revision=14767
2005-06-26 10:41:38 +00:00
Ulf Lamping
630881b469
proto_hier_stats_dlg.c(99) : warning C4090: '=' : different 'const' qualifiers
...
svn path=/trunk/; revision=14766
2005-06-26 10:28:51 +00:00
Ulf Lamping
da12395ac6
sctp_graph_dlg.c(383) : warning C4244: '=' : conversion from 'unsigned int ' to 'float ', possible loss of data
...
svn path=/trunk/; revision=14765
2005-06-26 10:26:47 +00:00
Ulf Lamping
1c897f0559
remove compiler warnings:
...
main.c(345) : warning C4090: 'function' : different 'const' qualifiers
main.c(345) : warning C4022: 'simple_dialog_set_cb' : pointer mismatch for actual parameter 3
svn path=/trunk/; revision=14764
2005-06-26 10:23:39 +00:00
Ulf Lamping
f7ceac2ff7
we don't have the capture normal mode any longer
...
svn path=/trunk/; revision=14763
2005-06-26 09:24:38 +00:00
Ulf Lamping
8549096f37
update text to reflect the current implementation (e.g. we don't have normal/sync mode any longer)
...
svn path=/trunk/; revision=14762
2005-06-26 09:14:12 +00:00
Ronnie Sahlberg
f5009dc138
rename the protocol and the protocol fields to msmms from mms to make way for the telco mms protocol.
...
svn path=/trunk/; revision=14761
2005-06-26 08:12:54 +00:00
Ronnie Sahlberg
070e3b0970
update libethereal.def to the new name dissect_ber_CHOICE
...
svn path=/trunk/; revision=14760
2005-06-26 06:28:53 +00:00
Ronnie Sahlberg
e55dcb785e
prettify ftam by puttign the command name in the info column
...
svn path=/trunk/; revision=14759
2005-06-26 06:16:03 +00:00
Ronnie Sahlberg
3a51ba4293
make dissect_ber_choice take a guint* that will return the
...
index of the branch taken or -1 to make prettifications easier to implement.
change the signature of dissect_ber_choice and rename it to dissect_ber_CHOICE to catch all
occurences of the use of this function
update asn2eth to use the new name/signature
update all occurences of this function to the new name and new signature.
svn path=/trunk/; revision=14758
2005-06-26 05:48:50 +00:00
Ronnie Sahlberg
cc3b0df4ca
From Alejandro, fix for GTK1 graph_analysis issue.
...
svn path=/trunk/; revision=14757
2005-06-26 00:12:15 +00:00
Ronnie Sahlberg
ae7413d740
some updates for CMIP.
...
note taht cmip does not yet compile due to a possible asn2eth compiler bug
svn path=/trunk/; revision=14756
2005-06-25 23:12:24 +00:00
Ronnie Sahlberg
2facda00c0
from Kashyap Desai
...
fix bug in conversation_delete_proto_data
second argument to g_slist_remove() is a pointer to the data, not a GSlist containing a list of such pointers.
svn path=/trunk/; revision=14755
2005-06-25 22:15:51 +00:00
Ronnie Sahlberg
06df848879
From Martin Mathieson
...
New protocol : MS MediaServer protocol
svn path=/trunk/; revision=14754
2005-06-25 21:57:11 +00:00
Ulf Lamping
df7520d2a1
we are not a GNU program, so we shouldn't report as such in the command line help output
...
svn path=/trunk/; revision=14753
2005-06-25 21:27:26 +00:00
Guy Harris
4841b02c60
The data in an Identification packet is a message intended to be
...
human-readable; displayh it with "tvb_format_text()".
svn path=/trunk/; revision=14752
2005-06-25 19:14:17 +00:00
Guy Harris
608c0fead3
Give Paolo Frigo credit for the TANGO dissector.
...
svn path=/trunk/; revision=14751
2005-06-25 18:56:08 +00:00
Guy Harris
af85a24619
In generated GIOP dissectors, don't set the Protocol or Info columns, or
...
create the top-level protocol tree item, until the dissector accepts the
packet as being for it.
"strcmp()" isn't a Boolean; don't treat it as such.
Get rid of trailing white space.
svn path=/trunk/; revision=14750
2005-06-25 18:20:13 +00:00
Anders Broman
44d693bf55
Major rewrite to update to version TS 129 002 V6.9.0
...
svn path=/trunk/; revision=14749
2005-06-25 17:26:30 +00:00
Anders Broman
788d843a9d
Major rewrite to update to version TS 129 002 V6.9.0
...
svn path=/trunk/; revision=14748
2005-06-25 17:25:44 +00:00
Ronnie Sahlberg
12c6e46a49
new FTAM dissector generated by asn2eth
...
svn path=/trunk/; revision=14747
2005-06-25 12:40:53 +00:00
Ronnie Sahlberg
d0a7c6efcd
Make ACSE export the EXTERNAL construct since both CMIP and FTAM rely on it.
...
svn path=/trunk/; revision=14746
2005-06-25 07:46:14 +00:00
Guy Harris
447e5cb434
Re-generate the CosNaming, CosEventComm, and Parlay dissectors from the
...
IDL (and re-insert an earlier bug fix into the CosNaming and
CosEventComm dissectors), and add a new check added to ethereal_gen.py
to the Tango dissector.
svn path=/trunk/; revision=14745
2005-06-24 12:43:32 +00:00
Guy Harris
3a4cc92b45
Add IDL for cosnaming and coseventcomm.
...
svn path=/trunk/; revision=14744
2005-06-24 11:38:19 +00:00
Guy Harris
79105d1251
There's no guarantee that a reply with a reply status of USER_EXCEPTION
...
includes an exception ID - the sequence length could be zero. When
generating a dissector for a USER_EXCEPTION reply, return FALSE if
there's no exception ID. (And since we're now always using the header
pointer argument, un-_U_ize it.)
svn path=/trunk/; revision=14743
2005-06-24 11:26:19 +00:00
Ronnie Sahlberg
0392684ab7
for unknown GraphicString
...
just decode them as an octet string and say in the decode pane this is an unknown GraphicString
svn path=/trunk/; revision=14742
2005-06-24 10:03:20 +00:00
Ronnie Sahlberg
7f08072192
fix to ber NULL handling
...
1, make it actually show the hf field when present
2, make it handle imlicit_tag properly
svn path=/trunk/; revision=14741
2005-06-24 08:57:41 +00:00
Guy Harris
b67f63560e
More constification.
...
svn path=/trunk/; revision=14740
2005-06-24 02:51:01 +00:00
Guy Harris
76258fe8e3
Constify a bunch of structure members and function arguments, to squelch
...
compiler warnings.
Clean up indentation.
svn path=/trunk/; revision=14739
2005-06-24 01:32:42 +00:00
Anders Broman
6f9d56ddd0
From Valery Vybornov:
...
add register_dissector to packet-tcap.c
svn path=/trunk/; revision=14738
2005-06-23 22:17:03 +00:00
Anders Broman
104bc44dbd
From Valery Vybornov:
...
add register_dissector to packet-tcap.c
svn path=/trunk/; revision=14737
2005-06-23 22:15:47 +00:00