Anders Broman
6bde918078
From beroset:
...
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416
svn path=/trunk/; revision=48426
2013-03-19 20:00:52 +00:00
Pascal Quantin
86eda54fe6
As suggested by Evan Huus, use extended value_strings
...
svn path=/trunk/; revision=48407
2013-03-18 22:21:53 +00:00
Pascal Quantin
94f330030d
use enum values instead of hardcoded values
...
(as suggested by Sylvain Munaut in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8487 )
svn path=/trunk/; revision=48397
2013-03-18 20:26:47 +00:00
Pascal Quantin
ae61fe0158
Try to fix dissection of GSM protocol family broken by r47209.
...
Using val_to_str seemed to be a good idea, but most value_string arrays were not properly filled or were using hacks.
(I hope I got everything right...)
svn path=/trunk/; revision=47218
2013-01-22 23:25:44 +00:00
Jeff Morriss
2552c750e5
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Jakub Zawadzki
b18e880040
Update FSF address - part II.
...
svn path=/trunk/; revision=43538
2012-06-28 23:18:38 +00:00
pascal
0ba1ab2909
Display Element ID in hexadecimal (like in 3GPP specs)
...
Display EPS bearer ID in decimal
svn path=/trunk/; revision=42755
2012-05-21 19:27: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
Jeff Morriss
406861ebf4
Don't use FT_*INT with true_false strings: the code to generate
...
representations of former is expecting value_strings--which are quite
different than the latter.
svn path=/trunk/; revision=41362
2012-03-06 02:04:10 +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
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
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
Bill Meier
93b94a23ca
Define some fcns & vars as static; Some #includes not req'd; packet-mikey.h not req'd.
...
svn path=/trunk/; revision=34464
2010-10-10 23:28:40 +00:00
Jeff Morriss
0ff5638f37
Replace blurbs that match the name (case insensitive) with NULL.
...
svn path=/trunk/; revision=34227
2010-09-23 21:46:31 +00:00
Gerasimos Dimitriadis
ecf1a60a12
Fix for Bug 4651:
...
Dissector call used uninitialized packet_info pointer
svn path=/trunk/; revision=32432
2010-04-08 19:40:57 +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
Kovarththanan Rajaratnam
00810ff199
* Prefer col_append_str instead of col_append_fstr for constant strings
...
* Remove check_col guards
svn path=/trunk/; revision=30127
2009-09-24 20:21:23 +00:00
Bill Meier
6c545e0d79
Save some memory: Don't statically allocate ett[] arrays used "dynamically".
...
svn path=/trunk/; revision=29929
2009-09-15 17:37:54 +00:00
Jaap Keuter
c9e3f66d14
Optimize empty strings to NULL pointers.
...
svn path=/trunk/; revision=29298
2009-08-04 21:05:38 +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
b631b88d61
Implement TLV-E and LV-E type IE dissection (2 byte length value).
...
svn path=/trunk/; revision=27100
2008-12-23 20:49:15 +00:00
Anders Broman
49d676e3a0
packet-gsm_bsslap.c:247: warning: unused parameter 'len'
...
svn path=/trunk/; revision=26726
2008-11-07 06:28:18 +00:00
Anders Broman
98ae860115
From Johnny Mitrevski:
...
Added RRLP functionality to the BSSLAP dissector that would be useful.
svn path=/trunk/; revision=26725
2008-11-07 06:04:04 +00:00
Jaap Keuter
e652ccc7ee
Fix the broken build.
...
svn path=/trunk/; revision=26666
2008-11-01 10:17:29 +00:00
Anders Broman
ba21bba78e
Add Measurement result IE dissection, fix channel list.
...
svn path=/trunk/; revision=26665
2008-11-01 09:23:31 +00:00
Anders Broman
34fdd680ef
Fix:
...
packet-gsm_bsslap.c:374: warning: unused parameter 'len'
packet-gsm_a_rr.c:3035: warning: 'xdd_indic0' may be used uninitialized in this function
svn path=/trunk/; revision=26630
2008-10-30 20:09:14 +00:00
Anders Broman
c83c448173
Add dissection of some IE:s
...
svn path=/trunk/; revision=26625
2008-10-30 19:32:35 +00:00
Anders Broman
41b70e3a96
Some further updates.
...
svn path=/trunk/; revision=26517
2008-10-22 20:56:26 +00:00
Stig Bjørlykke
1d5478595c
Mark some unused variables.
...
svn path=/trunk/; revision=26516
2008-10-22 18:55:58 +00:00
Anders Broman
a4c3055bbb
Update bssap le and BSS MAP.
...
svn path=/trunk/; revision=26514
2008-10-22 16:32:24 +00:00
Bill Meier
432f7be1e0
Minor proto_reg_handoff cleanup
...
svn path=/trunk/; revision=26265
2008-09-25 02:21:04 +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
Guy Harris
e0dab74b03
Get rid of CR's at the ends of lines, give it an NL at the end, and set
...
the svn:keywords and svn:eol-style properties appropriately.
svn path=/trunk/; revision=25167
2008-04-24 21:07:23 +00:00
Anders Broman
8b39ceb44e
Add missing dissector from the makefile:
...
packet-gsm_bsslap.c
Routines for Location Services (LCS) Serving Mobile Location Centre - Base Station System (SMLC-BSS) dissection - 3GPP TS 48.071 version 7.2.0 Release 7
svn path=/trunk/; revision=25166
2008-04-24 19:57:41 +00:00