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
Stig Bjørlykke
8b42b795e8
Use correct opcode table for error values and regular values.
...
Removed check_col().
svn path=/trunk/; revision=30950
2009-11-13 12:33:33 +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
Stig Bjørlykke
8fce84f9e2
Fix a possible dereference of null pointer when having no tree.
...
svn path=/trunk/; revision=30174
2009-09-27 21:18:18 +00:00
Kovarththanan Rajaratnam
65c53fedb6
Don't guard col_append_str with check_col
...
svn path=/trunk/; revision=30125
2009-09-24 20:00:21 +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
87c095780a
Rework an assignment to keep static analyzers from complaining.
...
svn path=/trunk/; revision=29287
2009-08-03 23:51:13 +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
Anders Broman
e375c3990a
Regenerate all asn2wrs generated dissectors
...
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Anders Broman
742ae8413d
Get rid of some unused code warnings.
...
svn path=/trunk/; revision=25791
2008-07-22 17:28:38 +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
f7804d9899
Update do use the -X and -T asn2wrs flags.
...
svn path=/trunk/; revision=23356
2007-11-04 17:57:31 +00:00
Anders Broman
528ac73cfd
Use oid_add_from_string for adding names.
...
svn path=/trunk/; revision=23318
2007-10-31 08:26:52 +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
04138a1353
Correct a copy paste error and rename fields.
...
svn path=/trunk/; revision=22228
2007-07-02 09:20:19 +00:00
Anders Broman
42f17b2111
Try to fix defined but not used warnings and use the nice new table function to get the
...
list of Opcodes.
svn path=/trunk/; revision=22227
2007-07-01 18:48:15 +00:00
Anders Broman
32d0349b54
Try to fix the last defined but not used warnings(again).
...
svn path=/trunk/; revision=22204
2007-06-27 17:02:47 +00:00
Anders Broman
85b3120a7d
Try to fix the last defined but not used warnings.
...
svn path=/trunk/; revision=22196
2007-06-26 20:49:21 +00:00
Anders Broman
abf8df1d03
Try to fix some GCC warnings
...
svn path=/trunk/; revision=22194
2007-06-26 17:10:05 +00:00
Anders Broman
2e693964c6
Generate CMIP from original asn1 files with -X and -T option.
...
svn path=/trunk/; revision=22187
2007-06-25 18:40:17 +00:00
Tomas Kukosa
b20af30b48
few BER dissectors regenerated
...
svn path=/trunk/; revision=21920
2007-05-24 12:36:41 +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
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
Guy Harris
b45d2efe6d
Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.
...
svn path=/trunk/; revision=16736
2005-12-08 23:29:21 +00:00
Tomas Kukosa
3b770d5c7c
- dissect_ber_object_identifier() returns value as tvb
...
- new dissect_ber_object_identifier_str() function
- BER dissectors adapted and regenerated
svn path=/trunk/; revision=16501
2005-11-14 10:02:31 +00:00
Anders Broman
5dd3862875
Upadte to call Data dissector from PRES based on OID in Presentation Context,
...
based on the code in ACSE.
svn path=/trunk/; revision=15643
2005-08-31 20:20:56 +00:00
Anders Broman
2273b1b7fc
MapDialougePDU.cnf
...
Fix a typo.
packet-ber.c
packet-acse.c
packet-cmip.c
- Add OID(s)
packet-ses.c
Fix export of a value string and change names to the ones used in the protocol spec.
Replace PRES dissector with an asn2eth generated one.
svn path=/trunk/; revision=15614
2005-08-29 20:07:06 +00:00
Anders Broman
374034bf98
Co ordidnate CMIP abd GNM.
...
svn path=/trunk/; revision=15593
2005-08-28 15:01:49 +00:00
Guy Harris
1f9c6e5322
Dissectors registered with "register_ber_oid_dissector()" return void.
...
Fix the spelling of "attribute".
svn path=/trunk/; revision=15537
2005-08-26 01:31:32 +00:00
Anders Broman
bd42437262
Fix malformed packet if linkedId is present dissect some OID:s
...
svn path=/trunk/; revision=15533
2005-08-25 21:25:52 +00:00
Jörg Mayer
4f693dfae2
Some warning fixes for "no previous declaration"
...
Remove svn:executable
Add svn:eol-style native
Add svn:keywords Id
svn path=/trunk/; revision=15179
2005-08-02 05:39:45 +00:00
Ronnie Sahlberg
0ca30abe65
change the symbol dissect_ber_CHOICE back into dissect_ber_choice
...
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +00:00
Ronnie Sahlberg
19409dc44f
fix a bug in the conformance file for CMIP to make it compile again
...
(semi-recent changes to asn2eth and PARAM handling makes us have to use double %% in some BODY statements)
at the same time, regenerate it so it also benefit from bugfixes to handling of indefinite length
svn path=/trunk/; revision=14823
2005-06-30 07:48:25 +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
a52b44c54b
fix for CMIP, we should set the opcode_type BEFORE we try to use it in the subdissector,
...
it doesnt work really that well if we have opcode_type set to INVOKE from the previous packet and this new packet contains a ReturnResult.
svn path=/trunk/; revision=14733
2005-06-23 09:28:46 +00:00