aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsmtap.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-23Deleting unneccessary #includes from dissectors.Martin Mathieson1-1/+0
Second batch (packet-eth.c -> packet-icmpv6.d). Will look at cleaning up and committing script afterwards. Change-Id: I14295758b81a59115d8c88899f166cc3d5d17594 Reviewed-on: https://code.wireshark.org/review/6013 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-1/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-21Replace tvb_length()AndersBroman1-1/+1
Change-Id: I0b5ad4d588f0b658abaf3892d08d6520ecd2f645 Reviewed-on: https://code.wireshark.org/review/5431 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-06Adjust indentation to match editor modelines; Do other minor whitespace changes.Bill Meier1-6/+6
Change-Id: Ic020b2c92db5d14a2be9dc4d35aef4514b8b0353 Reviewed-on: https://code.wireshark.org/review/4502 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-15Remove unneeded #include <epan/prefs.h>; As needed: Add editor-modelines & ↵Bill Meier1-1/+0
adjust whitespaxcce. Change-Id: I6f79357e0f3906f6ccc5b68eb451b69b68636335 Reviewed-on: https://code.wireshark.org/review/3613 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-07-08gsmtap: do not abort if dissector is unavailablePeter Wu1-1/+16
Encountered with the following attachments from bugs: 6575-test-dlmapc-wmx 6577-test-dlmapc-wmx 6579-test-dlmapc-wmx Also added modelines. Change-Id: I3859bed618830ad359bd0b2b1fdfc3c5fc13269e Reviewed-on: https://code.wireshark.org/review/2920 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-1/+1
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-1/+1
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-5/+3
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-15Fix [-Wmissing-prototypes]Jakub Zawadzki1-0/+3
svn path=/trunk/; revision=54135
2013-09-16Convert proto_tree_add_uint_format to proto_tree_add_uint_format_value if ↵Michael Mann1-2/+2
hf_ field name is the first part of the formatted string. This was all manual inspection and most cases were either: 1. Case sensitivity differences between hf_ field name and formatted string. 2. Unnecessary whitespace between hf_ field name and colon in formatted string There are cases where the hf_ field name doesn't quite match the proto_tree_add_uint_format, but it's close enough that one of them should be "right", I'm just not sure which is, I just know the string in proto_tree_add_uint_format is the one displayed. svn path=/trunk/; revision=52098
2013-04-14Update some of the old FSF addresses caught by the new licensecheck buildbotEvan Huus1-3/+1
step. svn path=/trunk/; revision=48848
2013-02-26Fix warning: 'rrc_sub_handle' may be used uninitialized in this functionPascal Quantin1-1/+1
svn path=/trunk/; revision=47904
2013-02-25Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8397 :Pascal Quantin1-0/+3
Prevent an out of bounds access when trying to call RRC sub dissectors and fallback to DATA dissector svn path=/trunk/; revision=47876
2013-02-21From Harald Welte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8365 :Pascal Quantin1-4/+157
Add GSMTAP support for UMTS RRC captures svn path=/trunk/; revision=47792
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-25From Sylvain Munaut via ↵Pascal Quantin1-0/+5
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7664 : packet-gsmtap: Call GMR-1 RACH dissector when appropriate svn path=/trunk/; revision=44671
2012-03-09From Sylvain Munaut:Anders Broman1-0/+7
packet-gsmtap: Call the GMR-1 CCCH dissector when appropriate (Step 3). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6921 svn path=/trunk/; revision=41449
2012-03-07From Sylvain Munaut: Call the new dissector from the GSMTap dissector for ↵Anders Broman1-0/+8
GMR-1 channels using LAPSat svn path=/trunk/; revision=41405
2012-02-08From Harald Welte:Anders Broman1-1/+9
GSMTAP: add new GPRS/EGPRS RLC related sub-types https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6812 svn path=/trunk/; revision=40936
2012-02-08From Harald Welte:Anders Broman1-3/+3
GSMTAP: whitespace / indent cleanup https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6811 svn path=/trunk/; revision=40935
2012-02-08From Harald Welte:Anders Broman1-5/+7
GSMTAP dissector: introduce a dissector table. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6810 svn path=/trunk/; revision=40934
2012-02-08From Sylvain Munaut:Anders Broman1-0/+74
Fix the windows build by filling up stuct with dummy member https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6798 svn path=/trunk/; revision=40932
2012-02-05Checked in, with the following changes:Jörg Mayer1-16/+25
- Adapted packet-gsm_sim.c and CmakeLists.txt to match current content (trivial) - Fixed warnings about //-style comments that were found running ../../tools/checkAPIs.pl -g deprecated -g prohibited -g abort -g termoutput packet-gsm_sim.c packet-etsi_card_app_toolkit.c Error: Found C++ style comments in packet-gsm_sim.c - Not fixed (will lead to dissector abort if in a packet): ../../tools/checkhf.pl packet-gsm_sim.c packet-etsi_card_app_toolkit.c ERROR: NO ARRAY: packet-gsm_sim.c, hf_tprof_b19 ERROR: NO ARRAY: packet-gsm_sim.c, hf_tprof_b18 ERROR: NO ARRAY: packet-etsi_card_app_toolkit.c, hf_ctlv_bearer_descr Please provide the necessary element entries for the hf[] array in a followup patch. svn path=/trunk/; revision=40854
2012-02-04From Harald Welte:Anders Broman1-2/+8
lapdm dissector tries to defragment segment of different streams. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6659 svn path=/trunk/; revision=40842
2012-01-26From Mike Morrin:Anders Broman1-16/+35
The gsmtap patch related to Add dissectors for GSM and UMTS Cell Broadcast protocols. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6770 svn path=/trunk/; revision=40738
2011-10-11From Harald Welte:Anders Broman1-0/+16
In order to ensure one consistent GSMTAP definition, some comments are added to the code in order to make sure modifications are first merged in the GSMTAP mainline header file, and then propagated to wireshark. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6442 svn path=/trunk/; revision=39366
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
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_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39328
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-16/+16
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-07-22From Ludovic Haessler:Anders Broman1-0/+12
Add 3GPP LLC/SNDCP protocols management in GSMTAP dissecto. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6145 svn path=/trunk/; revision=38166
2011-07-11From Ludovic Haessler:Anders Broman1-0/+16
Add 3GPP TS44.060 RLC/MAC control blocks management in GSMTAP dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6103 svn path=/trunk/; revision=37960
2011-07-06From HAESSLER:Anders Broman1-0/+3
Abis interface not correctly handled in gsmtap dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6097 svn path=/trunk/; revision=37918
2011-06-05From Ivan Kluchnikov:Anders Broman1-0/+60
GSMTAP carries payload in various formats of WiMAX interfaces. It uses the wimax plugin to decode the WiMAX bursts. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5964 svn path=/trunk/; revision=37557
2011-05-18Fix a (value) mistake in a value_string. Found by Martin's patch on the ↵Jeff Morriss1-1/+1
-dev list. svn path=/trunk/; revision=37260
2011-02-08From Holger Freyther:Anders Broman1-1/+11
Fix the GSMTAP to TETRA table GSMTAP has the BSCH at 1... this means the table needs to have 9 entries, the first being 0. -------------------------------------------------------------------------------- https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5659 svn path=/trunk/; revision=35882
2011-02-07from Holger Freyther:Anders Broman1-23/+92
gsmtap: Update header file, add tetra support 0001 Minor cleanup - made it look crocked in visual studio, changed bu hand. 0002 Update the definitions from the 'upstream' source 0003 First bits of tetra decoding included in GSMTAP 0004 Pass the tetra PDUs to the TETRA decoder Changed def. of gsmtap_to_tetra to make it compile. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5659 svn path=/trunk/; revision=35864
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-1/+1
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-05-18Use val_to_str() instead of match_strval() to ensure we get a non-NULL ↵Jeff Morriss1-1/+1
result to pass to proto_tree_add*(). svn path=/trunk/; revision=32880
2010-03-16From Harald Welte:Anders Broman1-0/+398
Add new GSMTAP dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4508 (I incorporated the .h file into the .c file). svn path=/trunk/; revision=32214