summaryrefslogtreecommitdiff
path: root/packet-per.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-27From Lars Roland: whitespace cleanups.Guy Harris1-40/+40
svn path=/trunk/; revision=8789
2003-10-25In restricted character strings, deal with character values that areGuy Harris1-21/+7
greater than the alphabet length. Just use "proto_tree_add_item()" if you have a range of bytes, of known length, that are to be added as an item - that handles both FT_STRING and FT_BYTES, including null-terminating the string value. svn path=/trunk/; revision=8779
2003-10-24Fix all the issues Michael Oliveras reportedRonnie Sahlberg1-5/+17
1, TunnellingProtocol_id is a CHOICE not a SEQUENCE 2, change some values to be FT_STRING instead of FT_BYTES 3, update dissect_per_octet_String to always 0 terminate all FT_STRINGs (if necessary in a temporary buffer) before passing them on to proto_tree_add_string() since that function did not want to handle FT_STRING or FT_STRINGZ othervise. svn path=/trunk/; revision=8771
2003-10-22Fix to dissection of Mike's problem reported on ethereal-usersRonnie Sahlberg1-6/+6
We did align to byte a bit too frequently inside dissect_per_octet_string Also change GroupIP.group from being a FT_BYTES into being FT_STRING svn path=/trunk/; revision=8744
2003-10-09Prefix the EXTENSION #defines with ASN1_ as well.Guy Harris1-13/+13
svn path=/trunk/; revision=8653
2003-10-09Prefix OPTIONAL and NOT_OPTIONAL with ASN1_, to avoid collisions withGuy Harris1-4/+4
other definitions of OPTIONAL (such as the one in Windows). svn path=/trunk/; revision=8650
2003-09-23From Graeme Reid: modified PER choice dissector to correctly handleGuy Harris1-2/+10
numbered choices starting with non-zero values (eg X.880 ROS). svn path=/trunk/; revision=8519
2003-09-01C89 doesn't let you declare stuff in the middle of blocks, even if someGuy Harris1-2/+2
versions of GCC do. svn path=/trunk/; revision=8328
2003-08-31From Andreas Sikkema:Guy Harris1-7/+31
hide some more fields behind the "show asn.1 internals" preference; show the booleans as values true or false, instead of set or not set. svn path=/trunk/; revision=8324
2003-08-28Fix small display bug. we returned the wrong value from ↵Ronnie Sahlberg1-2/+3
dissect_per_choice and it made us display the wrong string sometimes svn path=/trunk/; revision=8299
2003-08-26Make the option to display the internal PER fields default to FALSERonnie Sahlberg1-2/+2
svn path=/trunk/; revision=8275
2003-08-25From Matthijs Melchior: "P" in "PER" stands for "Packed", not "Packet".Guy Harris1-2/+2
svn path=/trunk/; revision=8247
2003-08-21From Tomas Kukosa: allow subdissectors to be registered forGuy Harris1-17/+45
NonStandardParameter data in the H.245 dissector. svn path=/trunk/; revision=8206
2003-07-31Updates to OCTET STRING so that it can handle FT_STRING and not just FT_BYTESRonnie Sahlberg1-5/+66
Added decoding of unicode strings in BMPString dissector helper svn path=/trunk/; revision=8111
2003-07-29fix minor bugs in h245 decodingRonnie Sahlberg1-2/+3
svn path=/trunk/; revision=8092
2003-07-29Update PER so that the bit that indicates whether an extension is encoded or notRonnie Sahlberg1-2/+2
is displayed in the tree for CHOICE constructs when internal PER fields are displayed. svn path=/trunk/; revision=8091
2003-07-29update to PER to decode PrintableString properlyRonnie Sahlberg1-5/+2
svn path=/trunk/; revision=8089
2003-07-19Add PrintableString stub. H225 needs this type.Ronnie Sahlberg1-1/+10
I could not find a definition of which order the characters in the restricted set are encoded in so I could not implement the actual decoding. svn path=/trunk/; revision=8049
2003-07-16Eliminate some signed-vs-unsigned-comparison and signed-char-subscriptGuy Harris1-6/+7
warnings. svn path=/trunk/; revision=8034
2003-07-16Add a new parameter to the constrained integer dissector so that it also handlesRonnie Sahlberg1-7/+25
constrained integers with an extension marker. Update all calls to the constrained integer dissector Add dissection to the rfc_number type which is a constrasined integer with an extension marker Add H245 so that it builds by default in ethereal. It has been tested extensively by a semi-large number of people with a lot of real and synthetic captures and seems to work very well. New protocol added to ethereal svn path=/trunk/; revision=8032
2003-07-16updates bugfix for the NumericString alphabet.Ronnie Sahlberg1-3/+3
Implement some restricted ia5strings svn path=/trunk/; revision=8029
2003-07-13Add decoding of NumericStringRonnie Sahlberg1-2/+113
svn path=/trunk/; revision=8018
2003-07-12 Break out the PER functions from the alternative h245 dissectorRonnie Sahlberg1-0/+1220
and put them in their own file. I had to put them im packet-per.c instead of asn1-per.c since othervise i couldnt get it to invoke the register routine from register.c the per dissector is compiled into ethereal by default, but there are no callers in ethereal until the h245 dissector is added. someone that knows the registry stuff better might consider renaming it to asn1-per.c instead of packet-per.c svn path=/trunk/; revision=8017