Michael Mann
a391a70b3b
"new" dissector API -> dissector API for ASN.1 dissectors.
...
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220
Reviewed-on: https://code.wireshark.org/review/12480
Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09 03:12:23 +00:00
Michael Mann
74541a9596
Don't allow multiple registrations of a protocol in dissector tables.
...
The target here is the Decode As dialog where protocols have multiple registrations into a dissector table and that shows up as multiple entries in the Decode As dialog list with the same name so users are unsure which "dissector" they are choosing.
The "default" behavior (done in this commit) is to not allow duplicates for a dissector table, whether its part of Decode As or not. It's just ENFORCED for Decode As.
Bug: 3949
Change-Id: Ibe14fa61aaeca0881f9cc39b78799e314b5e8127
Reviewed-on: https://code.wireshark.org/review/11405
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-04 12:39:40 +00:00
Bill Meier
dd859eada4
asn1 generated dissectors: cleanup #include usage
...
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387
Reviewed-on: https://code.wireshark.org/review/6008
Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-23 05:39:00 +00:00
Stig Bjørlykke
4e1b5ea866
ASN1: Register PDU-dissectors as NEW
...
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64
Reviewed-on: https://code.wireshark.org/review/4494
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-10-13 11:24:07 +00:00
Evan Huus
37b903d7ab
batch of tvb-length conversions
...
Change-Id: I76ca4d075756e3ac691070e0c05344a410ea2498
Reviewed-on: https://code.wireshark.org/review/2507
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-21 04:01:52 +00:00
Guy Harris
ce3d2ff3de
Rename dissector_add_handle() to dissector_add_for_decode_as().
...
Hopefully that name makes it clear what the routiner's purpose is, and
will encourage people to use it rather than using dissector_add_uint()
with a bogus integer value.
Change-Id: Ic5be456d0ad40b176aab01712ab7b13aed5de2a8
Reviewed-on: https://code.wireshark.org/review/2483
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-20 16:43:56 +00:00
Pascal Quantin
d0ac937567
Revert "Update ASN.1 source files with the API changes done in g021e7af"
...
This reverts commit e308e7c4de
.
Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071
Reviewed-on: https://code.wireshark.org/review/2435
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-19 18:42:28 +00:00
Pascal Quantin
e308e7c4de
Update ASN.1 source files with the API changes done in g021e7af
...
Change-Id: I52ecfccbce423206242e3cf99401a8c9e1655d88
Reviewed-on: https://code.wireshark.org/review/2385
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-18 16:15:42 +00:00
Jeff Morriss
8c608e6e82
Remove $Id$ from the ASN.1 dissectors and regenerate them.
...
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954
Reviewed-on: https://code.wireshark.org/review/244
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-02-18 03:05:28 +00:00
Anders Broman
dafdc19d9e
-Wmissing-prototypes
...
svn path=/trunk/; revision=48609
2013-03-28 07:34:13 +00:00
Guy Harris
53fffe0414
Get rid of unnecessary includes of "packet-frame.h".
...
svn path=/trunk/; revision=47925
2013-02-27 23:02:18 +00:00
Jeff Morriss
3551a86c36
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45015
2012-09-20 01:29:52 +00:00
Jakub Zawadzki
5a8783f5b1
Initial commit to support yet another method of passing data between dissectors.
...
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL
svn path=/trunk/; revision=44860
2012-09-10 21:40:21 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Guy Harris
77ae45d3b6
Get rid of remaining Booleans-as-encoding-arguments in
...
proto_tree_add_item() calls.
Fix a field that was presumably intended to be of type FT_IPv6.
svn path=/trunk/; revision=42564
2012-05-11 07:38:59 +00:00
Bill Meier
794757ae8f
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
...
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Guy Harris
a8bc4a0d13
Rename the routines that handle dissector tables with unsigned integer
...
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys. (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)
svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Anders Broman
057b934cfa
Update to V9.2.0 (2010-03).
...
svn path=/trunk/; revision=32450
2010-04-12 19:13:36 +00:00
Bill Meier
9ade30a7b1
#include <string.h> and/or #include <stdio.h> not needed.
...
svn path=/trunk/; revision=32417
2010-04-07 16:54:29 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Anders Broman
49d8719056
From KATAOKA Toshihiro:
...
Protocol preference for x2ap port.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4634
svn path=/trunk/; revision=32355
2010-04-01 20:20:25 +00:00
Anders Broman
2867bd0f49
Use IANA asigned PPID and port.
...
svn path=/trunk/; revision=32338
2010-03-31 08:53:00 +00:00
Anders Broman
a3839c2a85
Dissect transportLayerAddress and rrc-context
...
svn path=/trunk/; revision=31035
2009-11-20 21:41:51 +00:00
Kovarththanan Rajaratnam
81fe22f0d1
Remove unused static variable
...
svn path=/trunk/; revision=30961
2009-11-14 07:28:46 +00:00
Anders Broman
77377a9d22
- Bitrate must be FT_UINT64
...
- Dissect HandoverCommand
svn path=/trunk/; revision=30771
2009-10-30 16:15:27 +00:00
Anders Broman
d5cfd0edc9
- Remove check_col.
...
- Make x2ap work.
svn path=/trunk/; revision=30746
2009-10-28 06:18:05 +00:00
Anders Broman
191f468caf
Missed an #include...
...
svn path=/trunk/; revision=30745
2009-10-28 05:13:31 +00:00
Anders Broman
cd8924f759
Update SCTP ppids, fix a faulty #define.
...
svn path=/trunk/; revision=30744
2009-10-28 05:09:32 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Bill Meier
35e5fa9bc1
#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Bill Meier
73cb352109
Don't register to SCTP port 0: use dissector_add_handle instead
...
svn path=/trunk/; revision=26703
2008-11-05 21:43:05 +00:00
Bill Meier
f35324d0fd
Minor cleanup mostly related to proto_reg_handoff
...
Remove code for unused handles;
Localize handles (in proto_reg_handoff) which need not be global;
Localize (in proto_reg_handoff) "saved prefs";
Use find_dissector instead of create_dissector_handle as appropriate;
Use gboolean for "initialized" flag in proto_reg_handoff.
svn path=/trunk/; revision=26693
2008-11-04 21:42:02 +00:00
Stig Bjørlykke
7629966a00
- Removed some unused variables in asn1 dissectors
...
- Fixed last parameter to cry_cipher_open() in pkcs12
svn path=/trunk/; revision=24116
2008-01-16 20:41:23 +00:00
Anders Broman
6cb56fba71
make per_constrained_integer handle 64bits needed for X2AP.
...
svn path=/trunk/; revision=24097
2008-01-15 17:59:43 +00:00
Anders Broman
2a7d7da157
Initial work on a E-UTRAN X2 Application Protocol (X2AP) packet dissector.
...
svn path=/trunk/; revision=23886
2007-12-16 14:26:18 +00:00