Bill Meier
a0eee8c299
Replace some unnecessary use of g_snprintf and g_strdup_printf
...
svn path=/trunk/; revision=27864
2009-03-27 14:46:54 +00:00
Bill Meier
e284ca63d5
(Minor): Remove unnecessary use of g_snprintf
...
svn path=/trunk/; revision=27863
2009-03-27 14:30:51 +00:00
Ulf Lamping
f681477e33
remove GPLv2 CRC code, the new epan CRC stuff is working well
...
svn path=/trunk/; revision=27803
2009-03-20 10:44:42 +00:00
Gerald Combs
dd903ca9c8
Create an "epan/crc" directory for CRC code. Add crc-16-plain.[ch],
...
generated from pycrc. The command line used to generate the file is in
epan/crc/Makefile.common. I used "plain" to distinguish it from CCITT,
USB, and other 16-bit CRCs. Integrate the new CRC code into our
infrastructure.
Add crc16_plain_tvb_offset() to epan/crc16.[ch] and use it in
plugins/profinet/packet-pn-rt.c. This _should_ work correctly, but
hasn't been tested.
svn path=/trunk/; revision=27790
2009-03-18 21:59:30 +00:00
Bill Meier
4f34bb9b15
From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];
...
- As suggested actually use sizeof(...) rather than a numeric constant.
- g_snprintf() and g_vsnprintf() since glib 1.3.12 do not return -1.
svn path=/trunk/; revision=27772
2009-03-18 15:03:46 +00:00
Ulf Lamping
870e139576
fix type
...
svn path=/trunk/; revision=27749
2009-03-16 22:36:34 +00:00
Ulf Lamping
dcdda03610
update to the latest PROTINET changes:
...
- add SubFrameBlock dissection
- add subframe heuristics and dissection
- update frame id "layout"
- raise plugin version to 0.2.4
crc16 algorithm copied from Linux sources (GPL V2 only!)
svn path=/trunk/; revision=27748
2009-03-16 21:40:00 +00:00
Gerald Combs
be943c8419
Go a little deeper into the Win64 rabbit-hole. Add tools/native-nmake.cmd
...
and use it as a wrapper to compile a native version of lemon.
Untested on Win32.
svn path=/trunk/; revision=27734
2009-03-15 22:40:29 +00:00
Gerald Combs
57dadc4664
More Windows compiler flag cleanups. Fix a problem with my last commit
...
that would break compilation for older compilers. Create a "DLL_LDFLAGS"
variable and use it in DLLs and plugins. Use PLUGIN_LDFLAGS and
DLL_LDFLAGS where needed. Don't force i386 code in the TPG plugin.
svn path=/trunk/; revision=27582
2009-03-02 21:33:11 +00:00
Gerald Combs
07e5df616e
Disable manifest building for our DLLs. This attempts to fix bug 3272.
...
svn path=/trunk/; revision=27579
2009-03-02 18:57:35 +00:00
Jaap Keuter
ace93cb4bb
From Robert Groenenberg:
...
As of version 0.99.8, there has been an annoying problem in the ASN.1 dissector:
when using a 'type table' which discribes the ASN.1 syntax of the traced packets,
wireshark would crash on the very first packet. The cause for the crash is an out-of-
boundry write, detected by g_free().
svn path=/trunk/; revision=27507
2009-02-22 12:22:28 +00:00
Jaap Keuter
23461c4382
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27506
2009-02-22 12:01:19 +00:00
Jaap Keuter
9da243b13c
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27505
2009-02-22 11:43:37 +00:00
Jaap Keuter
4683efcfe2
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27504
2009-02-22 11:25:16 +00:00
Jaap Keuter
80863f9568
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27503
2009-02-22 11:10:29 +00:00
Jaap Keuter
9fb248f1c0
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27502
2009-02-22 10:52:05 +00:00
Jaap Keuter
03bbd18a0b
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27501
2009-02-22 10:29:14 +00:00
Jaap Keuter
eb77f8a35e
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27500
2009-02-22 10:04:39 +00:00
Jaap Keuter
1948ad3985
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27499
2009-02-22 09:41:05 +00:00
Jaap Keuter
b171a36a4f
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27498
2009-02-22 09:24:27 +00:00
Jaap Keuter
56a1139bc0
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27497
2009-02-22 09:09:27 +00:00
Jaap Keuter
663f835c1e
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27496
2009-02-22 00:04:14 +00:00
Jaap Keuter
47f31f3f91
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27495
2009-02-21 22:22:16 +00:00
Jaap Keuter
715fd1d169
Incorporate plugin dissector into build in collection.
...
svn path=/trunk/; revision=27492
2009-02-21 20:22:40 +00:00
Jaap Keuter
60d78eefcf
Update the documentation to reflect the current state of plugin development.
...
svn path=/trunk/; revision=27491
2009-02-21 16:33:48 +00:00
Jaap Keuter
cfd0be516b
Rename source file to reflect Cisco specific protocol.
...
svn path=/trunk/; revision=27481
2009-02-18 07:46:28 +00:00
Jaap Keuter
56f631f9d0
Correct copyright statements.
...
svn path=/trunk/; revision=27480
2009-02-18 07:20:26 +00:00
Ulf Lamping
f904f42f9d
Remove an ugly hack:
...
There was an ugly hack while creating the menu, that tried to detect the stat_group a stats_tree belongs to by looking at the name string. That makes it unnecessarily hard to understand how the menu is really created.
Fix: Add a new function stats_tree_register_with_group() that takes the stat_group as a parameter. Use this function where a stats_tree doesn't fit into the default "unsorted" group.
svn path=/trunk/; revision=27407
2009-02-10 03:54:55 +00:00
Tomas Kukosa
79e68576f0
- remove reference to AMR (submitted by mistake)
...
- add new lines at the ends of headers
- fix struct usage
svn path=/trunk/; revision=27401
2009-02-09 12:54:40 +00:00
Stig Bjørlykke
863674322d
From Peter Johansson:
...
Correct a misspelling.
svn path=/trunk/; revision=27399
2009-02-09 10:29:17 +00:00
Ulf Lamping
043532d63e
add missing mt.exe calls, to include manifest files into exe / dll files
...
svn path=/trunk/; revision=27357
2009-02-02 23:09:36 +00:00
Guy Harris
2ba37de400
Fix uninitialized variable.
...
More indentation cleanups.
svn path=/trunk/; revision=27306
2009-01-26 23:48:10 +00:00
Guy Harris
248db0a42a
Non-constant strings should not be used as format items; the format
...
should be "%s", with the string used as an argument, just in case the
string contains a "%" character.
Clean up indentation.
svn path=/trunk/; revision=27304
2009-01-26 22:58:47 +00:00
Ulf Lamping
f9e110d4cd
fix a minor comment bug
...
svn path=/trunk/; revision=27299
2009-01-26 19:53:22 +00:00
Ulf Lamping
269cec3108
add some expert infos
...
svn path=/trunk/; revision=27298
2009-01-26 19:52:19 +00:00
Jaap Keuter
ba1cb8b69e
Make the column check actually check the information column status.
...
svn path=/trunk/; revision=27224
2009-01-13 20:47:06 +00:00
Guy Harris
a2f9627d09
Fix the URL for the RLM stuff at Cisco.
...
Add some heuristics to the RLM LAPD-over-UDP dissector, so as not to
misdissect as many packets.
Fetch the LAPD dissector handle only once.
Change some Boolean arguments to gboolean from int.
svn path=/trunk/; revision=27217
2009-01-13 06:54:06 +00:00
Jaap Keuter
aa69531a1b
From Didier Gautheron:
...
Add missing {0, NULL} tuples to value string declarations.
svn path=/trunk/; revision=27201
2009-01-09 07:39:13 +00:00
Jaap Keuter
013ab7897d
Fix for bug 2902:
...
Remove global variables for packet information, pass these through function calls.
Reduce label_SUB[M|A]_[Method|Attribute] routines.
Actually check column status before writing to it.
svn path=/trunk/; revision=27199
2009-01-08 20:40:08 +00:00
Jaap Keuter
4b6b4b672c
Fix for bug 2902:
...
Actually check column status before writing to it.
svn path=/trunk/; revision=27192
2009-01-08 07:36:11 +00:00
Jeff Morriss
896b654b4a
Don't look up the mtp3 dissector (twice) for every packet: do it once at
...
proto_reg_handoff time and store the result.
If we don't call the mtp3 dissector on the payload then call the data dissector
to make it easier to see the payload.
svn path=/trunk/; revision=27160
2009-01-05 20:37:04 +00:00
Anders Broman
f5bdbc6af9
Change install-plugins target to install plugins in "$(INSTALL_DIR)\plugins\$(VERSION)" instead.
...
svn path=/trunk/; revision=27124
2008-12-29 12:37:15 +00:00
Bill Meier
9a3563e807
Fix some typos and spelling (mostly in text strings)
...
svn path=/trunk/; revision=27085
2008-12-22 15:24:18 +00:00
Bill Meier
b3d131b43d
Fixes for issues reported by Chris Maynard in bug #2813 ;
...
Also: fix a typo
svn path=/trunk/; revision=27082
2008-12-22 13:34:51 +00:00
Gerald Combs
6d04f793f0
Back out r27047 and r27053.
...
svn path=/trunk/; revision=27062
2008-12-19 17:39:52 +00:00
Gerald Combs
fc71188963
Update calls to proto_tree_add_bytes_format to reflect r27047.
...
svn path=/trunk/; revision=27053
2008-12-18 20:19:49 +00:00
Stig Bjørlykke
e4e7334be0
From Jim Young (bug 3105):
...
Trivial patch to change two C++ style comments to standard C style comments.
svn path=/trunk/; revision=26944
2008-12-09 13:42:00 +00:00
Ulf Lamping
4f46066fa0
add missing version check for new block
...
svn path=/trunk/; revision=26917
2008-12-04 21:26:35 +00:00
Ulf Lamping
6e0a9d6df0
add block dissections:
...
- PDIRBeginEndData
- PDIRData V1.1
svn path=/trunk/; revision=26916
2008-12-04 20:52:11 +00:00
Jörg Mayer
b719d7ac35
Unistim still eats the TAPA packets :-(
...
svn path=/trunk/; revision=26910
2008-12-04 09:31:44 +00:00