Commit Graph

92 Commits

Author SHA1 Message Date
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
Jeff Morriss f2fc5d42fd Make some prefs callback functions static. (These modules don't use proto_reg_handoff_*() as their prefs callback.)
svn path=/trunk/; revision=35138
2010-12-06 22:08:48 +00:00
Stig Bjørlykke ce99177a00 Display content entry (with length) in tree.
svn path=/trunk/; revision=33914
2010-08-24 15:47:10 +00:00
Graeme Lunt 1d8014fab4 Removal of various warnings, mainly by not emitting functions for ASN.1 types that are only used for COMPONENTS OF.
svn path=/trunk/; revision=33350
2010-06-28 14:24:32 +00:00
Stig Bjørlykke 8246e87432 Moved register_ber_syntax_dissector() and register_ber_oid_syntax() from
proto_reg_handoff_* to proto_register_*.

svn path=/trunk/; revision=33345
2010-06-28 10:34:15 +00:00
Jeff Morriss a0c858efcd Add a little more code to avoid not-very-useful blurbs:
- Change spaces in the name to underscores before comparing it to the blurb.
  - Check if the type simply as T_ prepended to the name.
  - Don't put in a blurb of "NULL".

and regenerate the dissectors.

svn path=/trunk/; revision=32748
2010-05-11 03:53:31 +00:00
Jeff Morriss bbebafd9b4 Regenerate a few more of the ASN.1 dissectors
svn path=/trunk/; revision=32747
2010-05-11 02:58:27 +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 37f7a9b3b5 #include <stdio.h> not needed.
(Note: the change in  a generated function name looks benign:
  dissect_x411_PrintableString_SIZE_CONSTR4299806048 ==>
    dissect_x411_PrintableString_SIZE_CONSTR32134928)

svn path=/trunk/; revision=32407
2010-04-06 18:46:08 +00:00
Stig Bjørlykke f81b2c196d Decode SecurityCategoryValue according to SecurityCategoryIdentifier.
svn path=/trunk/; revision=31964
2010-02-23 08:06:11 +00:00
Stig Bjørlykke 30a2bbe872 Return correct offset from function handling ExtensionField/value,
because this changed from mandatory to optional in revision 28593.

Regenerated with some BIT STRING SIZE constraints checking.

svn path=/trunk/; revision=31480
2010-01-10 16:14:35 +00:00
Stig Bjørlykke fb56cceeb7 Regenerate P7 with SIZE constraints checking.
Added MSUpperBounds.asn.
Export upper bounds from X411, rename some duplicate definitions in P7.

svn path=/trunk/; revision=31321
2009-12-19 14:26:26 +00:00
Stig Bjørlykke d5f8597e03 Regenerated with SIZE constraints checking.
Added MTSUpperBounds.asn.

svn path=/trunk/; revision=31310
2009-12-18 15:21:08 +00:00
Stig Bjørlykke 82e8cfe421 Build correct oraddress for several Teletex values.
Corrected label format for GenerationQualifier: GQ -> Q.

svn path=/trunk/; revision=31186
2009-12-07 12:17:13 +00:00
Stig Bjørlykke 6d1dae6f28 Make all proto_* values static.
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Kovarththanan Rajaratnam 19ee815ea4 Regenerate asn1 dissectors (no functionality change)
svn path=/trunk/; revision=30476
2009-10-10 13:39:14 +00:00
Kovarththanan Rajaratnam 9490d1b74c Regenerate asn1 dissectors (no change, only some line offset changes)
svn path=/trunk/; revision=30454
2009-10-09 21:34:49 +00:00
Kovarththanan Rajaratnam 0a5b014cec Don't guard col_clear with col_check
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam 4b6090e576 Don't guard col_set_str (COL_INFO) with col_check
svn path=/trunk/; revision=29342
2009-08-09 07:01:26 +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
Stig Bjørlykke 9733aadcfe Re-generate asn1 dissectors after hf_register_info cleanup.
svn path=/trunk/; revision=28848
2009-06-26 03:59:01 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Graeme Lunt 57d4cea4d5 Update to:
* support the P3 protocol in addition to the P1 protocol; and 
* reduce the number of changes to the ASN.1 modules (as asn2wrs now handles more of the ASN.1 constructs).
P3 is currently only supported over ROS (and not RTSE)


svn path=/trunk/; revision=28593
2009-06-02 11:04:14 +00:00
Stig Bjørlykke c47e788c94 Regenerate all asn2wrs generated dissectors.
svn path=/trunk/; revision=28379
2009-05-16 22:07:03 +00:00
Bill Meier 42d8daee19 #include <epan/emem.h> not req'd ...
svn path=/trunk/; revision=27391
2009-02-07 15:17:54 +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 794126bdd3 Regenerated files for asn1 templates committed in SVN #26750
svn path=/trunk/; revision=26751
2008-11-11 15:26:08 +00:00
Anders Broman e375c3990a Regenerate all asn2wrs generated dissectors
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Anders Broman 612463c139 Try to fix some "defined but not used" warnings.
svn path=/trunk/; revision=26243
2008-09-21 14:23:34 +00:00
Anders Broman 80b87dfaf3 Try to fix unused code warnings.
svn path=/trunk/; revision=26122
2008-09-02 19:42:30 +00:00
Stig Bjørlykke 2f2a8edbd7 Regenerated to use the new decode function for UTCTime.
svn path=/trunk/; revision=25898
2008-08-01 16:45:30 +00:00
Anders Broman 29cee0856c See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25785
2008-07-21 22:00:00 +00:00
Anders Broman de16039c51 Get rid of dissect_ber_boolean_value() and change the signature of
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature.
Regenerate all BER dissectors.

svn path=/trunk/; revision=24015
2008-01-04 16:21:07 +00:00
Graeme Lunt cad42d9103 Additional EXPORTS (for X.420 dissector) and a message store (P7) attribute.
svn path=/trunk/; revision=23979
2008-01-02 09:29:04 +00:00
Stig Bjørlykke 382bedb6ca Added type=value to BuiltInDomainDefinedAttributes items.
svn path=/trunk/; revision=23933
2007-12-21 13:23:52 +00:00
Tomas Kukosa 1bef58264a fix field attributes handling for tagged types
regenerate involved dissectors

svn path=/trunk/; revision=23783
2007-12-06 11:23:35 +00:00
Graeme Lunt a7dec11ce6 Changes suggested/provided by Anders so that fewer changes are required to the ASN modules.
Also includes the MSAccessProtocol.asn to generate defines for the operation numbers.


svn path=/trunk/; revision=23586
2007-11-25 17:46:42 +00:00
Stig Bjørlykke f5b14b2f89 Initialize credentials.
svn path=/trunk/; revision=23490
2007-11-19 07:26:10 +00:00
Graeme Lunt 0c571bb235 Basic P7 (X.400 Message Store Access Protocol) dissection after request from the list:
http://www.wireshark.org/lists/wireshark-dev/200711/msg00228.html

Only a single (private) capture file is currently available which contains only a few of the P7 operations, so testing has been minimal.
General attribute types, containing information from the X.400 envelope, are also included.


svn path=/trunk/; revision=23479
2007-11-17 18:08:01 +00:00
Ronnie Sahlberg c033ee2fc7 new x411 dissector
svn path=/trunk/; revision=23457
2007-11-15 10:11:09 +00:00
Anders Broman fb00aa074f as2wrs now handles EXTERNAL(direct-reference requires no special handling).
svn path=/trunk/; revision=23386
2007-11-06 21:52:26 +00:00
Anders Broman 9492700608 Change:
get_oid_str_name() -> oid_resolved_from_string()
get_oid_name() -> oid_resolved_from_encoded()

svn path=/trunk/; revision=23331
2007-11-01 19:36:39 +00:00
Anders Broman 43700969a6 Use oid_add_from_string for adding names.
(gsmmap and inap does not compile at the moment).

svn path=/trunk/; revision=23324
2007-10-31 21:24:16 +00:00
Graeme Lunt b03164ec5d Update to use the -X and -T asn2wrs flags.
Removed the workaround code from the .cnf file.


svn path=/trunk/; revision=23243
2007-10-22 17:13:08 +00:00
Stig Bjørlykke feced5f683 - Initialize address_item in MessageIdentifier to avoid a crash in handling
LocalIdentifier when problems with the GlobalDomainIdentifier.  
- Initialize global pointers to avoid potential crashes.

svn path=/trunk/; revision=23080
2007-10-06 20:37:52 +00:00
Stig Bjørlykke 21d5aaaa4f - Rewrote handling of extensions to get rid of "funky" oid strings.
- Added ASN.1 integer values for StandardExtension, ExtensionAttributeType
  and TokenDataType.
- Added expert info for unknown standard-extension, extension-attribute-type 
  and tokendata-type.
- Added expert info for unknown built-in content-type.

svn path=/trunk/; revision=22730
2007-08-29 18:39:30 +00:00
Luis Ontanon becf83594b there's nothing like a MAX_OID_STR_LEN... get rid of a potential stack BO
svn path=/trunk/; revision=22657
2007-08-25 14:48:48 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Jörg Mayer b312e64f6a get_ber_length doesn't need the tree argument, get rid of it.
Rebuild asn1 dissectors.

svn path=/trunk/; revision=22627
2007-08-24 07:12:04 +00:00
Graeme Lunt 12af6d79bc This patch will set correct extension_id for ExtensionAttributeType
(error introduced in r22043), and fix printing of CAP values in
oraddress (error introduced in r22054).


svn path=/trunk/; revision=22209
2007-06-27 18:03:23 +00:00