Martin Mathieson
09a694823f
Use tvb_get_const_stringz() when I know the tvb will be contiguous.
...
svn path=/trunk/; revision=46339
2012-12-03 01:45:00 +00:00
Jeff Morriss
49466f95bc
Introduce, and start using, TVB_SET_ADDRESS() and TVB_SET_ADDRESS_HF(). They
...
are like the non-TVB versions except that they take a TVB and an offset
instead of (frequently) a pointer into the TVB.
Calling tvb_get_ptr() before modifying the rest of the fields should help fix
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7960 (though I can't
reproduce that problem).
Replace a bunch of calls like:
SET_ADDRESS(..., AT_XXX, length, tvb_get_ptr(tvb, offset, length));
with:
TVB_SET_ADDRESS(..., AT_XXX, tvb, offset, length);
svn path=/trunk/; revision=46324
2012-12-02 04:49:13 +00:00
Martin Mathieson
de2aa05555
Support the older format of SR failure for a while longer.
...
svn path=/trunk/; revision=46065
2012-11-18 01:33:43 +00:00
Martin Mathieson
dbca2e7d8f
Get rid of an outdated format
...
svn path=/trunk/; revision=45450
2012-10-10 16:39:51 +00:00
Martin Mathieson
d8fa6d9c9a
Update to format of string that indicates SR failure.
...
svn path=/trunk/; revision=45448
2012-10-10 15:18:52 +00:00
Martin Mathieson
62d83ed0c8
Give up trying to parse those lines - the format has changed and its too
...
complicated now.
svn path=/trunk/; revision=45342
2012-10-06 15:00:38 +00:00
Martin Mathieson
516f0c6e5c
Also avoid some unnecessary calls to strcmp() here, where the release
...
number at the end isn't important to know.
svn path=/trunk/; revision=45092
2012-09-24 10:34:27 +00:00
Pascal Quantin
7dd916459e
Let's be consistent and display lte_rrc root for all LTE RRC messages
...
svn path=/trunk/; revision=45080
2012-09-23 21:01:05 +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
9f92dc93c5
Add data parameter to call_dissector_only.
...
svn path=/trunk/; revision=44872
2012-09-11 08:28:07 +00:00
Martin Mathieson
f6b1932a8a
Use tvb_get_stringz() rather than tvb_get_const_stringz(). I know that
...
these strings will be in a single, contiguous tvb...
svn path=/trunk/; revision=44607
2012-08-21 17:17:53 +00:00
Martin Mathieson
c0a913afda
Match R9 versions of some more LTE protocols to registered dissector names.
...
svn path=/trunk/; revision=43777
2012-07-18 01:19:48 +00:00
Martin Mathieson
409cdcc5ed
Speed up reading of out-header values, and add a couple of 'monitor'
...
fields.
svn path=/trunk/; revision=43678
2012-07-12 01:26:08 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Guy Harris
1637f2965e
packet-umts_fp.h now requires epan/conversation.h.
...
svn path=/trunk/; revision=42470
2012-05-07 17:37:30 +00:00
Martin Mathieson
b77cd5d0f4
Check result of sscanf(), and avoid a mirrored variable declaration.
...
From Visual Studio Analyzer output.
svn path=/trunk/; revision=42327
2012-04-28 23:58:06 +00:00
Martin Mathieson
68841134b7
Don't look up p_fp_info only to always overwrite it.
...
svn path=/trunk/; revision=42314
2012-04-28 16:23:23 +00:00
pascal
2787ebf988
Upgrade MAC LTE dissector to Release 10 (V10.5.0)
...
svn path=/trunk/; revision=42240
2012-04-25 20:02:12 +00:00
Martin Mathieson
92cd70bd61
Improve support for primitives that carry NAS-EPS.
...
Also parse beginning of "Monitor" lines.
svn path=/trunk/; revision=41821
2012-03-29 01:24:49 +00:00
Bill Meier
198c9ba55f
FT_BOOLEAN hf[] entries with a 0 'bitmask' should have 'display' = BASE_NONE;
...
In some cases:
Use val_to_str_const() instead of val_to_str();
Reformat long lines;
Do some general whitespace changes.
svn path=/trunk/; revision=41587
2012-03-16 02:00:29 +00:00
Martin Mathieson
9cfb5a1ea8
Call X2AP dissector.
...
svn path=/trunk/; revision=41373
2012-03-06 13:56:02 +00:00
Martin Mathieson
427122a220
"Call nas-eps" dissector for nas_rrc_r8_lte and nas_rrc_r9_lte frames that have L3 payloads.
...
svn path=/trunk/; revision=40441
2012-01-11 21:31:11 +00:00
Martin Mathieson
899155a563
Add the reason for a UL ReTx (PDCCH retx grant or PHICH NACK).
...
svn path=/trunk/; revision=40001
2011-11-25 11:19:03 +00:00
Martin Mathieson
ab9ede8e8f
Add the system frame number (SFN) to the context fields logged along with LTE MAC frames.
...
svn path=/trunk/; revision=39971
2011-11-21 16:18:33 +00:00
Martin Mathieson
62d16f0fbb
UMTS RLC:
...
- add lookup for "unknown" channel type dissector (mode is known)
- set length extent for SUFI root item
- show data frames in the info column (at least for AM...)
DCT:
- call RLCDCH with "unknown" channel type (as don't know whether IP or RRC)
- support R9
svn path=/trunk/; revision=39846
2011-11-15 12:03:52 +00:00
Martin Mathieson
8df10bb4b5
Add remaining UMTS RLC primitive parameters preceding RLC payload.
...
svn path=/trunk/; revision=39826
2011-11-14 12:22:54 +00:00
Jeff Morriss
7e24821c3d
Terminate a value_string.
...
svn path=/trunk/; revision=39731
2011-11-04 13:41:12 +00:00
Martin Mathieson
fd521521f4
Add (most) primitive header items to the tree before calling UMTS RLC dissector.
...
svn path=/trunk/; revision=39724
2011-11-03 16:52:37 +00:00
Martin Mathieson
338cb689a6
Fix the width of a type (and hopefully please the buildbots).
...
svn path=/trunk/; revision=39657
2011-10-28 18:59:30 +00:00
Martin Mathieson
ec748afa3a
First go at calling UMTS RLC dissector from IxCatapult logs.
...
Had to change some #defines in the header file (for UDP-framed/heuristic
dissector) - will need to update example sending program later on tonight.
svn path=/trunk/; revision=39656
2011-10-28 18:36:20 +00:00
Bill Meier
379f083acd
Fix some proto_tree_add_item() encoding args;
...
Remove some unneeded #includes.
svn path=/trunk/; revision=39612
2011-10-26 18:11:24 +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
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
2bf572bc41
Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...
...
svn path=/trunk/; revision=38413
2011-08-08 17:59:32 +00:00
Martin Mathieson
9a4b6db704
Support multiple Scheduling Requests in one PDU.
...
svn path=/trunk/; revision=37060
2011-05-11 11:10:30 +00:00
Stephen Fisher
9b521ba35f
Remove enum cast that doesn't do anything and causes a warning about
...
converting between enum types in clang 3.0 (trunk).
svn path=/trunk/; revision=36815
2011-04-22 16:31:32 +00:00
Martin Mathieson
bed50222ac
Don't assign top_ti - delete it for now.
...
Coverity CID 862
svn path=/trunk/; revision=36254
2011-03-22 17:37:47 +00:00
Martin Mathieson
c1d824c46c
Don't increment after reading last outheader value (as reported by clang).
...
svn path=/trunk/; revision=36203
2011-03-16 23:01:33 +00:00
Martin Mathieson
da45af3980
Try to fix checkApi script.
...
svn path=/trunk/; revision=36197
2011-03-15 22:55:53 +00:00
Martin Mathieson
2e7a9893c3
Fix calling of LTE dissectors for R9 DCT protocols.
...
svn path=/trunk/; revision=36196
2011-03-15 17:30:00 +00:00
Martin Mathieson
0b2e755182
Tweak the way we setup FP R8 info.
...
svn path=/trunk/; revision=36107
2011-03-01 10:54:57 +00:00
Martin Mathieson
82cbbca3e5
Add and use accessors to get/set per-packet data for LTE MAC.
...
This will allow plugins to use the dissector.
svn path=/trunk/; revision=35774
2011-02-02 23:21:16 +00:00
Martin Mathieson
d9520dc09c
Getting ready for R9 versions of some LTE protocols.
...
svn path=/trunk/; revision=35518
2011-01-13 15:16:45 +00:00
Jeff Morriss
0c4e881911
Introduce, and start using, tvb_get_const_stringz(). This function returns a
...
pointer to a NULL-terminated string in the TVB. It is no safer than dissectors
which call tvb_get_strsize() and then tvb_get_ptr() but it makes it clear that
this usage of tvb_get_ptr() is safe.
This function is slightly more efficient than tvb_get_ephemeral_stringz()--but
only as long as we're not using composite TVBs.
svn path=/trunk/; revision=35493
2011-01-12 02:25:08 +00:00
Jeff Morriss
18f751d877
(After discussion on -dev) revert 35393: the old code is faster (and it is safe).
...
svn path=/trunk/; revision=35400
2011-01-06 16:08:56 +00:00
Jeff Morriss
fb7450a8df
Use tvb_get_ephemeral_stringz() instead of tvb_get_strsize() plus (sometimes multiple) calls to tvb_get_ptr().
...
svn path=/trunk/; revision=35393
2011-01-06 02:18:36 +00:00
Martin Mathieson
d8506bbfed
Remove a stray debug printf().
...
svn path=/trunk/; revision=35374
2011-01-05 14:45:31 +00:00
Martin Mathieson
5e49db3304
Properly read UL grant subframe number.
...
svn path=/trunk/; revision=35251
2010-12-23 12:16:37 +00:00