Pascal Quantin
ed47e7bae4
Remove unused filters found by checkhf.pl
...
svn path=/trunk/; revision=43693
2012-07-13 17:16:28 +00:00
Pascal Quantin
e31dfd95ea
From Harald Welte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7476 :
...
UMA dissector incorrectly passes MAC addresses to wireshark core
svn path=/trunk/; revision=43692
2012-07-13 17:04:43 +00:00
Jakub Zawadzki
b18e880040
Update FSF address - part II.
...
svn path=/trunk/; revision=43538
2012-06-28 23:18:38 +00:00
Bill Meier
d53320919a
Remove unneeded #includes (stdlib, stdio, ctypes, time);
...
In a few cases: do some whitespace, indentation cleanup & reformatting.
svn path=/trunk/; revision=42632
2012-05-15 19:23:35 +00:00
Alexis La Goutte
f1723b8c1d
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
...
svn path=/trunk/; revision=41316
2012-03-02 11:09:47 +00:00
Chris Maynard
58cab4f107
Fix some duplicate display filter names.
...
svn path=/trunk/; revision=40672
2012-01-23 20:42:54 +00:00
Bill Meier
794757ae8f
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
...
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Bill Meier
293049dfba
Do some conversions of proto_tree_add_item() 'encoding' arg.
...
(previously missed).
57 FT_BOOLEAN: FALSE-->ENC_BIG_ENDIAN
31 FT_BOOLEAN: TRUE-->ENC_LITTLE_ENDIAN
10 FT_BYTES: ENC_BIG_ENDIAN-->ENC_NA
1 FT_BYTES: ENC_LITTLE_ENDIAN-->ENC_NA
21 FT_BYTES: FALSE-->ENC_NA
2 FT_BYTES: TRUE-->ENC_NA
2 FT_IPXNET: ENC_BIG_ENDIAN-->ENC_NA
6 FT_IPv6: ENC_BIG_ENDIAN-->ENC_NA
1 FT_IPv6: FALSE-->ENC_NA
6 FT_NONE: ENC_BIG_ENDIAN-->ENC_NA
19 FT_NONE: FALSE-->ENC_NA
3 FT_NONE: TRUE-->ENC_NA
1 FT_STRING: ENC_BIG_ENDIAN-->ENC_ASCII|ENC_NA
1 FT_STRING: ENC_LITTLE_ENDIAN-->ENC_ASCII|ENC_NA
5 FT_STRING: FALSE-->ENC_ASCII|ENC_NA
1 FT_STRING: TRUE-->ENC_ASCII|ENC_NA
4 FT_STRINGZ: ENC_NA-->ENC_ASCII|ENC_NA
8 FT_STRINGZ: FALSE-->ENC_ASCII|ENC_NA
1 FT_INT32: FALSE-->ENC_BIG_ENDIAN
1 FT_INT32: TRUE-->ENC_LITTLE_ENDIAN
11 FT_UINT8: 0-->ENC_BIG_ENDIAN
111 FT_UINT8: FALSE-->ENC_BIG_ENDIAN
17 FT_UINT8: TRUE-->ENC_LITTLE_ENDIAN
1 FT_UINT16: 0-->ENC_BIG_ENDIAN
68 FT_UINT16: FALSE-->ENC_BIG_ENDIAN
18 FT_UINT16: TRUE-->ENC_LITTLE_ENDIAN
4 FT_UINT24: FALSE-->ENC_BIG_ENDIAN
70 FT_UINT32: FALSE-->ENC_BIG_ENDIAN
1 FT_UINT32: TRUE-->ENC_LITTLE_ENDIAN
4 FT_UINT64: FALSE-->ENC_BIG_ENDIAN
1 FT_UINT64: TRUE-->ENC_LITTLE_ENDIAN
1 FT_UINT_STRING: FALSE-->ENC_ASCII|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39442
2011-10-16 23:38:49 +00:00
Bill Meier
126aa85393
Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, FT_STRINGZ, FT_UINT_STRING as follows:
...
1. If there's no character encoding (ENC_ASCII, ...) specified
then use ENC_ASCII.
2. For all but FT_UINT_STRING, always use ENC_NA
(replacing any existing True/1/FALSE/0
/ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN).
svn path=/trunk/; revision=39426
2011-10-15 18:46:26 +00:00
Bill Meier
4e57694d4a
Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
...
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_UINT8
FT_UINT16
FT_UINT24
FT_UINT32
FT_UINT64
FT_INT8
FT_INT16
FT_INT24
FT_INT32
FT_INT64
FT_FLOAT
FT_DOUBLE
svn path=/trunk/; revision=39288
2011-10-06 03:35:44 +00:00
Bill Meier
94f36ca4ff
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item (in hf[] with types:
...
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39260
2011-10-04 22:44:31 +00:00
Bill Meier
d2269ce7d5
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
...
svn path=/trunk/; revision=37716
2011-06-19 18:47:35 +00:00
Jeff Morriss
278caa12d9
Fix some (value) mistakes in value_strings. Found by Martin's patch on the -dev list.
...
svn path=/trunk/; revision=37262
2011-05-18 21:07:59 +00:00
Anders Broman
8d6ca293dc
Change the signature of elem_fcn():ns to include pinfo.
...
svn path=/trunk/; revision=36443
2011-04-04 14:37:25 +00:00
Jeff Morriss
fa16c931e1
Actually use proto_tree_add_item() instead of proto_tree_add_ether(). I hope I didn't miss more of these...
...
svn path=/trunk/; revision=35569
2011-01-17 15:22:11 +00:00
Jeff Morriss
8d32d2066a
There's no need to pass the result of tvb_get_ptr() as the 'value' in
...
proto_tree_add_*(): just use proto_tree_add_item().
Replace some tvb_get_ptr()s with tvb_get_ephemeral_string() or
tvb_get_const_stringz().
Use tvb_memeql() & tvb_memcmp().
svn path=/trunk/; revision=35558
2011-01-16 20:51:21 +00:00
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
Anders Broman
3c998dadc2
value_string_ext fixes.
...
svn path=/trunk/; revision=34932
2010-11-17 16:56:51 +00:00
Bill Meier
9675740701
Use value_string_ext fcns to access certain value_string arrays;
...
Sort several value_string arrays to be in ascending order.
Also: Minor whitespace cleanup.
svn path=/trunk/; revision=34766
2010-11-03 22:08:49 +00:00
Bill Meier
055dd62063
#include <string.h> not needed.
...
svn path=/trunk/; revision=32410
2010-04-06 21:14:01 +00:00
Bill Meier
09764dd969
Remove unneeded #include <stdio.h>
...
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Gerasimos Dimitriadis
dfde72f247
Fix for Bug 4588:
...
RANAP and friends want the MNC encoded in big endian form.
svn path=/trunk/; revision=32257
2010-03-20 23:53:22 +00:00
Gerasimos Dimitriadis
b7261fe2e4
Expert info when E.212 MCC/MNC contain non-decimal digits
...
svn path=/trunk/; revision=31102
2009-11-27 22:57:50 +00:00
Kovarththanan Rajaratnam
17c9803cac
Sanitize epan includes
...
svn path=/trunk/; revision=29499
2009-08-21 20:25:24 +00:00
Kovarththanan Rajaratnam
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Bill Meier
fa3443bbc1
Change default range from 1401,1401 to 1401 so that the port isn't double-registered.
...
svn path=/trunk/; revision=29266
2009-08-02 19:17:09 +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
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
Anders Broman
3a11073d6b
Get info about media type(Video or not) a first step towards usage in rtp statistics.
...
svn path=/trunk/; revision=28415
2009-05-19 18:42:33 +00:00
Anders Broman
9eb5ed0d9b
Update UMA towards the most recent 3GPP spec, and export InterRATHandoverInfo
...
from the RRC dissector.
svn path=/trunk/; revision=27584
2009-03-03 18:24:10 +00:00
Bill Meier
c0e92cbc04
Fix various typos and spelling errors (mostly in text strings)
...
svn path=/trunk/; revision=27065
2008-12-20 00:09:02 +00:00
Bill Meier
e3a601cf20
Fix compile error; Revise reg_handoff code slightly
...
svn path=/trunk/; revision=26992
2008-12-13 22:56:00 +00:00
Anders Broman
e2e9dc4197
From Vincent Helfre:
...
Make the dissector callable by name.
svn path=/trunk/; revision=26989
2008-12-13 21:59:33 +00:00
Bill Meier
8d4c57177b
Comment out variable not cuurently used ...
...
svn path=/trunk/; revision=26777
2008-11-14 15:52:34 +00:00
Bill Meier
0f2456b2ff
Various proto_register & proto_reg_handoff changes:
...
Change tcp ports preference name in prefs file to tcp.ports
(register old 'udp.ports" as obsolete);
Do various find_dissector & etc once-only in proto_reg_handoff;
Move find_dissector_table from proto_register to proto_reg_handoff;
Localize saved ports pref range;
Do dissector_add_handle("udp.port",...) rather than registering
to udp port 0;
Also:
Clean up some spacing;
Declare some global variables as static;
Remove some unnecessary =NULL initializers;
svn path=/trunk/; revision=26776
2008-11-14 15:29:36 +00:00
Bill Meier
b52d95d591
#include <emem.h> not req'd
...
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Bill Meier
af00f796a0
Another temporary fix to prevent a build error
...
svn path=/trunk/; revision=25925
2008-08-04 23:50:11 +00:00
Anders Broman
96aa45646d
First step to split the gsm_a dissector into several smaller ones ( done by Neil Piercy)
...
rename the "old" one to gsm_a_common.
svn path=/trunk/; revision=25915
2008-08-04 16:11:17 +00:00
Stig Bjørlykke
c6af1bfdd4
Removed some "statement not reached" warnings.
...
svn path=/trunk/; revision=24282
2008-02-07 12:14:40 +00:00
Anders Broman
a1347fde05
Set up RTP conversation when PORT is known.
...
svn path=/trunk/; revision=23377
2007-11-06 18:11:20 +00:00
Gerald Combs
abfa8887ad
Remove a couple of unused variables.
...
svn path=/trunk/; revision=23266
2007-10-24 16:32:51 +00:00
Anders Broman
3ddd51de7f
Add port ranges.
...
svn path=/trunk/; revision=23265
2007-10-24 15:04:01 +00:00
Anders Broman
0b4529008d
Implement some of the minor possible speed improvment patches.
...
svn path=/trunk/; revision=23150
2007-10-11 21:23:14 +00:00
Anders Broman
c01f382974
Second step in introducing asn context to BER dissectors just like in PER.
...
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Sebastien Tandel
68ad2f4b9b
fix MacOSX gcc-3.3 warnings about unused tfs/value_string variables
...
most have been tagged unused (few have been deleted if dissector has not been
modified since a long time)
move packet-ssl-utils.c to DISSECTOR_SRC
svn path=/trunk/; revision=21431
2007-04-14 14:01:53 +00:00
Ronnie Sahlberg
d5d5159b6d
From Sebastien Tandel
...
fixes for various compiler warnings
svn path=/trunk/; revision=21210
2007-03-26 11:06:26 +00:00
Stephen Fisher
64cc1b407c
From Sebastien Tandel:
...
(Fixing warnings)
stripped away some unused variables/parameters
+ in prefs.c
suggestion of parentheses makes gcc happy
svn path=/trunk/; revision=21156
2007-03-23 18:45:21 +00:00
Anders Broman
79a551e513
Display 2 octet length field correctly.
...
svn path=/trunk/; revision=20801
2007-02-12 22:04:58 +00:00
Anders Broman
6becee230b
Fix a typo.
...
svn path=/trunk/; revision=20055
2006-12-06 22:05:55 +00:00