aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/mms
AgeCommit message (Collapse)AuthorFilesLines
2013-07-03expert_add_info + proto_tree_add_text = proto_tree_add_expert, where applicableMichael Mann1-10/+4
svn path=/trunk/; revision=50337
2013-06-25Move a couple of time-related modules into wsutil.Jeff Morriss1-1/+0
A bunch of files didn't really need to include these header files so remove the include line rather than changing it. svn path=/trunk/; revision=50154
2013-06-03Convert ASN.1 dissectors to use filterable expert info.Michael Mann2-5/+14
NOTE: Kerberos ASN.1 template was updated, but not generated to source. svn path=/trunk/; revision=49707
2013-05-07Some moreJörg Mayer1-0/+31
svn path=/trunk/; revision=49203
2013-05-05Just whitespace changesJörg Mayer1-2/+3
svn path=/trunk/; revision=49167
2013-04-23Stub cmake support for generating the asn1 dissectors.Jörg Mayer1-0/+23
It doesn't do anything yet, it is just to make svn status readable again. svn path=/trunk/; revision=49007
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-1/+1
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-06-28Update Free Software Foundation address.Jakub Zawadzki5-5/+5
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-13Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=40461
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-15/+15
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-10Build the ASN.1 dissectors directly into epan/dissectors (rather than buildingJeff Morriss1-7/+3
them and then copying them over). The "all" target to builds these dissectors now (instead of "generate_files" and/or "copy_files"). asn2wrs's "-O" option now means "the dissector goes in this directory" (rather than "all output goes in this directory"); it also means that the "-s" (single output file) option is now required. Fix things up so that it's possible to build all of the ASN.1 dissectors in one shot. Fix building of conformance files when doing out-of-source-tree builds. Unfortunately "make all" in the asn1 directory always builds something--I think because of circular depedencies. svn path=/trunk/; revision=39333
2010-05-21Have abs_time_to_str() and abs_time_to_str_secs() take an additionalGuy Harris1-2/+2
argument indicating whether to include the time zone in the string. If we're constructing a display filter, don't include the time zone, otherwise do. Fixes bug 4756. svn path=/trunk/; revision=32913
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.Bill Meier1-2/+0
svn path=/trunk/; revision=32417
2010-04-06#include <stdio.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32405
2010-02-27Add a third date format, ABSOLUTE_TIME_DOY_UTC, to show UTC with theGuy Harris1-2/+2
date as YYYY/DDD, where DDD is a 1-origin day of year. Move the formats to a "time_fmt.h" file, included by the headers that use it. Have abs_time_to_str() and abs_time_secs_to_str() take the date format value, rather than a Boolean "show this as UTC" flag, as an argument. Document the ABSOLUTE_TIME_ formats a bit better. Use that format in the CCSDS and VCDU dissectors, rather than having those dissectors do the formatting themselves. svn path=/trunk/; revision=32034
2010-01-20From Gonzalo Casas:Anders Broman1-2/+4
The asn1 definition of AlternateAccessSelection of the MMS dissector was wrong. It didn't allow object access with nested AlternatedAccess. I changed the definition as in ISO 9506-2 (2003). I also added MMSString which was not present. I also added the definition for UtcTime as in the annex G of IEC61850-8-1 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4404 svn path=/trunk/; revision=31585
2010-01-20From Gonzalo Casas:Anders Broman2-46/+105
The asn1 definition of AlternateAccessSelection of the MMS dissector was wrong. It didn't allow object access with nested AlternatedAccess. I changed the definition as in ISO 9506-2 (2003). I also added MMSString which was not present. I also added the definition for UtcTime as in the annex G of IEC61850-8-1 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4404 svn path=/trunk/; revision=31584
2010-01-17Get rid of check_col();Anders Broman1-2/+1
svn path=/trunk/; revision=31552
2010-01-12From Gonzalo Casas:Anders Broman2-0/+60
MMS TimeOfDay display. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4387 svn path=/trunk/; revision=31508
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-10-08Remove unused NEED_PACKET_PROTO_H variableKovarththanan Rajaratnam1-1/+0
svn path=/trunk/; revision=30409
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-02-07#include <epan/conversation.h> not req'd ...Bill Meier1-1/+0
svn path=/trunk/; revision=27392
2007-12-19asn1/*/Makefile.nmake were not part of the source package.Jörg Mayer1-1/+2
Spotted by Tomas Kukosa. svn path=/trunk/; revision=23921
2007-12-10ANSI TCAP regenerated and tested with -T -X asn2wrs optionsTomas Kukosa1-1/+1
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior remove all -T and -X usage svn path=/trunk/; revision=23823
2007-11-15branch_taken that is returned by dissect_ber_choice() is the index of Ronnie Sahlberg1-3/+4
of the branch and not the tag value so one cant use it with val_to_str() (well one can in this instance since by luck the tag values match the indices) svn path=/trunk/; revision=23452
2007-10-16- Fix svn:ignore for all directoriesJörg Mayer1-1/+1
- gsmmap: uncomment -s option in gsmmap.cnf - Fix cyclic dependencies: + Remove EXPORT_CNF from dependencies for cnf files + Replace all INCLUDE ...-exp.cnf with IMPORT ...-exp.cnf svn path=/trunk/; revision=23202
2007-10-11- Remove -e option if the generated -exp.cnf file isn't used.Jörg Mayer1-1/+1
- Add EXPORT_FILES to all files that still contain -e. svn path=/trunk/; revision=23145
2007-10-10Add missing dependencies and update syntax of existing ones.Jörg Mayer1-1/+5
svn path=/trunk/; revision=23143
2007-10-10- Change Makefiles to include preincJörg Mayer2-1/+3
- Add missing new directories to asn1/Makefile.nmake svn path=/trunk/; revision=23141
2007-10-10More conversions and updates to existing Makefile stuffJörg Mayer1-17/+0
svn path=/trunk/; revision=23127
2007-10-09More Makefile updatesJörg Mayer4-57/+96
svn path=/trunk/; revision=23113
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer2-2/+2
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-06-05Regenerate the MMS dissector with -T and -X options.Anders Broman3-3/+3
svn path=/trunk/; revision=22047
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-4/+2
svn path=/trunk/; revision=21889
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman2-8/+11
svn path=/trunk/; revision=21753
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-6/+6
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662
2007-04-28From Gavin Heer:Anders Broman2-2/+52
Here's a patch that decodes MMS(Manufacturing Messaging Specification) when transported over COTP/TPKT/TCP. Previously, MMS would only be decoded if the OSI Presentation Layers were present. Now MMS/COTP/TPKT/TCP is dissected. With a change to use more functions from packet-ber svn path=/trunk/; revision=21608
2007-04-12Workaround for the ber CHOICE crash.Anders Broman2-168/+183
svn path=/trunk/; revision=21392
2006-11-21Revert changes to have named bits in the bitstring of unknown length.Anders Broman1-516/+1
svn path=/trunk/; revision=19954
2006-10-29put every python script name into "" so the call won't fail on Win32 native ↵Ulf Lamping1-1/+1
python. The problem is the slash in e.g.: @$(PYTHON) ../../tools/make-dissector-reg.py is interpreted as an option instead of being part of the path. I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port. svn path=/trunk/; revision=19730
2006-08-21prettify the MMS dissector by at least putting the pdu name in the info columnRonnie Sahlberg1-0/+12
svn path=/trunk/; revision=18975
2006-08-21 from Angel de JuanRonnie Sahlberg2-2/+517
make mms bitstrings easier to read -- Hi, this is my new mms with some changes in order to display some data in binary instead of hex. Excuse me because is not a diff from the repository, but I don't know how to create a diff. I also have the compiled packet-mms.c and packet-mms.h if you want it only mail me. svn path=/trunk/; revision=18974
2006-05-23Ethereal -> WiresharkTomas Kukosa2-2/+11
asn2eth -> asn2wrs svn path=/trunk/; revision=18214
2006-05-21- asn2eth renamed to asn2wrsTomas Kukosa2-5/+5
- remove obsolete -X option from makefiles - not generate enumerated map table for BER dissector will be regenerated later svn path=/trunk/; revision=18199
2006-05-21name changeRonnie Sahlberg2-4/+4
svn path=/trunk/; revision=18197