Commit Graph

11296 Commits

Author SHA1 Message Date
Ronnie Sahlberg 2e382316c4 add dissection of the ms rap netserverenum3 function
svn path=/trunk/; revision=11097
2004-06-03 23:55:57 +00:00
Guy Harris 64d5806cec Make static some routines and variables not used outside the source file
defining them.

Move declarations of some callbacks outside the source files using them
into the appropriate header, and arrange that the appropriate header is
included by those source files.

Move the SAT_E definition into a "sat.h" file, included both by
"endpoint_talkers_table.h" and "hostlist_table.h", so that both of the
latter headers can be included by the same file ("menu.c" has to include
both, as per the change in the previous paragraph).

svn path=/trunk/; revision=11096
2004-06-03 21:46:27 +00:00
Guy Harris dd2b4bd393 "gtk_file_selection_set_filename()" doesn't work with a GtkFileChooser,
and "gtk_file_chooser_set_filename()" requires an absolute path, so ""
isn't valid.  Get rid of the "gtk_file_selection_set_filename()" call in
"file_selection_new()".

Put in a comment asking why we're using
"gtk_file_selection_set_filename()" at all.

svn path=/trunk/; revision=11095
2004-06-03 21:17:06 +00:00
Guy Harris 899e9af987 Re-generate from the updated asn2eth script and h235.cnf files.
svn path=/trunk/; revision=11094
2004-06-03 19:07:05 +00:00
Jörg Mayer c4a7444331 monthly update
svn path=/trunk/; revision=11093
2004-06-03 16:35:57 +00:00
Gerald Combs e458d288cf From Lars Roland: Add have_tap_listeners() and rtp_payload_type_vals
to libethereal.def.

svn path=/trunk/; revision=11092
2004-06-03 16:29:39 +00:00
Ulf Lamping 763d96e8de enable chm file generation for doxygen,
move chm filename setting to module specific config file

svn path=/trunk/; revision=11091
2004-06-03 14:57:23 +00:00
Ulf Lamping 03f8df8a9a add details for doxygen
svn path=/trunk/; revision=11090
2004-06-03 14:54:26 +00:00
Guy Harris 0b9bd0088f From Tomas Kukosa: unnecessary types are excluded with NO_EMIT
directive.

svn path=/trunk/; revision=11089
2004-06-03 08:35:44 +00:00
Guy Harris aad35bf43f From Tomas Kukosa:
- limits for dissect_per_constrained_integer() are passed as unsigned
    if possible
  - new directive NO_EMIT in conformation file - avoids emitting
    function body (or vals or both) into packet-xxxx-fn.c file
  - new directive USER_DEFINED in conformation file - emitting of
    function body (or vals or both) in the packet-xxxx-fn.c file is
    replaced with external declaration
  - support for SET OF type for BER
  - flag WITH_VALS is default for EXPORTS, USER_DEFINED, NO_EMIT
    directives
  - the _U_ attribute is used for pinfo parameters
  - the offset parameters and return codes are changed from guint32 to
    int

svn path=/trunk/; revision=11088
2004-06-03 08:33:29 +00:00
Guy Harris 640435132d From Yaniv Kaul: add SOCKS v4a support.
Clean up handling of null-terminated strings.

svn path=/trunk/; revision=11087
2004-06-03 08:04:07 +00:00
Guy Harris 0d36a1bf4a From Graeme Hewson:
Remove reference to negative slice lengths.

     Clean and polish.

svn path=/trunk/; revision=11086
2004-06-03 07:37:49 +00:00
Guy Harris e1e690ff3a From Graeme Hewson:
Use gint32 instead of guint32 for node data.

Fix up some other signed-vs-unsigned issues in the display filter
parser and lexical analyzer.

svn path=/trunk/; revision=11085
2004-06-03 07:36:25 +00:00
Guy Harris e6e3ff60f5 From Graeme Hewson:
Fix assertion failure when absolute value of negative slice
     offset > field length.

     Remove code for handling negative slice lengths.

svn path=/trunk/; revision=11084
2004-06-03 07:34:49 +00:00
Guy Harris 53cb6eeb54 From Graeme Hewson:
Check slice lengths as well as offsets.  Disallow negative/zero
     lengths.

     Range on RHS of display filter expression wasn't being checked in
     every case.

svn path=/trunk/; revision=11083
2004-06-03 07:33:46 +00:00
Guy Harris c02072be2c From Graeme Hewson:
Use gint32 instead of guint32 and strtol() instead of strtoul()
     for signed integers.

     Pathological slice specifications could cause Flex default rule
     to be invoked, echoing characters to stdout.
     Example: frame[0foo]==1

svn path=/trunk/; revision=11082
2004-06-03 07:17:24 +00:00
Guy Harris d6e2627959 From Devin Heitmueller: improve decoding of outgoing and incoming
message blocks.

svn path=/trunk/; revision=11081
2004-06-03 04:19:38 +00:00
Guy Harris 39bb661a15 From Mike Frisch:
- fixed tree display of NFSv4 change_info type;
	- add OPEN4_RESULT_LOCKTYPE_POSIX to OPEN result (reply) flags;
	- fixed open_delegation4 dissector;

svn path=/trunk/; revision=11080
2004-06-03 04:13:24 +00:00
Guy Harris 7928433795 Make the definition of "register_tap_menu_item()" match its declaration.
svn path=/trunk/; revision=11079
2004-06-03 02:14:50 +00:00
Guy Harris 2f6fd458d4 Fix a typo.
svn path=/trunk/; revision=11078
2004-06-03 02:14:14 +00:00
Ulf Lamping d775bed598 add details for doxygen
svn path=/trunk/; revision=11077
2004-06-02 22:13:04 +00:00
Ulf Lamping eacfa53105 add details for doxygen
svn path=/trunk/; revision=11076
2004-06-02 20:14:51 +00:00
Guy Harris 782e8b798b If, when rotating capture files, the attempt to close the current file
fails, set "rb_data.pdh" to NULL, so we know it's not open (if
"wtap_dump_close()" fails, the wtap_dumper_t is still closed - and the
file descriptor for it is probably closed, too, as, if "close()" fails,
the FD is probably closed; the Single UNIX Specification Version 3 says
the state of the FD is unspecified, but in practice most OSes probably
still close it).

If we try to close the current file, first check to make sure it's open,
i.e. that "rb_data.pdh" is non-null.  (Or perhaps we should avoid trying
to close it if the open *or* the most recent attempt to rotate the
capture files failed.)

Note that if "wtap_dump_close()" fails we might not need to close the
underlying file descriptor (and, even if we do, there's no guarantee
that attempt won't also fail and leave the FD still open - which is why
I suspect that a failed "close()" leaves the FD closed on most OSes).

svn path=/trunk/; revision=11075
2004-06-02 18:49:40 +00:00
Ulf Lamping d643814e7e add details for doxygen
svn path=/trunk/; revision=11074
2004-06-02 18:44:10 +00:00
Ulf Lamping 92ddb18b8c move "extern GtkWidget *main_display_filter_widget" from
various stats files to gtkglobals.h

svn path=/trunk/; revision=11073
2004-06-02 07:12:11 +00:00
Guy Harris 9260d709ec Get rid of the #if 0'ed out "rtp_payload_type_vals[]" table - we should
be using the one from libethereal.

svn path=/trunk/; revision=11072
2004-06-02 07:01:04 +00:00
Guy Harris 703854e181 From Mike Frisch:
add support for NFSv4 RELEASE_LOCKOWNER and ILLEGAL operations;

	minor modification to the NFSv4 NULLPROC dissection.

svn path=/trunk/; revision=11071
2004-06-02 06:50:28 +00:00
Ulf Lamping 191e09cea4 fix a doxygen comment
svn path=/trunk/; revision=11070
2004-06-02 06:44:40 +00:00
Guy Harris b6b58cd060 From Yaniv Kaul: HKP is HTTP-based and runs on port 11371.
svn path=/trunk/; revision=11069
2004-06-02 06:35:57 +00:00
Guy Harris 45e26b4044 From Magnus Hansson: add more information to the Info column.
Use "tvb_format_stringzpad()" to put a zero-padded string into the
protocol tree and Info column, so that we 1) don't use a fixed-length
buffer that we might overflow and 2) we handle non-printable bytes in
the string.

svn path=/trunk/; revision=11068
2004-06-02 06:30:15 +00:00
Guy Harris 0330511cd1 Don't define data variables in header files included by more than one
file - that keeps the variable from being shared, and also produces
compiler warnings if the variable isn't used by all the files that
include the header in question.

svn path=/trunk/; revision=11067
2004-06-01 23:08:00 +00:00
Guy Harris d3b788f247 Make the definition of "add_hostlist_table_data()" match its
declaration.

Give the address and port arguments to "add_hostlist_table_data()"
appropriate names and Doxygen comments (they're not a source address and
port, they're just an address and port), and do the same for the address
and port members of a "hostlist_talker_t".

Get rid of extra unnecessary variables in "add_hostlist_table_data()".

Clean up indentation.

svn path=/trunk/; revision=11066
2004-06-01 23:00:24 +00:00
Ulf Lamping 66f18e8c57 bugfix: don't double define rtp_payload_type_vals
svn path=/trunk/; revision=11065
2004-06-01 22:12:37 +00:00
Ulf Lamping 09c030170a minor bugfix from previous check in
svn path=/trunk/; revision=11064
2004-06-01 22:00:22 +00:00
Anders Broman 042a89baf3 From Thomas Anders: MGCP sub-parameter dissection
Anders Broman: BICC,SIP-T dissection

svn path=/trunk/; revision=11063
2004-06-01 21:56:44 +00:00
Ulf Lamping 1f27d91439 add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11062
2004-06-01 21:56:04 +00:00
Anders Broman ea7b5edf35 Revert previous checkin made by mistake *sigh
svn path=/trunk/; revision=11061
2004-06-01 21:45:40 +00:00
Anders Broman cf28fb1538 From Thomas Anders dissects the RTP Payload Type (if media protocol is RTP/AVP)
with its descriptive name rather than the raw value string,
much like packet-rtp.c does already.
To avoid duplicate definitions,  the existing rtp_payload_type_vals[] definition is  moved
from packet-rtp.c and gtk/rtp_stream_dlg.c to rtp_pt.h.

svn path=/trunk/; revision=11060
2004-06-01 21:40:41 +00:00
Guy Harris 8a37f21551 Make the definition of "add_ett_table_data()" match its declaration.
svn path=/trunk/; revision=11059
2004-06-01 21:29:50 +00:00
Ulf Lamping 4a32d21c22 minor bugfix from previous check in
svn path=/trunk/; revision=11058
2004-06-01 20:37:09 +00:00
Ulf Lamping a8db4e10a8 add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11057
2004-06-01 20:28:05 +00:00
Guy Harris 35bb7e8fc2 Fix a typo.
Clean up white space.

svn path=/trunk/; revision=11056
2004-06-01 18:58:04 +00:00
Guy Harris 479407967d Interpret the sampling mode values.
svn path=/trunk/; revision=11055
2004-06-01 18:43:30 +00:00
Guy Harris 54620462a0 As Motonori Shindo nodes, the sampling rate and mode in a Netflow V5
header is 2 bits of sampling mode and 14 bits of sample rate, not 16
bits of sample rate.

svn path=/trunk/; revision=11054
2004-06-01 18:39:13 +00:00
Ulf Lamping 0af3839716 various code cleanups
svn path=/trunk/; revision=11053
2004-06-01 17:37:10 +00:00
Ulf Lamping 14bf83c340 add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11052
2004-06-01 17:33:37 +00:00
Guy Harris 09184b8a03 From Yaniv Kaul: PCT support.
svn path=/trunk/; revision=11051
2004-06-01 01:03:49 +00:00
Guy Harris a467bac215 Eliminate a no-longer-used routine.
svn path=/trunk/; revision=11050
2004-06-01 01:01:31 +00:00
Jörg Mayer 01dd51cdf4 It really helps when you change the default from gtk1 -> gtk2 in the top
level configure.in to mirror that change in wiretap. Otherwise people who
have both versions of glib/gtk installed may see crashes.

svn path=/trunk/; revision=11049
2004-06-01 00:15:38 +00:00
Anders Broman ef763058f1 Add dissection of application PoC1 data
svn path=/trunk/; revision=11048
2004-05-31 19:35:53 +00:00