aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.h
AgeCommit message (Collapse)AuthorFilesLines
2005-06-26make dissect_ber_choice take a guint* that will return theRonnie Sahlberg1-1/+1
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-21the maximum ASN OID length is 256 bytes and there is a define to control this.Ronnie Sahlberg1-0/+2
fix bug251 and all other occurances where an oid string passed to packet_ber_object_identifier() is not defined as foo[MAX_OID_STR_LEN] svn path=/trunk/; revision=14720
2005-06-07From Tim Endean:Anders Broman1-1/+2
- I have had to make some changes to packet-ber to allow for PRIVATE and APPLICATION tags. - Both ANSI and ITU variants supported without configuration. - Asn.1 dissectors can now register using an OID value as well as an SSN, the oid it tried first. svn path=/trunk/; revision=14572
2005-04-28Usage of oid_to_str() in PER and BER helpersTomas Kukosa1-1/+3
svn path=/trunk/; revision=14217
2005-04-27NULL type decoders for PER and BERTomas Kukosa1-0/+1
svn path=/trunk/; revision=14201
2005-04-22Define a maximum OID string length, and use it in a lot of places. Fixes aGerald Combs1-0/+2
buffer overflow found while fuzz testing. svn path=/trunk/; revision=14169
2005-04-20Add a tree parameter to get_ber_length() so thatRonnie Sahlberg1-1/+1
IF the length seems bogus, like longer than the reported tvb_length we add a helpful text item to the tree and generate a [malformed packet] change all callers of get_ber_length to the new signature. svn path=/trunk/; revision=14145
2005-02-23update asn2eth and all generated dissectors to new dissect_ber_boolean that ↵Ronnie Sahlberg1-1/+1
takes a implicit_tag parameter svn path=/trunk/; revision=13479
2004-12-13change the incorrect BER_UNI_TAG_TeletextString into BER_UNI_TAG_TeletexStringRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=12743
2004-12-13update of the asn2eth compiler to use the types ber_[choice|sequence]_t ↵Ronnie Sahlberg1-15/+15
instead of ber_[choice|sequence] regenerated all dissectors fixed the choice/sequence struct to use unsigned entities for class and tag (to reduce some compiler warning and because it should be signed quantities) svn path=/trunk/; revision=12740
2004-12-12update the helper for BER GeneralizedTime to handle implicit tag and update ↵Ronnie Sahlberg1-1/+1
all dissectors using GeneralizedTime svn path=/trunk/; revision=12732
2004-12-12updates from tomas and andersRonnie Sahlberg1-1/+1
create some missing makefiles for autogenerated dissectors finish the transition to the new ber integer dissetor helper signature and regenerate all ber dissectors svn path=/trunk/; revision=12724
2004-12-12remove the function with the old signature for ber integer dissectionRonnie Sahlberg1-1/+0
svn path=/trunk/; revision=12723
2004-11-13add new integer dissector helper that is aware of implicit tagsRonnie Sahlberg1-0/+1
svn path=/trunk/; revision=12519
2004-11-09Make it possible to print name of OID strings for PER coded OID:s as well.Anders Broman1-0/+1
svn path=/trunk/; revision=12496
2004-10-27Make it possible to register a string for an OID in the hash table.Anders Broman1-0/+1
svn path=/trunk/; revision=12412
2004-10-11Constify more pointer arguments.Guy Harris1-2/+2
svn path=/trunk/; revision=12265
2004-10-08Make the "asn_namedbit *" argument to "dissect_ber_bitstring()" aGuy Harris1-1/+1
"const" pointer. svn path=/trunk/; revision=12247
2004-10-08"dissect_ber_sequence()" doesn't modify the "ber_sequence" structureGuy Harris1-1/+1
passed to it; make that argument a const pointer. svn path=/trunk/; revision=12244
2004-07-29add some algorithm oid's to x509af(for the time being)Ronnie Sahlberg1-0/+1
(only those that take no parameters for the time being) create a dummy ber oid callback for callbacks that are NULL svn path=/trunk/; revision=11565
2004-07-23register ber oid functions through a special function in packet-ber.c which ↵Ronnie Sahlberg1-0/+1
also takes (still unused) the name of the oid so that sometime later it will be easy to add code to add the name of the oid to the dissection. svn path=/trunk/; revision=11478
2004-07-21get rid of the nasty ber specific oid->callback table and reimplement the ↵Ronnie Sahlberg1-5/+1
functionality using a dissector table instead i.e. the proper way. svn path=/trunk/; revision=11457
2004-07-20Small update to AlgorithmIdentifier.Ronnie Sahlberg1-1/+1
Allow the TYPE field to match ANY type of BER construct. svn path=/trunk/; revision=11441
2004-07-20Add the new protocols CMS, X509AF, X509IF, X509CE and X509SATRonnie Sahlberg1-0/+6
to the ethereal build. The dissections are semi-useful but incomplete. The big problem still remaining is the x509if Name object not being dissected properly thus causing the dissection to get out of sync/fail halfway through the certificate structure. work in progress but already semi-useful. svn path=/trunk/; revision=11440
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+161
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410