Commit Graph

43900 Commits

Author SHA1 Message Date
Alexis La Goutte cf6115367b Update IEEE Wireless Documentation links
IEEE Std 802.11(m)-2012 (pdf) is now available for free ! include with 10 amendements

* IEEE Std 802.11k™-2008: Radio Resource Measurement of Wireless LANs (Amendment 1)
* IEEE Std 802.11r™-2008: Fast Basic Service Set (BSS) Transition (Amendment 2)
* IEEE Std 802.11y™-2008: 3650–3700 MHz Operation in USA (Amendment 3)
* IEEE Std 802.11w™-2009: Protected Management Frames (Amendment 4)
* IEEE Std 802.11n™-2009: Enhancements for Higher Throughput (Amendment 5)
* IEEE Std 802.11p™-2010: Wireless Access in Vehicular Environments (Amendment 6)
* IEEE Std 802.11z™-2010: Extensions to Direct-Link Setup (DLS) (Amendment 7)
* IEEE Std 802.11v™-2011: IEEE 802.11 Wireless Network Management (Amendment 8)
* IEEE Std 802.11u™-2011: Interworking with External Networks (Amendment 9)
* IEEE Std 802.11s™-2011: Mesh Networking (Amendment 10)

svn path=/trunk/; revision=46507
2012-12-11 23:23:48 +00:00
Alexis La Goutte 293d44fca1 Enhance (minor) MPLS PW OAM Dissector Replace proto_tree_add_uint => proto_tree_add_item
svn path=/trunk/; revision=46506
2012-12-11 23:23:35 +00:00
Alexis La Goutte baf4a0ed5a From Steve Dickson via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8081
Added the Labled NFS protocol dissector for NFS v4.1

Signed-off-by: Steve Dickson <steved@redhat.com>

svn path=/trunk/; revision=46505
2012-12-11 23:23:20 +00:00
Pascal Quantin 70c283816b Dissect eMBMS MTCH LCIDs
svn path=/trunk/; revision=46504
2012-12-11 23:20:22 +00:00
Pascal Quantin 96f889dfd6 Update the User's Guide to 1.9
svn path=/trunk/; revision=46503
2012-12-11 22:23:44 +00:00
Jörg Mayer 65547786c3 Alphabetically sort files
svn path=/trunk/; revision=46502
2012-12-11 21:51:18 +00:00
Pascal Quantin 58d3545a4e Update command line tools help
svn path=/trunk/; revision=46501
2012-12-11 21:21:50 +00:00
Irene Rüngeler 7f6519287e Make "Edit Interfaces Dialog" modal
-This line, and those below, will be ignored--

M    ui/gtk/capture_dlg.c

svn path=/trunk/; revision=46500
2012-12-11 16:55:17 +00:00
Irene Rüngeler 7cf0d9ed2b Capture Options Dialog: Update buttons for "Capture all in Prom. Mode" and "Capture on all interfaces"
Update filter string

svn path=/trunk/; revision=46499
2012-12-11 16:51:36 +00:00
Anders Broman 1ecfc445b8 From zhang lei:
Cause、RAB Context、PDU Numbers in packet-gtpv2.c are not dissected correctly. fixed in the patch.

The patch did not apply cleanly to trunk, applied by hand.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8079

svn path=/trunk/; revision=46497
2012-12-11 09:39:15 +00:00
Anders Broman c5c24d2277 Only construct bit string if show internal per fields is set. Use tvb_get_bits
svn path=/trunk/; revision=46496
2012-12-11 07:01:43 +00:00
Jeff Morriss 70eecf2392 Move ett and hf arrays into proto_register routine.
Reindent some.

svn path=/trunk/; revision=46495
2012-12-11 02:26:44 +00:00
Stephen Fisher 0537be2e5e Change variable "devname" to "devicename" in numerous places to avoid
to avoid -Wshadow warnings about conflicting with BSD's devname()
function.


svn path=/trunk/; revision=46494
2012-12-10 23:53:09 +00:00
Bill Meier 4daca92053 Minor cleanup:
- Remove some uneeded initializers;
- Whitespace.

svn path=/trunk/; revision=46493
2012-12-10 23:23:01 +00:00
Bill Meier a98fa4f861 Minor cleanup:
- Localize some variables & remove some uneeded initializers;
- Fix a "set but unused" instance;
- Misc.

svn path=/trunk/; revision=46492
2012-12-10 23:20:05 +00:00
Bill Meier 6104b2f45e For the record: add comments about some duplicate values in a value_string array.
svn path=/trunk/; revision=46491
2012-12-10 20:10:30 +00:00
Bill Meier 3971e95140 Re-generate value_string array for MIBenum mapping char set names from latest IANA document;
Adds new values and fixes an incorrect value in the previous value_string array.

Note: names used as specified (with capitalization) in the document.
      (Previously all the names in the value_string array were lower case).

Also: rename the value_string array to have a less generic name.

svn path=/trunk/; revision=46490
2012-12-10 19:12:05 +00:00
Bill Meier a4128c56b9 General cleanup:
- Use/create extended value strings as appropriate;
- Reformat hf[] entries;
- Do whitespace, & etc changes to use a consistent formatting style;
- Reformat some long lines;
- Localize some variables; remove some unneeded initializers;
- expert...() shouldnt be called under 'if (tree)' (packet-wimaxasncp);
- Move proto_register...() & etc to the end of the file (packet-ieee80211);
- Misc.

svn path=/trunk/; revision=46489
2012-12-10 14:50:32 +00:00
Guy Harris 8b2fd19527 It's just compiling, not linking, so we don't need to have the external
function actually *exist*.

Declare foo() before defining it - if we configure with
--enable-extra-gcc-checks, given that we're building with -Werror (so
that we find out whether the compiler issues a warning for a particular
construct), we have to avoid constructs that will provoke *other*
warnings.

svn path=/trunk/; revision=46488
2012-12-10 06:47:36 +00:00
Anders Broman 1567e207a9 Try to speed up decode_bits_in_field().
svn path=/trunk/; revision=46487
2012-12-09 23:12:59 +00:00
Pascal Quantin afc90af6fd Add release number to UMTS and LTE RLC
svn path=/trunk/; revision=46486
2012-12-09 22:02:38 +00:00
Anders Broman 0c348dbb6b Copy paste error - RAC is one byte.
svn path=/trunk/; revision=46485
2012-12-09 18:22:09 +00:00
Anders Broman 799983a565 Fix dissection of Target Identification.
svn path=/trunk/; revision=46484
2012-12-09 18:17:47 +00:00
Gerald Combs 0390157100 [Automatic manuf, services and enterprise-numbers update for 2012-12-09]
svn path=/trunk/; revision=46481
2012-12-09 15:03:25 +00:00
Martin Mathieson 950325b82a Cast result of strlen() from size_t to int.
svn path=/trunk/; revision=46480
2012-12-09 14:35:14 +00:00
Martin Mathieson 394853ec7e Similarly avoiding calling g_snprintf() in dissect_per_constrained_integer().
svn path=/trunk/; revision=46479
2012-12-09 04:49:58 +00:00
Martin Mathieson e5e25f8670 Speed up dissect_per_boolean() by avoiding call to ep_strdup_printf().
Saves 5% on a particular LTE log.

svn path=/trunk/; revision=46478
2012-12-09 04:23:46 +00:00
Guy Harris 0fbf4b5b1c Put back the extra checks for -Wshadow; I guess I'll need to set up a
Ubuntu 12 VM to figure out why -Wshadow was rejected, as it doesn't seem
to cause bogus errors.

svn path=/trunk/; revision=46477
2012-12-09 04:18:52 +00:00
Guy Harris 8d7e398dc7 Force -Wshadow on - it wasn't included on the Ubuntu buildbot, so I want
to see whether it really doesn't work right (i.e., warns bogusly about
variables in prototype definitions of function pointers shadowing
variables) or if the test fails for some other reason.

svn path=/trunk/; revision=46476
2012-12-09 04:00:03 +00:00
Guy Harris b961881fb3 Add some additional arguments to AC_WIRESHARK_GCC_CFLAGS_CHECK() to make
it do an additional check, if it finds that a given compiler option is
supported by the compiler, to see whether it's supported but
undesirable.  The arguments are a chunk of code to try to compile with
-Werror, and a string to be used in the "checking..." message printed
when trying to compile the cunk of code.

Try enabling -Wshadow again, but have it check whether

	extern int atoi(char *p);

	int
	foo(char *p)
	{
		int (*fptr)(char *p) = atoi;

		return fptr(p) * 2;
	}

compiles with -Wshadow and -Werror, so that we don't use -Wshadow with
compilers that complain about that; some older versions of GCC complain
about that, and it's really not worth our effort to eliminate or rename
arguments in function prototypes to make -Wshadow work even with those
compilers.

svn path=/trunk/; revision=46475
2012-12-09 02:52:33 +00:00
Evan Huus ea47ca37b1 Put in a cast to silence a stupid MSVC warning.
svn path=/trunk/; revision=46473
2012-12-08 22:00:17 +00:00
Evan Huus 7f23c2f8b7 Recommend wmem over emem in the READMEs where possible.
svn path=/trunk/; revision=46472
2012-12-08 21:57:05 +00:00
Evan Huus ae17fffd38 Convert IPv4 dissector to wmem - much bigger canarie in the coal mine, since
IPv4 is *everywhere*.

svn path=/trunk/; revision=46471
2012-12-08 21:36:14 +00:00
Evan Huus 7b979a26bb Convert the SMTP dissector and the frame_data manager from emem to wmem.
Canaries in the coal mine, since I have a capture handy that I know excercises
both code paths.

svn path=/trunk/; revision=46470
2012-12-08 21:22:46 +00:00
Evan Huus dc530fd2c2 Fix uninitialized value error caught by valgrind.
svn path=/trunk/; revision=46469
2012-12-08 21:15:40 +00:00
Evan Huus af700fa79a Make sure the wmem block allocator returns aligned memory.
svn path=/trunk/; revision=46468
2012-12-08 21:08:29 +00:00
Bill Meier 1f4d7cb6a7 Convert '4 space tabs' to spaces;
svn path=/trunk/; revision=46467
2012-12-08 20:49:51 +00:00
Evan Huus df71a9a669 Fix some compiler warnings under gcc.
svn path=/trunk/; revision=46466
2012-12-08 03:04:55 +00:00
Michael Mann 40eca5f0de Allow TShark to specify columns as fields with -e option (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2892)
svn path=/trunk/; revision=46465
2012-12-08 02:42:40 +00:00
Michael Mann 2ff0d7870a Bugfix FCP lun request/response tracking.
This works towards bug 3209 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3209) by at least satisfying the layer under SCSI.  All of the dissectors that feed into SCSI seem to have similar "lun tracking" issues, so I think a more general solution may be needed to fix the bug "right"

#BACKPORT

svn path=/trunk/; revision=46464
2012-12-08 01:33:04 +00:00
Pascal Quantin 843864684c Update the User's Guide to 1.8
svn path=/trunk/; revision=46463
2012-12-07 22:40:04 +00:00
Jeff Morriss 14252042d6 As requested in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7735 :
Make the Source and Destination hf names indicate that they are for the
Source and Destination fields so that, for example, their column names are
descriptive.

svn path=/trunk/; revision=46461
2012-12-07 22:32:34 +00:00
Martin Kaiser 3ccd739fc6 removed a last if (tree) check in dissect_ftpdata()
svn path=/trunk/; revision=46460
2012-12-07 22:00:56 +00:00
Martin Kaiser dbaf194b10 EPRT parameters are mandatory, flag up an error if they're missing
remove if (linelen!=0) check

svn path=/trunk/; revision=46459
2012-12-07 21:54:20 +00:00
Gerald Combs f03bd8b441 Use a different border color on OS X.
svn path=/trunk/; revision=46458
2012-12-07 21:53:03 +00:00
Martin Kaiser cf032504d3 remove some more if (tree) checks
svn path=/trunk/; revision=46457
2012-12-07 21:50:22 +00:00
Martin Kaiser 6a6babe5b0 at one place, offset was incremented depending on if (tree)
this created a bug when offset was used later on
remove the if (tree) check

svn path=/trunk/; revision=46456
2012-12-07 21:46:59 +00:00
Martin Kaiser 48f3309e14 dissect_ftp() start at the beginning of the tvb
make this clear by not using a variable offset which is always 0

svn path=/trunk/; revision=46455
2012-12-07 21:42:30 +00:00
Martin Kaiser 8f81b0fafe remove some more unnecessary if (tree) checks
svn path=/trunk/; revision=46454
2012-12-07 21:37:50 +00:00
Gerald Combs 0b2e3dbd10 Set the height of the resize and apply buttons. Simplify some geometry.
svn path=/trunk/; revision=46453
2012-12-07 21:32:19 +00:00