Commit graph

6656 commits

Author SHA1 Message Date
Anders Broman
22de14d9bf Get rid of unused code warnings.
svn path=/trunk/; revision=25818
2008-07-24 12:26:59 +00:00
Anders Broman
ece87c88fd Get rid of unused code warnings.
svn path=/trunk/; revision=25817
2008-07-24 10:58:23 +00:00
Tomas Kukosa
edbcca785f Fix TCP desegmentation when minimal header spans multiple segments.
svn path=/trunk/; revision=25814
2008-07-24 06:33:23 +00:00
Anders Broman
44e2eccb03 Get rid of unused code warnings.
svn path=/trunk/; revision=25813
2008-07-24 00:44:00 +00:00
Anders Broman
ff8291413a Get rid of unused code warnings.
svn path=/trunk/; revision=25812
2008-07-24 00:30:11 +00:00
Anders Broman
84bbe30340 Get rid of unused code warnings.
svn path=/trunk/; revision=25809
2008-07-23 21:55:56 +00:00
Jeff Morriss
a5c48c4c6f Don't use proto_tree_add_string_hidden() any more: it's deprecated.
svn path=/trunk/; revision=25808
2008-07-23 21:04:48 +00:00
Jeff Morriss
f97023f302 Don't use proto_tree_add_uint_hidden() any more: it's deprecated.
svn path=/trunk/; revision=25807
2008-07-23 20:35:28 +00:00
Jeff Morriss
d5aff45ab8 Don't split a value_string's string across multiple lines.
svn path=/trunk/; revision=25806
2008-07-23 19:54:17 +00:00
Anders Broman
89f82718ac Get rid of some unused code warnings.
svn path=/trunk/; revision=25804
2008-07-23 13:26:43 +00:00
Anders Broman
201b5205df Get rid of some unused code warnings and fix an Id marking and some indentation changes.
svn path=/trunk/; revision=25803
2008-07-23 12:45:24 +00:00
Anders Broman
ac5909c827 Get rid of some unused code warnings.
svn path=/trunk/; revision=25796
2008-07-22 18:55:49 +00:00
Bill Meier
3dd77dc972 Remove unnecessary comma from value_string initializer
svn path=/trunk/; revision=25795
2008-07-22 18:40:32 +00:00
Bill Meier
39b20c0081 Add NULL termination element to value_string arrays.
(Done for consistency although not strictly required in these cases);
(Also: so no kickouts on this file when doing automated checking
 for missing NULL termination elements in value-string arrays). 

svn path=/trunk/; revision=25794
2008-07-22 18:36:40 +00:00
Bill Meier
67559b7dfe Add NULL termination element to value_string arrays
svn path=/trunk/; revision=25793
2008-07-22 18:27:13 +00:00
Anders Broman
742ae8413d Get rid of some unused code warnings.
svn path=/trunk/; revision=25791
2008-07-22 17:28:38 +00:00
Anders Broman
c291bba21b Try again.
svn path=/trunk/; revision=25790
2008-07-22 15:56:26 +00:00
Anders Broman
04d6e5a47d Get rid of some unused code warnings...
svn path=/trunk/; revision=25789
2008-07-22 15:21:07 +00:00
Jeff Morriss
20193e363e From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2707
The SMPP dissector currently supports only version 3.4. The latest version of
the protocol is version 5.0 and it has been around for a while. However, the
usage of this version of the protocol is only now picking up. 

This patch adds basic support for SMPP 5.0. By basic I mean:
- New Operations and Responses.
- New TLVs.
- New Error codes.
- Any changes to earlier values. 

svn path=/trunk/; revision=25787
2008-07-22 12:13:38 +00:00
Anders Broman
29cee0856c See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25785
2008-07-21 22:00:00 +00:00
Anders Broman
4acc73af3a See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25784
2008-07-21 21:22:42 +00:00
Anders Broman
35919a142a See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25783
2008-07-21 20:26:37 +00:00
Anders Broman
c79cce34cb See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25782
2008-07-21 19:39:47 +00:00
Anders Broman
d37870e8a7 Fix compile error.
svn path=/trunk/; revision=25780
2008-07-21 18:34:04 +00:00
Anders Broman
4f7b352519 Update to version 7.9.0
svn path=/trunk/; revision=25779
2008-07-21 18:22:51 +00:00
Anders Broman
e711dad8e3 Try again ;)
svn path=/trunk/; revision=25776
2008-07-20 22:11:58 +00:00
Anders Broman
9431d15f5c Fix a warning.
svn path=/trunk/; revision=25775
2008-07-20 22:11:21 +00:00
Anders Broman
b303ab2b8d Will gcc be happy now?
svn path=/trunk/; revision=25774
2008-07-20 21:59:45 +00:00
Anders Broman
cbc3b42cec Fix a warning.
svn path=/trunk/; revision=25773
2008-07-20 21:59:06 +00:00
Anders Broman
6e0dc4349f Uggly hack to fix:
packet-gsm_a.c:4914: warning: comparison between signed and unsigned
packet-gsm_a.c:4944: warning: comparison between signed and unsigned

svn path=/trunk/; revision=25772
2008-07-20 21:32:59 +00:00
Anders Broman
e0ea11beee Fix a warning.
svn path=/trunk/; revision=25771
2008-07-20 21:31:49 +00:00
Anders Broman
4dfb4bd99c From Neil Piercy :
Addition dissection for packet-gsm_a.c

svn path=/trunk/; revision=25770
2008-07-20 20:45:18 +00:00
Jeff Morriss
6946f1878f From https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2723
Tigran Mkrtchyan: decode and display fattr4_fs_layout_types.

Thijs Stuurman: Synchronize names used by wireshark with those used in
latest pnfs draft.

J. Bruce Fields: Use large default max_rpc_tcp_pdu_size setting
The linux server will do up to 1M these days, so the current default is
very likely to discard all reads and writes from such a server.
Thanks to Jim Rees for catching this.

Jeff Morriss: limit the max_rpc_tcp_pdu_size increase to 4M instead of the 16M
proposed.  Memory is cheap but still not unlimited.

svn path=/trunk/; revision=25769
2008-07-19 20:17:42 +00:00
Jeff Morriss
1ddf33b720 From Edward J. Paradise via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2693 :

The rfc4938bis draft extends the Point-to-Point over Ethernet (PPPoE) protocol
with an optional credit-based flow control mechanism and an optional Link
Quality Metric report.  These optional extensions improve the performance of
PPPoE over media with variable bandwidth and limited buffering, such as mobile
point-to-point radio links.

Support for rfc4938 already exists in wireshark, but rfc4938bis specifies a new
credit scale factor TLV and the use of the reserved field of the PADQ to
specify max and current data-rate scaling.

svn path=/trunk/; revision=25768
2008-07-19 15:04:20 +00:00
Jaap Keuter
d463253cc2 From Edward J. Paradise:
The #defines for PADG, PADC, and PADQ are incorrect and these packets are
showing up as unknown.
I would be happy to fix this bug as I would like to enhance the current support
for rfc4938 and rfc4938bis to include filtering and inband credit grant decoding.

svn path=/trunk/; revision=25766
2008-07-18 19:31:01 +00:00
Jeff Morriss
2e78900982 Remove an (unused) HAVE_ICONV reference.
svn path=/trunk/; revision=25764
2008-07-18 11:21:00 +00:00
Jeff Morriss
485110f241 We require GLIB-2 now so there's no need to attempt to use regular iconv: use
the GLIB version instead.

Reindent some (does someone have their tabstops set to 4?).

Create and use some #defines instead of hard-coded values. For example,
replace 0x00 with ANSI_X34 in both the value_string and the case statement.
(This file could use a lot more of such changes.)

packet-bacapp.c appears to compile cleanly now so move it to
CLEAN_DISSECTOR_SOURCE.

svn path=/trunk/; revision=25758
2008-07-17 13:53:26 +00:00
Jeff Morriss
52deed8edc ssl_hash() needs the StringInfo.data it is passed to be word aligned and it appears that it is (it is ep_malloc'd in ssl_save_session()). Add an intermediate cast to tell the compiler the alignment is okay and comments explaining the cast and warning anyone who might change how it is allocated to keep it aligned.
svn path=/trunk/; revision=25755
2008-07-16 14:21:14 +00:00
Jeff Morriss
a5ca07247b conv_frame_states is an array of pointers, make it a GPtrArray instead of a GArray with casts
svn path=/trunk/; revision=25754
2008-07-16 13:29:21 +00:00
Guy Harris
91aa5dcd21 The second argument to g_ptr_array_add() is the pointer to add, not a
pointer to that pointer - unlike g_array_append_vals, which takes a
pointer to an array of values and a count of the number of values in the
array.

svn path=/trunk/; revision=25753
2008-07-16 08:08:17 +00:00
Jaap Keuter
6198ef668f From Alex Turbov:
Function dissect_aim_tlv_value_uint32 have consumed 24 bits instead of 32 to
obtain a value.

svn path=/trunk/; revision=25752
2008-07-16 05:33:25 +00:00
Jaap Keuter
a338ee2d4d From Alex Turbov:
AIM 'New Connection' packet dissector have incorrect size for details pane of
TLV 0x14. Actual size is 4 (not 2).

svn path=/trunk/; revision=25751
2008-07-16 05:17:32 +00:00
Jeff Morriss
95352c8a04 isup_message_type_value is an array, there's no need to pass the address-of it to VALS
svn path=/trunk/; revision=25750
2008-07-15 21:35:58 +00:00
Jeff Morriss
d7ed3bf05a GArrays' data is properly aligned for whatever they are holding (despite
the fact that 'data' is a pointer to a char).  GLIB fixed this in their
accessor macro here:

http://svn.gnome.org/viewvc/glib?view=revision&revision=6092

The bug report confirms that the data is properly aligned:

http://bugzilla.gnome.org/show_bug.cgi?id=502927

So, add some intermediate (void *) casts to avoid "cast increases required
alignment of target type" on SPARC.  (No, we can't use the accessor macro
because we want to access the whole array not just the ith element.)

Since build_dict->ett is actually an array of pointers, change it to a
GPtrArray.

Reindent some.

svn path=/trunk/; revision=25749
2008-07-15 21:06:31 +00:00
Jaap Keuter
01c640d3e7 From Joe Eykholt:
FIP is the FCoE Initialization Protocol.  FCoE is Fibre-Channel over Ethernet.
FIP is being finalized in t11.org, and further changes are not expected.

svn path=/trunk/; revision=25748
2008-07-15 20:56:22 +00:00
Guy Harris
725f75caed Add registered fields for the transport class and option bits in
connection requests.

svn path=/trunk/; revision=25747
2008-07-15 18:47:11 +00:00
Guy Harris
85796b5506 Move the OSI transport protocol dissectors (ISO 8073/ITU-T X.224
connection-oriented transport protocol and ISO 8602/ITU-T X.234
connectionless transport protocol) out of packet-clnp.c into
packet-isotp.c.

svn path=/trunk/; revision=25746
2008-07-15 16:33:15 +00:00
Guy Harris
82177e1b32 Frame numbers are unsigned, so 0xffffffff isn't a special out-of-band
value.  They start at 1, though, so 0 *is* a special out-of-band value.

There is no guarantee that you can use a pointer as a 32-bit integral
value; the compiler warns if you do, at least on some platforms.

svn path=/trunk/; revision=25744
2008-07-15 07:08:30 +00:00
Jaap Keuter
e423151973 From Kip McAtee:
Added eth, PPP, and IP decodes to the ATM dissector.

svn path=/trunk/; revision=25743
2008-07-15 05:46:37 +00:00
Jaap Keuter
c20e5736de Fix for revision 25730:
Add packet-pw-eth.c to Makefile.common

svn path=/trunk/; revision=25742
2008-07-15 05:15:48 +00:00