Commit Graph

17 Commits

Author SHA1 Message Date
Guy Harris 51805d0c41 From Graeme Reid: modified PER choice dissector to correctly handle
numbered choices starting with non-zero values (eg X.880 ROS).

svn path=/trunk/; revision=8519
2003-09-23 18:36:49 +00:00
Guy Harris cd1524c319 C89 doesn't let you declare stuff in the middle of blocks, even if some
versions of GCC do.

svn path=/trunk/; revision=8328
2003-09-01 23:47:01 +00:00
Guy Harris 109619e6c9 From Andreas Sikkema:
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-31 00:49:37 +00:00
Ronnie Sahlberg de0002bbdf Fix small display bug. we returned the wrong value from dissect_per_choice and it made us display the wrong string sometimes
svn path=/trunk/; revision=8299
2003-08-28 14:41:20 +00:00
Ronnie Sahlberg ec66d01b58 Make the option to display the internal PER fields default to FALSE
svn path=/trunk/; revision=8275
2003-08-26 21:30:08 +00:00
Guy Harris 6c1c67f702 From Matthijs Melchior: "P" in "PER" stands for "Packed", not "Packet".
svn path=/trunk/; revision=8247
2003-08-25 00:00:20 +00:00
Guy Harris f695468fa2 From Tomas Kukosa: allow subdissectors to be registered for
NonStandardParameter data in the H.245 dissector.

svn path=/trunk/; revision=8206
2003-08-21 18:00:22 +00:00
Ronnie Sahlberg 3329a9d49f Updates to OCTET STRING so that it can handle FT_STRING and not just FT_BYTES
Added decoding of unicode strings in BMPString dissector helper

svn path=/trunk/; revision=8111
2003-07-31 10:26:36 +00:00
Ronnie Sahlberg 27edcee365 fix minor bugs in h245 decoding
svn path=/trunk/; revision=8092
2003-07-29 08:59:14 +00:00
Ronnie Sahlberg 691221f2f7 Update PER so that the bit that indicates whether an extension is encoded or not
is displayed in the tree for CHOICE constructs when internal PER fields are displayed.

svn path=/trunk/; revision=8091
2003-07-29 07:57:22 +00:00
Ronnie Sahlberg 04a580a8ee update to PER to decode PrintableString properly
svn path=/trunk/; revision=8089
2003-07-29 07:25:14 +00:00
Ronnie Sahlberg ebb75f713e Add PrintableString stub. H225 needs this type.
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-19 03:45:04 +00:00
Guy Harris ebc8a7846a Eliminate some signed-vs-unsigned-comparison and signed-char-subscript
warnings.

svn path=/trunk/; revision=8034
2003-07-16 21:05:12 +00:00
Ronnie Sahlberg 987d45a974 Add a new parameter to the constrained integer dissector so that it also handles
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-16 09:23:56 +00:00
Ronnie Sahlberg 54ab042328 updates bugfix for the NumericString alphabet.
Implement some restricted ia5strings

svn path=/trunk/; revision=8029
2003-07-16 08:17:14 +00:00
Ronnie Sahlberg e146533cfd Add decoding of NumericString
svn path=/trunk/; revision=8018
2003-07-13 01:43:33 +00:00
Ronnie Sahlberg 6ffb0280ee Break out the PER functions from the alternative h245 dissector
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
2003-07-12 22:35:21 +00:00