Jeff Morriss
3551a86c36
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45015
2012-09-20 01:29:52 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Jeff Morriss
b21b495f9f
Don't generate the conformance file for exported types when building the
...
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-14 10:22:01 +00:00
Jeff Morriss
cf012d27b1
Build the ASN.1 dissectors directly into epan/dissectors (rather than building
...
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-10-10 02:31:11 +00:00
Stig Bjørlykke
ba2aae0f8e
Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.
...
svn path=/trunk/; revision=38122
2011-07-19 18:48:31 +00:00
Stig Bjørlykke
f282154ab0
Use correct encoding for proto_tree_add_item().
...
svn path=/trunk/; revision=38107
2011-07-19 10:51:12 +00:00
Guy Harris
a8bc4a0d13
Rename the routines that handle dissector tables with unsigned integer
...
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys. (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)
svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Jeff Morriss
f2fc5d42fd
Make some prefs callback functions static. (These modules don't use proto_reg_handoff_*() as their prefs callback.)
...
svn path=/trunk/; revision=35138
2010-12-06 22:08:48 +00:00
Bill Meier
9ade30a7b1
#include <string.h> and/or #include <stdio.h> not needed.
...
svn path=/trunk/; revision=32417
2010-04-07 16:54:29 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Anders Broman
ba8d7bd919
Get rid of check_col();
...
svn path=/trunk/; revision=31544
2010-01-17 12:19:02 +00:00
Stig Bjørlykke
3a79a59517
Add some missing DSEType's.
...
svn path=/trunk/; revision=31492
2010-01-11 13:34:05 +00:00
Stig Bjørlykke
112fa32d0b
Fixed some OPTIONAL vs. DEFAULT issues.
...
Regenerate the DOP dissector.
svn path=/trunk/; revision=31313
2009-12-18 17:43:54 +00:00
Stig Bjørlykke
6d1dae6f28
Make all proto_* values static.
...
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Kovarththanan Rajaratnam
fbe646b949
pkixcrmf -> crmf to make directory name consistent with filenames
...
svn path=/trunk/; revision=30472
2009-10-10 13:00:21 +00:00
Kovarththanan Rajaratnam
7ab993bee7
Remove unused NEED_PACKET_PROTO_H variable
...
svn path=/trunk/; revision=30409
2009-10-08 17:26:57 +00:00
Kovarththanan Rajaratnam
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Gerald Combs
9a35ed601d
Remove more unused variables.
...
svn path=/trunk/; revision=29249
2009-07-30 23:47:36 +00:00
Bill Meier
35e5fa9bc1
#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Bill Meier
488933518c
Small cleanups mostly related to proto_reg_handoff
...
svn path=/trunk/; revision=26750
2008-11-11 15:05:00 +00:00
Graeme Lunt
85536e668e
Removal of #defined preference grouping and tidy up agreement id.
...
svn path=/trunk/; revision=24986
2008-04-13 16:20:12 +00:00
Jörg Mayer
3d22aa561b
asn1/*/Makefile.nmake were not part of the source package.
...
Spotted by Tomas Kukosa.
svn path=/trunk/; revision=23921
2007-12-19 10:02:50 +00:00
Tomas Kukosa
1e794fc494
ANSI TCAP regenerated and tested with -T -X asn2wrs options
...
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-12-10 08:35:41 +00:00
Anders Broman
e0937a5992
as2wrs now handles EXTERNAL(direct-reference requires no special handling).
...
svn path=/trunk/; revision=23384
2007-11-06 20:26:13 +00:00
Anders Broman
9492700608
Change:
...
get_oid_str_name() -> oid_resolved_from_string()
get_oid_name() -> oid_resolved_from_encoded()
svn path=/trunk/; revision=23331
2007-11-01 19:36:39 +00:00
Anders Broman
43700969a6
Use oid_add_from_string for adding names.
...
(gsmmap and inap does not compile at the moment).
svn path=/trunk/; revision=23324
2007-10-31 21:24:16 +00:00
Anders Broman
1950ffc214
Apply the small performance enhancment patches for:
...
- 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-23 05:50:00 +00:00
Jörg Mayer
c2d0c8fa31
- Fix svn:ignore for all directories
...
- gsmmap: uncomment -s option in gsmmap.cnf
- Fix cyclic dependencies:
+ Remove EXPORT_CNF from dependencies for cnf files
+ Replace all INCLUDE ...-exp.cnf with IMPORT ...-exp.cnf
svn path=/trunk/; revision=23202
2007-10-16 13:59:40 +00:00
Jörg Mayer
0e0bed500d
- Remove -e option if the generated -exp.cnf file isn't used.
...
- Add EXPORT_FILES to all files that still contain -e.
svn path=/trunk/; revision=23145
2007-10-11 05:27:27 +00:00
Jörg Mayer
060e9ed954
Add missing dependencies and update syntax of existing ones.
...
svn path=/trunk/; revision=23143
2007-10-10 22:26:40 +00:00
Jörg Mayer
61cde0d09e
- Change Makefiles to include preinc
...
- Add missing new directories to asn1/Makefile.nmake
svn path=/trunk/; revision=23141
2007-10-10 19:03:24 +00:00
Jörg Mayer
4a5f7e88a7
Convert some more protocols to new Makefile style.
...
Renamed the gsmmap template files to not contain an _
svn path=/trunk/; revision=23083
2007-10-07 20:02:30 +00:00
Anders Broman
6fd46f0788
Include expert.h and while at it change to use -X and -T options for asn2wrs.
...
svn path=/trunk/; revision=22792
2007-09-05 05:48:44 +00:00
Stig Bjørlykke
6e94835848
Rewrote handling of parameters to get rid of "funky" oid strings.
...
Added expert info for unknown binding-parameters.
svn path=/trunk/; revision=22786
2007-09-04 21:46:41 +00:00
Luis Ontanon
bcd55f4c8e
replace oid_to_str_buf() and oid_to_str()
...
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len()
svn path=/trunk/; revision=22659
2007-08-25 17:29:55 +00:00
Luis Ontanon
00c5e48a17
get users of oid_resolv to use the new oids, rollout packet-snmp.c
...
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Jörg Mayer
b312e64f6a
get_ber_length doesn't need the tree argument, get rid of it.
...
Rebuild asn1 dissectors.
svn path=/trunk/; revision=22627
2007-08-24 07:12:04 +00:00
Anders Broman
57592cb2aa
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1739
...
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-08-13 16:41:16 +00:00
Tomas Kukosa
1dcf2aaef0
use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
...
svn path=/trunk/; revision=22054
2007-06-06 08:12:27 +00:00
Tomas Kukosa
40ba5931de
use ASN.1 type names in conformance file instead of Wireshak types
...
svn path=/trunk/; revision=22045
2007-06-05 13:34:18 +00:00
Anders Broman
c01f382974
Second step in introducing asn context to BER dissectors just like in PER.
...
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Tomas Kukosa
a70a1b3eb6
EXTERNAL type is handled in asn2wrs now
...
private implementations were renamed EXTERNAL -> EXTERNALt
svn path=/trunk/; revision=21662
2007-05-03 11:37:47 +00:00
Ronnie Sahlberg
8920a7e7f2
change the signature that asn2wrs generates for functions to marm all parameters as _U_
...
to reduce the number of compiler warnings.
update some template and cnf files to use _U_ as well
svn path=/trunk/; revision=21088
2007-03-21 10:22:22 +00:00
Ulf Lamping
647533a5ef
put every python script name into "" so the call won't fail on Win32 native python.
...
The problem is the slash in e.g.:
@$(PYTHON) ../../tools/make-dissector-reg.py
is interpreted as an option instead of being part of the path.
I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.
svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +00:00
Tomas Kukosa
56d7db0c08
remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
...
use add_oid_str_name() and get_oid_str_name() instead of them
svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Tomas Kukosa
f0f319acf1
- BER_MAX_OID_STR_LEN removed and replaced with MAX_OID_STR_LEN
...
- x411 and dop regenerated
- dissect_ber_tagged_type() prepared (support in asn2wrs will follow)
svn path=/trunk/; revision=18468
2006-06-15 07:46:07 +00:00
Tomas Kukosa
604000a6b3
- remove some #.MODULE_IMPORT from .cng files
...
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs
svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +00:00
Tomas Kukosa
55600fb60a
Ethereal -> Wireshark
...
asn2eth -> asn2wrs
svn path=/trunk/; revision=18214
2006-05-23 15:17:14 +00:00
Tomas Kukosa
62da958bd9
- asn2eth renamed to asn2wrs
...
- remove obsolete -X option from makefiles
- not generate enumerated map table for BER
dissector will be regenerated later
svn path=/trunk/; revision=18199
2006-05-21 14:36:05 +00:00