Commit graph

31065 commits

Author SHA1 Message Date
Guy Harris
ca4125eb5e Staticize.
svn path=/trunk/; revision=32025
2010-02-27 01:18:21 +00:00
Guy Harris
ce3c4b2370 Get rid of unnecessary casting away of const.
svn path=/trunk/; revision=32024
2010-02-27 01:12:24 +00:00
Guy Harris
64fc28d937 Squelch warning (I think some compiler out there, perhaps AIX's, will
fail on that).

svn path=/trunk/; revision=32023
2010-02-27 01:03:16 +00:00
Guy Harris
7d7a964d3f Constify and staticize.
svn path=/trunk/; revision=32022
2010-02-27 01:02:19 +00:00
Guy Harris
e6e56a0652 Constify and clean up indentation.
svn path=/trunk/; revision=32021
2010-02-27 00:55:55 +00:00
Guy Harris
f3b4098040 Constify.
Don't have variables that point to string constants, just make the
string constants be static const arrays.

strlen(array of unspecified size initialized with a string) ==
sizeof array - 1; the latter can be computed at compile time.

svn path=/trunk/; revision=32020
2010-02-27 00:51:14 +00:00
Guy Harris
85fccb7f91 Constify, clean up indentation.
svn path=/trunk/; revision=32019
2010-02-27 00:43:44 +00:00
Guy Harris
8e7809038a Handle C++ code, such as the wsgd plugin.
svn path=/trunk/; revision=32018
2010-02-26 23:05:02 +00:00
Balint Reczey
866c5a1733 From Vincent Bernat <bernat@debian.org>:
Refine workaroud for preventing libsmi error.

svn path=/trunk/; revision=32017
2010-02-26 19:07:01 +00:00
Bill Meier
af69a7236a Use consistent indentation.
svn path=/trunk/; revision=32016
2010-02-26 15:08:12 +00:00
Guy Harris
17392a865a Move the definitions of all the private data structures out of
wtap-int.h, and change the unions of pointers to those private data
structures into just void *'s.

Have the generic wtap close routine free up the private data, rather
than the type-specific close routine, just as the wtap_dumper close
routine does for its private data.  Get rid of close routines that don't
do anything any more.

svn path=/trunk/; revision=32015
2010-02-26 07:59:54 +00:00
Guy Harris
c4dd5ca6f3 Add Kerberos to the list of ASN.1 protocols.
svn path=/trunk/; revision=32012
2010-02-26 01:39:37 +00:00
Guy Harris
49c42be03f Add Kerberos to the list of BER ASN.1 protocols. Add some more
protocols to the list of those to clean, and sort the list of clean
rules to match the order of the protocols above.

svn path=/trunk/; revision=32011
2010-02-26 01:39:18 +00:00
Bill Meier
a6b4ca6d61 GtkCombo --> GtkComboBoxEntry
svn path=/trunk/; revision=32010
2010-02-25 23:37:55 +00:00
Guy Harris
207a75388a Have parse_ascend() return:
PARSED_RECORD if we got a packet;

    PARSED_NONRECORD if the parser succeeded but didn't see a packet;

    PARSE_FAILED if the parser failed.

Treat anything other than PARSED_RECORD as a failure, for now; I'm not
sure why we were treating "parser succeeded but didn't see a packet" as
success, as that was causing us to recognize some non-Ascend-output text
files as Ascend files and to return "records" with bogus caplen and len
values.

svn path=/trunk/; revision=32009
2010-02-25 20:45:59 +00:00
Martin Mathieson
def01f5c66 When filtering on MAC PDUs, filter only on MAC PDUs.
svn path=/trunk/; revision=32008
2010-02-25 20:27:33 +00:00
Bill Meier
02296387b0 Rename a number of variables for clarity.
svn path=/trunk/; revision=32007
2010-02-25 20:06:16 +00:00
Balint Reczey
339131d835 Prevent potential crash in libsmi.
From: Vincent Bernat <bernat@debian.org>

svn path=/trunk/; revision=32006
2010-02-25 19:28:58 +00:00
Jaap Keuter
59c1e948e3 Fix for bug 2478:
"Push to test. Release to detonate."

svn path=/trunk/; revision=32005
2010-02-25 17:41:57 +00:00
Jörg Mayer
914983a0dc Almost working out-of-tree builds for the documentation,
with a few hacks right now:
- The tip.png, warning.png and note.png images are missing from the
  pdfs and I have no idea how to tell fop how to find them.
- Disabling/enabling building the guides via option currently doesn't
  work (probably too many macros :-), so comment out the subdir instead.
- Right now, in order to build the devleopers guide we need to do the
  following in the source docbook directory:
  touch wsdg_graphics/toolbar/dummy.dummy

Apart from these: The build works with a pristine docbook dir
(svn status --no-ignore).

svn path=/trunk/; revision=32004
2010-02-25 12:30:44 +00:00
Jörg Mayer
480582e8e9 libepan -> libwireshark
svn path=/trunk/; revision=32003
2010-02-25 09:26:27 +00:00
Stig Bjørlykke
ebedd2a567 Added packet-rua.c
svn path=/trunk/; revision=32002
2010-02-25 08:27:14 +00:00
Stig Bjørlykke
6cf41668c2 Move rua to dirty dissectors.
svn path=/trunk/; revision=32001
2010-02-25 08:26:25 +00:00
Kovarththanan Rajaratnam
947e7e3768 Fix typo in previous commit (trailing backslash)
svn path=/trunk/; revision=32000
2010-02-25 07:47:35 +00:00
Kovarththanan Rajaratnam
769a93debd Add hnbap
svn path=/trunk/; revision=31999
2010-02-25 07:41:33 +00:00
Guy Harris
1f8845f1ca Make asn1/kerberos/Makefile and asn1/rua/Makefile as well.
svn path=/trunk/; revision=31998
2010-02-25 05:00:58 +00:00
Guy Harris
40713c28b7 Generate asn1/hnbap/Makefile.
svn path=/trunk/; revision=31997
2010-02-25 04:55:16 +00:00
Jörg Mayer
67072286bf - Remove the lib prefix for plugin names.
- Remove a (resolved) comment.
- Add a commented out line how to add version infos to the
  plugin's file name.

svn path=/trunk/; revision=31995
2010-02-24 22:32:10 +00:00
Anders Broman
bacd403236 Move HNBAP to dirty dissectors for now.
svn path=/trunk/; revision=31994
2010-02-24 22:19:54 +00:00
Gerasimos Dimitriadis
d00eec07e2 Fix for bug 3926:
Enhance decoding of TS2 channel list

svn path=/trunk/; revision=31993
2010-02-24 22:17:52 +00:00
Gerald Combs
a5b39ae47a Use the latest GTK+ 2.16 bundle. For the Win32 build this means downgrading
from GTK+ 2.18. According to https://bugzilla.gnome.org/show_bug.cgi?id=598299
we should probably hold off on using 2.18 for a while.

svn path=/trunk/; revision=31992
2010-02-24 21:08:09 +00:00
Stig Bjørlykke
bae37cf3ac Uh, no need to check for having custom columns to call
col_custom_prime_edt().

svn path=/trunk/; revision=31991
2010-02-24 20:34:38 +00:00
Stig Bjørlykke
258c8363ec Fix for bug 4323 & 4511:
Call col_custom_prime_edt() when having custom columns on print and
export to csv and psml.

svn path=/trunk/; revision=31990
2010-02-24 20:24:05 +00:00
Anders Broman
da5346bf77 From Neil Piercy:
Add 3GPP Home Node B Iuh protocol support (HNBAP & RUA)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4531
 - Added IE extension for HNBAP
 - Removed unused .h files

svn path=/trunk/; revision=31989
2010-02-24 20:16:33 +00:00
Anders Broman
8ead825575 From Neil Piercy:
Add 3GPP Home Node B Iuh protocol support (HNBAP & RUA)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4531
 - Added IE extension for HNBAP
 - Removed unused .h files

svn path=/trunk/; revision=31988
2010-02-24 20:15:31 +00:00
Jaap Keuter
8cd9794a00 Fix for bug 4522:
Don't offer "Wiki Protocol Page" and "Filter Field Reference" in the 
context menu when a Text item is selected.

svn path=/trunk/; revision=31987
2010-02-24 19:05:55 +00:00
Anders Broman
35574147d7 From Jakub Zawadzki:
Don't sigsegv on negative bd_len in bytes_to_str*

svn path=/trunk/; revision=31986
2010-02-24 12:59:09 +00:00
Anders Broman
2f9306d05a GSM SMS PDU TPVPF wrong interpretation.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4524

svn path=/trunk/; revision=31985
2010-02-24 12:41:01 +00:00
Kovarththanan Rajaratnam
2bb18bac8b Point to the correct perl script in the autogenerated file + correct tabs
svn path=/trunk/; revision=31984
2010-02-24 12:28:04 +00:00
Kovarththanan Rajaratnam
7f27653f4b Mark variables as static
svn path=/trunk/; revision=31983
2010-02-24 08:46:29 +00:00
Kovarththanan Rajaratnam
8a7dedfab4 We already pull in glib.h so use gboolean instead of int to declare boolean types.
svn path=/trunk/; revision=31982
2010-02-24 08:39:51 +00:00
Guy Harris
756bf60020 Move the definition of the private data structure from wtap-int.h to the
iSeries capture processor.  Parse the start date into year/month/day at
the time we see it, rather than for every packet; that means we don't
need to allocate a buffer to hold the date as a string (a buffer which
we weren't ever freeing).

svn path=/trunk/; revision=31981
2010-02-24 08:39:19 +00:00
Kovarththanan Rajaratnam
7ca35912aa Make do_test() static
svn path=/trunk/; revision=31980
2010-02-24 08:36:20 +00:00
Kovarththanan Rajaratnam
fcc745f75b Constify format string
svn path=/trunk/; revision=31979
2010-02-24 08:34:35 +00:00
Stig Bjørlykke
25dcd066b6 From Hannes Diethelm via bug 4525:
Corrected values for IdentInfo (which was obviously wrong)

svn path=/trunk/; revision=31978
2010-02-24 08:22:33 +00:00
Stig Bjørlykke
2a05629490 Moved charging_ase, s1ap and x2ap to ASN.1 dissectors list.
svn path=/trunk/; revision=31977
2010-02-24 08:18:15 +00:00
Kovarththanan Rajaratnam
70590c7613 Add new to_str.o/obj dependency to reassemble_test target
svn path=/trunk/; revision=31976
2010-02-24 08:13:58 +00:00
Kovarththanan Rajaratnam
9401eb95e5 Some more ASN1 dissectors are now clean
svn path=/trunk/; revision=31975
2010-02-24 07:57:34 +00:00
Guy Harris
dde6d97f63 Define the private data structures for some particular capture file
types in the modules for those capture file types, not in wtap-int.h, so
wtap-int.h doesn't have to change when the code to handle that
particular capture type changes, or a new capture file type is added.
(Ultimately, we should do this for all the private data structures.)

svn path=/trunk/; revision=31974
2010-02-24 07:21:17 +00:00
Jeff Morriss
04920a8fcd Add descriptions of a few more environment variables that affect *shark's operation
svn path=/trunk/; revision=31973
2010-02-24 05:13:27 +00:00