Commit Graph

175 Commits

Author SHA1 Message Date
Jörg Mayer 9c38623b5a Sync with samba tree
svn path=/trunk/; revision=16152
2005-10-07 07:50:59 +00:00
Luis Ontanon 154d8ae087 one step further...
TPG now uses the ignore feature of tvbparse
 named sub_rules can have cardinality

epan/tvbparse.c:
   do not crash on zero cardinality


svn path=/trunk/; revision=16065
2005-10-01 15:19:36 +00:00
Luis Ontanon aef8dd5c4c Some changes in tpg's grammar to avoid constructing elements that cannot be dereferenced
svn path=/trunk/; revision=16062
2005-10-01 10:39:38 +00:00
Luis Ontanon 2b57849529 another step closer
svn path=/trunk/; revision=16052
2005-09-29 19:56:21 +00:00
Jörg Mayer 16bd74ab0c In case the paths to the tools are wrong, inform the
user about it instead of complaining that no capture files
could be found.


svn path=/trunk/; revision=16037
2005-09-28 08:14:54 +00:00
Luis Ontanon 217b73a0b1 update tpg
tvbparse:
     - for tvbparse_until spend the target token even if it isn't included


svn path=/trunk/; revision=16032
2005-09-28 01:06:39 +00:00
Luis Ontanon 230c36d360 now it starts to work...
svn path=/trunk/; revision=16028
2005-09-27 21:54:45 +00:00
Luis Ontanon 72cbc6410b TPG TVB Parser Generator
Given a bnf-like grammar generate a set of helpers for a dissector

It's not working yet, however I need this checkin as a cheeckpoint

(I'll write the doc when it starts to be ready)


svn path=/trunk/; revision=16021
2005-09-27 20:48:48 +00:00
Jörg Mayer d902c856e3 Add MANIFEST
svn path=/trunk/; revision=15984
2005-09-23 21:27:03 +00:00
Ulf Lamping e6f26721f4 replace WinPcap devel pack 3.0 with current 3.1 version
svn path=/trunk/; revision=15972
2005-09-22 23:18:34 +00:00
Gerald Combs 0e48360f73 Remove pidl.1.xml from the distribution.
svn path=/trunk/; revision=15971
2005-09-22 22:00:06 +00:00
Jörg Mayer c64775e754 Update from samba + new file MANIFEST
svn path=/trunk/; revision=15955
2005-09-22 09:13:33 +00:00
Jörg Mayer 4932a656cf pidl.1.xml doesn't exist any more in this form. It's now integrated
into pidl itself. So remove the file again and also the reference to
the file in tools/Makefile.am

svn path=/trunk/; revision=15944
2005-09-21 22:41:47 +00:00
Gerald Combs ece40ca87b Add the "test" directory and man page to pidl. This should hopefully
fix the current distcheck and RPM build failures.

svn path=/trunk/; revision=15933
2005-09-21 16:06:59 +00:00
Jörg Mayer 9e3f582c04 Sync with samba: Update to fix manpage handling
svn path=/trunk/; revision=15924
2005-09-21 09:40:45 +00:00
Jörg Mayer 44a3e93524 Add the pidl files.
svn path=/trunk/; revision=15896
2005-09-20 15:08:14 +00:00
Tomas Kukosa d3492e684a asn2eth
- #.FN_BODY accepts parameters too
 - single line variant of #.FN_PAR is possible
 - new parameter FN_VARIANT for OBJECT IDENTIFIER
packet-per.c
 - dissect_per_object_identifier() returns value as tvb
 - new dissect_per_object_identifier_str() function
PER dissectors adapted and regenerated

svn path=/trunk/; revision=15894
2005-09-20 10:56:08 +00:00
Jörg Mayer 44a4fd449c Revert back to local copy: The samba svn server does not support svn
over http - this was a much requested feature for Ethereals svn server.

svn path=/trunk/; revision=15882
2005-09-19 23:31:47 +00:00
Jörg Mayer dfaf9f9310 Change pidl to svn:externals
svn path=/trunk/; revision=15866
2005-09-19 14:50:23 +00:00
Tomas Kukosa ee8d53adf5 remove unused parameter 'name' from dissect_per_choice()
svn path=/trunk/; revision=15861
2005-09-19 07:35:05 +00:00
Jörg Mayer 33097899f8 Small update
svn path=/trunk/; revision=15860
2005-09-18 21:58:39 +00:00
Jörg Mayer f1bd7620a3 Update README.ethereal and sync with current samba tree
svn path=/trunk/; revision=15859
2005-09-18 21:57:59 +00:00
Jörg Mayer fdc91d7e24 Add a local copy of pidl, add a README.ethereal to include
minimalistic building and usage instructions.


svn path=/trunk/; revision=15836
2005-09-16 09:31:05 +00:00
Gerald Combs 4ba88078f9 Move to the latest ethereal-win32-libs tag.
svn path=/trunk/; revision=15706
2005-09-06 19:48:57 +00:00
Tomas Kukosa 1d6439aa7d - OID names table extended
- NAME and ABBREV attributes can be used in #.FIELD_ATTR
- following constraint format is supported (1..10, ..., 11..MAX)

svn path=/trunk/; revision=15634
2005-08-31 14:32:29 +00:00
Anders Broman bc3830f63d Fix a typo 'BER_UNI_TAG_TeletexString'
svn path=/trunk/; revision=15613
2005-08-29 16:51:58 +00:00
Jörg Mayer 344fc629fc Add a tool to check the hf_ values.
svn path=/trunk/; revision=15611
2005-08-29 14:15:32 +00:00
Tomas Kukosa ec979a97fb - dissect_per_restricted_character_string() returns value in tvbbuff_t instead of char
- asn2eth:
  fixed CHOICE tag handling
  #.FN_PARS support for BIT STRING and all string types
  intersection of SIZE and FROM constraints for string is handled
- new asn2eth features used in h225 and h245
- PER dissectors regeneration

svn path=/trunk/; revision=15408
2005-08-18 14:32:49 +00:00
Jörg Mayer cee545d958 Albert Chin:
"config.h" should always be included first. However, lemon
        includes <stdio.h> first.


svn path=/trunk/; revision=15208
2005-08-04 20:41:52 +00:00
Jörg Mayer c17d44e122 Fix svn properties where needed:
Remove svn:executable
         Add svn:executable
         Add svn:eol-style
         Add svn:keywords


svn path=/trunk/; revision=15182
2005-08-02 05:58:15 +00:00
Jörg Mayer 5e83d1e015 Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15172
2005-08-02 04:35:40 +00:00
Tomas Kukosa 49a0d4f697 - fix name handling of imported types
- #.FN_PARS implemented for TypeRef, SET, SEQUENCE, CHOICE

svn path=/trunk/; revision=15161
2005-08-01 08:40:13 +00:00
Anders Broman 40c841279f rom Maynard, Chris :
The attached patches, generated via  svn diff , correct various compiler 

& lint warnings, among them: 

 

lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers


svn path=/trunk/; revision=15086
2005-07-26 09:52:50 +00:00
Ulf Lamping 9eedc98db7 Update to zlib 1.2.3
svn path=/trunk/; revision=15040
2005-07-24 14:16:54 +00:00
Jörg Mayer 30a8557868 More 'char*' -> 'const char*' changes to fix warnings.
svn path=/trunk/; revision=15015
2005-07-23 11:41:25 +00:00
Jörg Mayer e1c6d9ac3d Fix some warnings (and one of my previous 'fixes')
svn path=/trunk/; revision=14997
2005-07-22 17:57:40 +00:00
Jörg Mayer f67b00ad9a More 'char*' -> 'const char*' warning fixes
svn path=/trunk/; revision=14986
2005-07-22 07:55:51 +00:00
Ronnie Sahlberg 0ca30abe65 change the symbol dissect_ber_CHOICE back into dissect_ber_choice
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +00:00
Tomas Kukosa aa6a15ebde PLY package updated to version 1.6
svn path=/trunk/; revision=14951
2005-07-18 20:45:46 +00:00
Gerald Combs e1c7558d93 Point to the latest Windows library tag and versions.
svn path=/trunk/; revision=14923
2005-07-15 20:50:34 +00:00
Tomas Kukosa 1374231148 - PER helper functions for SET/SEQUENCE OF dissection were changed to have prototype similar to BER (per_sequence_t is used as parameter)
- asn2eth was updated to support new PER helper functions for SET/SEQUENCE OF
- #.FN_PARS implemented for SET/SEQUENCE OF and REAL
- PER SET/SEQUENCE OF field can be FT_UINTxx to display number of items
- PER dissectors regenerated

svn path=/trunk/; revision=14921
2005-07-15 15:20:40 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Gerald Combs 5b7df3128b Make sure "which" is present before we verify our tools. Add "env" to
the list of programs to check.  Make sure our python scripts start with
"#!/usr/bin/env python" as recommended at

  http://www.python.org/doc/faq/library.html#how-do-i-make-a-python-script-executable-on-unix

svn path=/trunk/; revision=14871
2005-07-07 21:26:09 +00:00
Guy Harris 2b086353a4 Fix a spelling error.
svn path=/trunk/; revision=14865
2005-07-06 23:55:19 +00:00
Tomas Kukosa 3f36906e3a - #.FN_PARS implemented for BOOLEAN
- user defined body #.FN_BODY can be combined with default body using DEFAULT_BODY parameter (see e.g. H.225)

svn path=/trunk/; revision=14863
2005-07-06 16:15:12 +00:00
Tomas Kukosa ed7d638053 new directives #.PDU_NEW and #.REGISTER_NEW creating and registering PDU dissectors with new_dissector_t prototype
svn path=/trunk/; revision=14860
2005-07-05 21:42:13 +00:00
Tomas Kukosa 648c7863cd - #.FN_PARS support for ENUMERATED type
- cleanup unused parameters for some methods

svn path=/trunk/; revision=14856
2005-07-05 19:47:04 +00:00
Tomas Kukosa 5f2fd433ab - use tvb instead of offset and length in dissect_per_octet_string() for value returning
- asn2eth: #.FN_PARS support for OCTET STRING
- usage of #.FN_PARS in h225 and h245
- h225: ParallelH245Control support
- h245: better support of NonStandardParameter
- usage of MAX_OID_STR_LEN constant
- all PER dissectors regenerated

svn path=/trunk/; revision=14844
2005-07-04 09:35:25 +00:00
Tomas Kukosa f9d6448624 fix for BER string tags
svn path=/trunk/; revision=14800
2005-06-27 13:45:47 +00:00
Ronnie Sahlberg 3a51ba4293 make dissect_ber_choice take a guint* that will return the
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-26 05:48:50 +00:00