aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rtse
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26Fix a bunch of warnings.Guy Harris1-2/+2
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-10Propage changes done in generated dissectors to asn1/Jakub Zawadzki2-14/+16
svn path=/trunk/; revision=44845
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=40468
2011-10-14Don't generate the conformance file for exported types when building theJeff Morriss1-1/+1
dissector; instead built it only when the separate target (generate_export) is built. Built generate_export when building "all". This prevents the exp_*.cnf files from being regenerated each time another one of the exp_*.cnf files (which the current dissector depends on) has changed (despite the fact that the exported types does not depe Also fix the CLEANFILES definition so it actually cleans things. svn path=/trunk/; revision=39421
2011-10-10Build the ASN.1 dissectors directly into epan/dissectors (rather than buildingJeff Morriss1-4/+0
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
2011-09-27Get rid of check_col, while at it set ENC.Anders Broman1-4/+4
svn path=/trunk/; revision=39164
2011-07-19Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=38122
2011-07-19Use correct encoding for proto_tree_add_item().Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=38107
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+5
svn path=/trunk/; revision=35705
2010-09-30Cleanup reassembly hf entries.Stig Bjørlykke1-9/+8
svn path=/trunk/; revision=34291
2010-08-24Display octet string fragments for RTSE segment data.Stig Bjørlykke1-4/+7
svn path=/trunk/; revision=33911
2010-08-24Indicate abort and abort-reason in info column.Stig Bjørlykke1-0/+17
svn path=/trunk/; revision=33908
2010-08-24Add Id.Anders Broman2-0/+2
svn path=/trunk/; revision=33907
2010-08-16Added Info for RTTPapdu.Stig Bjørlykke1-0/+10
svn path=/trunk/; revision=33809
2010-06-10Display RefuseReason in Info column.Stig Bjørlykke1-0/+15
svn path=/trunk/; revision=33206
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-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-0/+6
reassembly. svn path=/trunk/; revision=31767
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-06-23From Kovarththanan Rajaratnam:Stig Bjørlykke1-4/+4
Clean up header field info in asn1/*-template.c files. From me: Fixed a few typos in the patch. svn path=/trunk/; revision=28817
2009-05-20Added expert info for Unknown RTSE PDU.Stig Bjørlykke1-1/+9
svn path=/trunk/; revision=28424
2009-05-20Added expert info for OID not implemented.Stig Bjørlykke1-6/+5
svn path=/trunk/; revision=28423
2008-11-04Move find_dissector (2x) to fcn called by proto_reg_hand_off in other dissectorsBill Meier1-6/+10
svn path=/trunk/; revision=26696
2008-01-16- Removed some unused variables in asn1 dissectorsStig Bjørlykke1-3/+0
- Fixed last parameter to cry_cipher_open() in pkcs12 svn path=/trunk/; revision=24116
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-14Changed to use the the packet-ber EXTERNAL decoding (into the ASN1 context).Graeme Lunt3-42/+19
Uses the ber_callback mechanism to call the rtse oid callbacks, rather than the default ber oid callback list. A couple of fixes to packet-ber.c to mark [in]direct references as present and call the ber_callback if it has been specified. svn path=/trunk/; revision=23450
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-10-22Update to use the -X and -T flags.Graeme Lunt2-21/+3
Removed some workaround code in the .cnf file. There is still some code for handling an EXTERNAL (EXTERNALt) as the RTSE dissector has its own set of callbacks and consequently can't (currently) use the packet-ber.c functions. svn path=/trunk/; revision=23242
2007-10-11Remove the remaining autogenereated -exp.cnf filesJörg Mayer1-25/+0
svn path=/trunk/; revision=23148
2007-10-11- Remove -e option if the generated -exp.cnf file isn't used.Jörg Mayer1-0/+2
- Add EXPORT_FILES to all files that still contain -e. svn path=/trunk/; revision=23145
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 Mayer5-58/+97
svn path=/trunk/; revision=23127
2007-09-05Check object_identifier_id before use.Stig Bjørlykke1-2/+3
svn path=/trunk/; revision=22794
2007-08-25replace oid_to_str_buf() and oid_to_str()Luis Ontanon2-2/+4
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len() svn path=/trunk/; revision=22659
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-08-13http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1739Anders Broman1-3/+6
Fro Stig Bjørlykke: 1. BER: Added support for empty indef SET 2. RTSE: Added fragment length in COL_INFO 3. IMF: Use correct hf_id for extension value 4. DOP: Fix typo in COL_INFO oid name svn path=/trunk/; revision=22492
2007-06-27This patch adds a check for octet string in RTSE reassembly.Graeme Lunt1-17/+23
If not an octet string the data is handled as ordinary RTSE APDU. svn path=/trunk/; revision=22208
2007-06-24This patch adds RTSE reassembly. The reassembly is done whenGraeme Lunt1-11/+152
receiving a SES MAJOR SYNC POINT, as this indicates the end of the COTP DT Data stream. Previous the RTSE dissector was called when receiving a COTP DT Data fragment with the "last data unit" bit set, but this does not work with messages fragmented in RTSE. Reassembly can be turned off in the preferences. svn path=/trunk/; revision=22176
2007-06-06use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)Tomas Kukosa1-6/+6
svn path=/trunk/; revision=22054
2007-06-05not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 typesTomas Kukosa1-2/+2
it makes interconnection between .cnf file and ASN.1 source more readable (changes for #.FN_BODY will follow) svn path=/trunk/; revision=22043
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-1/+1
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-3/+3
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman2-23/+26
svn path=/trunk/; revision=21753
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa3-10/+10
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662