Stig Bjørlykke
a7c5d642d5
Regenerate ASN.1 dissectors to update the #line directive.
...
svn path=/trunk/; revision=37118
2011-05-13 08:12:27 +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
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
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
8f210cf4e0
Regenerate a few of the ASN.1 dissectors
...
svn path=/trunk/; revision=32742
2010-05-11 02:13:26 +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
ba8d7bd919
Get rid of check_col();
...
svn path=/trunk/; revision=31544
2010-01-17 12:19:02 +00:00
Stig Bjørlykke
3a79a59517
Add some missing DSEType's.
...
svn path=/trunk/; revision=31492
2010-01-11 13:34:05 +00:00
Stig Bjørlykke
112fa32d0b
Fixed some OPTIONAL vs. DEFAULT issues.
...
Regenerate the DOP dissector.
svn path=/trunk/; revision=31313
2009-12-18 17:43:54 +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
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
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
Gerald Combs
9a35ed601d
Remove more unused variables.
...
svn path=/trunk/; revision=29249
2009-07-30 23:47:36 +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
Stig Bjørlykke
c47e788c94
Regenerate all asn2wrs generated dissectors.
...
svn path=/trunk/; revision=28379
2009-05-16 22:07:03 +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
Tomas Kukosa
4726aec5b0
fix problem with X.411 asn2wrs compilation, all dissectors regenerated
...
svn path=/trunk/; revision=26740
2008-11-10 13:36:24 +00:00
Anders Broman
e375c3990a
Regenerate all asn2wrs generated dissectors
...
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +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
Graeme Lunt
85536e668e
Removal of #defined preference grouping and tidy up agreement id.
...
svn path=/trunk/; revision=24986
2008-04-13 16:20:12 +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
Anders Broman
e0937a5992
as2wrs now handles EXTERNAL(direct-reference requires no special handling).
...
svn path=/trunk/; revision=23384
2007-11-06 20:26:13 +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
Anders Broman
6fd46f0788
Include expert.h and while at it change to use -X and -T options for asn2wrs.
...
svn path=/trunk/; revision=22792
2007-09-05 05:48:44 +00:00
Stig Bjørlykke
6e94835848
Rewrote handling of parameters to get rid of "funky" oid strings.
...
Added expert info for unknown binding-parameters.
svn path=/trunk/; revision=22786
2007-09-04 21:46:41 +00:00
Luis Ontanon
bcd55f4c8e
replace oid_to_str_buf() and oid_to_str()
...
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len()
svn path=/trunk/; revision=22659
2007-08-25 17:29:55 +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
Anders Broman
57592cb2aa
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1739
...
Fro Stig Bjørlykke:
1. BER: Added support for empty indef SET
2. RTSE: Added fragment length in COL_INFO
3. IMF: Use correct hf_id for extension value
4. DOP: Fix typo in COL_INFO oid name
svn path=/trunk/; revision=22492
2007-08-13 16:41:16 +00:00
Tomas Kukosa
40ba5931de
use ASN.1 type names in conformance file instead of Wireshak types
...
svn path=/trunk/; revision=22045
2007-06-05 13:34:18 +00:00
Anders Broman
dca634c4de
Prepare for the use of the new -X parameter for BER encoded protocols.
...
svn path=/trunk/; revision=21889
2007-05-22 16:17:54 +00:00
Anders Broman
f08cd1e5e3
actx in the rest of dissect_ber..()l
...
svn path=/trunk/; revision=21773
2007-05-15 05:49:43 +00:00
Anders Broman
c01f382974
Second step in introducing asn context to BER dissectors just like in PER.
...
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Anders Broman
4c692a62b6
Start introducing actx to ber functions.
...
svn path=/trunk/; revision=21705
2007-05-06 22:34:05 +00:00
Tomas Kukosa
a70a1b3eb6
EXTERNAL type is handled in asn2wrs now
...
private implementations were renamed EXTERNAL -> EXTERNALt
svn path=/trunk/; revision=21662
2007-05-03 11:37:47 +00:00
Ronnie Sahlberg
8920a7e7f2
change the signature that asn2wrs generates for functions to marm all parameters as _U_
...
to reduce the number of compiler warnings.
update some template and cnf files to use _U_ as well
svn path=/trunk/; revision=21088
2007-03-21 10:22:22 +00:00
Tomas Kukosa
5cd8c719e6
ASN.1 dissectors regenerated with new asn2wrs to get updated field blurb
...
svn path=/trunk/; revision=18921
2006-08-16 05:58:39 +00:00
Tomas Kukosa
56d7db0c08
remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
...
use add_oid_str_name() and get_oid_str_name() instead of them
svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Tomas Kukosa
f0f319acf1
- BER_MAX_OID_STR_LEN removed and replaced with MAX_OID_STR_LEN
...
- x411 and dop regenerated
- dissect_ber_tagged_type() prepared (support in asn2wrs will follow)
svn path=/trunk/; revision=18468
2006-06-15 07:46:07 +00:00
Tomas Kukosa
604000a6b3
- remove some #.MODULE_IMPORT from .cng files
...
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs
svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +00:00
Ronnie Sahlberg
feab79e328
change a whole bunch of ethereal into wireshark
...
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Graeme Lunt
84764fec29
Operational Attributes and Syntaxes
...
svn path=/trunk/; revision=18048
2006-04-30 12:53:26 +00:00
Anders Broman
483ec5bd05
From Graeme Lunt:
...
* DOP - This has now been successfully tested and so is now enabled by default and workaround code removed.
Also now uses the correct EXPORTs from the other modules/dissectors.
* X509SAT - Most of the selected attributes are now supported in addition to the DirectoryString syntax attributes. This includes restoring the correct DirectoryString syntax and also providing the basic syntaxes (e.g. OBJECT IDENTIFIER, PrintableString). The latter requires a sed line in the Makefile which I assume should be OK? Not all the SAT can be defined in x509sat - so some have been included in x509if and x509af - though x509sat.cnf contains the master list and references the other dissectors where appropriate.
(I still prefer a syntax registration approach but I don't think that is going to be agreed in the short term.)
* X509IF - a mechanism to register some formating, based upon the hf_index, that is used in the cnf file.
* A couple of fixes identified by Stig.
svn path=/trunk/; revision=16814
2005-12-16 06:47:22 +00:00
Guy Harris
344b59b6b3
Squelch a const vs. non-const pointer warning.
...
svn path=/trunk/; revision=16731
2005-12-08 09:05:23 +00:00
Anders Broman
b7bcb54079
Also add the new dissectors
...
svn path=/trunk/; revision=16728
2005-12-08 07:29:15 +00:00