Commit Graph

31 Commits

Author SHA1 Message Date
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
Bill Meier 62e44e3f66 Minor cleanup:
- Initialize a few static global variables;
- Remove two unnecessary calls to g_hash_table_foreach_remove;
- Do whitespace cleanup and use consistent indentation;
- Fix a few typos and fix up several comments.

svn path=/trunk/; revision=35183
2010-12-14 01:50:31 +00:00
Stig Bjørlykke 4f4e8eed0b Changed abbrev for spare bytes.
svn path=/trunk/; revision=31426
2010-01-03 15:05:51 +00:00
Kovarththanan Rajaratnam 8b515e9340 Switch a bunch of dissectors over to using tvb_new_subset_remaining()
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam 6110a96f68 Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Stig Bjørlykke 0437f102c3 From Kovarththanan Rajaratnam:
More FT_XXX cleanup.

svn path=/trunk/; revision=28971
2009-07-07 09:02:59 +00:00
Stig Bjørlykke 9391dce6b2 From Kovarththanan Rajaratnam via bug 3548:
More header_field_info cleanup.

svn path=/trunk/; revision=28772
2009-06-19 02:09:52 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Bill Meier 808a4e2c3c Define certain fcns as static (if not used externally).
Also: whiule we're at it: 
 - fix hf[] blurbs as appropriate to use NULL;
 - fix some indentation

svn path=/trunk/; revision=27890
2009-03-29 22:16:26 +00:00
Bill Meier 0eb5aa20a5 Slight rework related to proto_register & proto_reg_handoff;
Among other things: do the prefs callback stuff via the 
proto_reg_handoff callback rather than via a registered init 
function callback.

svn path=/trunk/; revision=26632
2008-10-30 20:54:25 +00:00
Luis Ontanon 42c3239a1a luis.ontanon@gmail.com => luis@ontanon.org
svn path=/trunk/; revision=25937
2008-08-05 21:03:46 +00:00
Anders Broman 9d316093f6 Apply yet another set of the optimization patches:
-set_str2add_str_val_to_str

svn path=/trunk/; revision=23406
2007-11-08 22:49:03 +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
Guy Harris 8084fb9e82 guint8, not gchar, is the appropriate type for a byte.
svn path=/trunk/; revision=22776
2007-09-03 06:44:54 +00:00
Bill Meier 71209c200f Fix two Windows compile warnings
svn path=/trunk/; revision=22353
2007-07-18 15:07:45 +00:00
Luis Ontanon e1ed3a1b8d get crc10 and crc6 out of packet-iuup.c
- experimental code for a way-too-heurstic look for iuup dissector


svn path=/trunk/; revision=22341
2007-07-17 22:04:00 +00:00
Jörg Mayer 70f0c88ea1 proto_tree_add_bits -> iuup_proto_tree_add_bits as discussed
on wireshark-dev to make it compile again

svn path=/trunk/; revision=21558
2007-04-24 21:26:40 +00:00
Martin Mathieson 291f4da85a Try to squelch another couple of MSVC warnings.
svn path=/trunk/; revision=21111
2007-03-22 10:32:42 +00:00
Stephen Fisher 6c1dce1710 From Kriang Lerdsuwanakij:
While I reading source code of IuUP dissector, I notice some
obvious bugs inside the code. One is a missing assignment
that causes the following "if (iuup_circuit)" block to never execute.
Another is wrong field names.

Althoug both won't show up in final result (for the first bug, the call to
g_hash_table_insert several lines later will do the right thing anyway;
for the second bug, there is no services utilizing more than 3 subflows),
I think it is better to have them fixed.


svn path=/trunk/; revision=20853
2007-02-19 05:32:01 +00:00
Jaap Keuter 1fd19fdba3 Some cleanup of the source.
svn path=/trunk/; revision=20296
2007-01-03 20:17:17 +00:00
Anders Broman 3fd426949a From Peter Vestman:
The number of rfci's in rate control messages is read in the wrong place.
We have created a patch for this, in the patch we have also added CRC checks
for header and payload.

svn path=/trunk/; revision=20295
2007-01-03 19:25:28 +00:00
Martin Mathieson 875f1ce05e Fix iuup.delta FT_ type mismatch
svn path=/trunk/; revision=18991
2006-08-22 14:00:18 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Luis Ontanon aeaf2c6cf6 Bind IuUP to RTP
svn path=/trunk/; revision=17100
2006-01-25 20:49:42 +00:00
Jörg Mayer c2eaf1bc74 Fix ...$ to : $
svn path=/trunk/; revision=16750
2005-12-09 16:51:56 +00:00
Jörg Mayer eff40f65db Trivial warning fixes
svn path=/trunk/; revision=16561
2005-11-22 12:51:14 +00:00
Luis Ontanon 12198e77ee some ies in the init proc weren't propperly decoded.
svn path=/trunk/; revision=16314
2005-10-25 19:41:01 +00:00
Luis Ontanon 149b419740 - optionally decode data pdus
- optionally decode a 2 byte pseudo-header
- Beautify colinfo


svn path=/trunk/; revision=16295
2005-10-24 21:26:25 +00:00
Luis Ontanon e3285cbcae make sure ta is signed before operating
svn path=/trunk/; revision=16251
2005-10-16 21:16:30 +00:00
Luis Ontanon 34bf00ef48 On windows:
packet-iuup.c(660) : warning C4244: 'function' : conversion from 'double ' to 'float ', possible loss of data
packet-iuup.c(665) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
packet-iuup.c(665) : warning C4244: 'function' : conversion from 'double ' to 'float ', possible loss of data


svn path=/trunk/; revision=16250
2005-10-16 21:07:48 +00:00
Luis Ontanon 1d65dc39c5 IuUP
UMTS' Iu User Plane protocol.


svn path=/trunk/; revision=16246
2005-10-16 20:08:13 +00:00