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
Martin Mathieson
c08d3b76d9
Skip an outheader field.
...
svn path=/trunk/; revision=35250
2010-12-23 11:09:52 +00:00
Martin Mathieson
1386eb8fa3
Be more consistent about how offset is updated while dissecting lte_rrc fields.
...
Show cell-id in info column (if don't manage to call RRC).
svn path=/trunk/; revision=35237
2010-12-21 17:46:25 +00:00
Martin Mathieson
c7c4850c38
From Papan Kumar Singh (bug 5504 & 5505):
...
Add missing break so that PDCP-LTE direction is set properly.
svn path=/trunk/; revision=35228
2010-12-20 11:26:50 +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
Martin Mathieson
dc24655c06
Add support for FP E-DCH T2 frames.
...
svn path=/trunk/; revision=35188
2010-12-15 01:45:43 +00:00
Martin Mathieson
7cd3ff263b
Add more PHY attributes to MAC frames.
...
svn path=/trunk/; revision=35125
2010-12-05 23:34:11 +00:00
Martin Mathieson
a6368260cc
Fix calling of LTE RRC dissector for "rrc_lte_r8" frames.
...
svn path=/trunk/; revision=35050
2010-11-28 15:37:40 +00:00
Martin Mathieson
76bc0e537b
Pass ueid + channel-info into PDCP dissector.
...
This will allow me soon to track per-channel sequence numbers...
svn path=/trunk/; revision=34793
2010-11-05 18:00:35 +00:00
Martin Mathieson
829ee8752b
Add 'ndi' and 'harq-id' as new MAC-PHY DL attributes.
...
svn path=/trunk/; revision=34753
2010-11-02 15:20:38 +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