aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_bssmap_le.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-23Deleting unneccessary #includes from dissectors.Martin Mathieson1-2/+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-4/+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-12-11GSM BSSMAP LE: fix indent (use tabs)Alexis La Goutte1-6/+6
Change-Id: Ic05a52d095fd581150fc69ca8d2a0e05eaddf81a Reviewed-on: https://code.wireshark.org/review/5722 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-12-11GSM bssmap le: fix warning: no previous prototype for 'dissect_bssmap_le' ↵Alexis La Goutte1-1/+1
[-Wmissing-prototypes] Change-Id: Ifa8c7a15dfb37cf1dbd2f539dd0bbc87e6da1aea Reviewed-on: https://code.wireshark.org/review/5719 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-11-26Remove sccp_info member from packet_info structure.Michael Mann1-8/+8
sccp_msg_info_t* is now passed from SCCP dissector to its subdissectors through dissector data parameter. Change-Id: Iab4aae58f8995e844f72e02e9f2de36e83589fc0 Reviewed-on: https://code.wireshark.org/review/5442 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-11-03tvb_length -> tvb_reported_lengthAndersBroman1-1/+1
Change-Id: I48b618008c8c8accd6f161bdc42e02906a4765b7 Reviewed-on: https://code.wireshark.org/review/5085 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-11-02Eliminate proto_tree_add_text from several dissectors.Michael Mann1-13/+34
Change-Id: I6d3125f15d268edd47ef74dd655eb86cb25ee52d Reviewed-on: https://code.wireshark.org/review/5047 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-10-03Add editor modelines; Adjust whitespace as needed.Bill Meier1-79/+92
Change-Id: I391cdf80a6e4ae5b0f4068e0500a90d013588f8a Reviewed-on: https://code.wireshark.org/review/4442 Reviewed-by: Bill Meier <wmeier@newsguy.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-2/+2
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-09IE chosen channel on Lb interface decoded incorrectlyAnders Broman1-9/+8
IE "chosen channel" in message "perform location request" on Lb interface (BSC <-> SMLC) is decoded incorrectly. IE "chosen channel" on Lb interface is decoded as 2 octets data. It should be 3 octet IE on Lb interface (IEI, length and data). Change-Id: Ic815a7b4ac08a035c5b292985c64d14e986fe8d7 Closed-bug: 9531 Reviewed-on: https://code.wireshark.org/review/565 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@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-15Convert a few more dissectors to wmem APIPascal Quantin1-2/+4
svn path=/trunk/; revision=52053
2013-05-03Remove static packet_info *gpinfo and just use the packet_info provided by ↵Michael Mann1-6/+4
the function. svn path=/trunk/; revision=49145
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-1/+1
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-18As suggested by Evan Huus, use extended value_stringsPascal Quantin1-1/+2
svn path=/trunk/; revision=48407
2013-03-18use enum values instead of hardcoded valuesPascal Quantin1-30/+30
(as suggested by Sylvain Munaut in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8487) svn path=/trunk/; revision=48397
2013-01-22Try to fix dissection of GSM protocol family broken by r47209.Pascal Quantin1-56/+56
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
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-01Follow-up of r44162: clean more filtersPascal Quantin1-11/+11
svn path=/trunk/; revision=44187
2012-07-31Updated GSM dissectors display filters per checkfiltername.plMichael Mann1-3/+3
Tried to provide consistency with GSM dissector (protocol) names, even if the filenames now don't match the dissector name. svn path=/trunk/; revision=44162
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-05-21Display Element ID in hexadecimal (like in 3GPP specs)pascal1-1/+1
Display EPS bearer ID in decimal svn path=/trunk/; revision=42755
2012-05-15Remove unneeded #includes (stdlib, stdio, ctypes, time);Bill Meier1-1/+1
In a few cases: do some whitespace, indentation cleanup & reformatting. svn path=/trunk/; revision=42632
2012-03-10Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-5/+5
svn path=/trunk/; revision=41463
2011-09-27Get rid of check_col, while at it set ENC.Anders Broman1-36/+33
svn path=/trunk/; revision=39164
2011-09-21(Trivial) Remove trailing whitespace from lines for a few files.Bill Meier1-30/+30
svn path=/trunk/; revision=39084
2011-04-04Change the signature of elem_fcn():ns to include pinfo.Anders Broman1-11/+11
svn path=/trunk/; revision=36443
2011-04-04Change the msg_fcn() signature to include pinfo.Anders Broman1-6/+6
svn path=/trunk/; revision=36441
2011-01-31Dissect more IE's in PERFORM-LOCATION-REQUEST.Anders Broman1-30/+137
svn path=/trunk/; revision=35721
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-10-10Define some fcns & vars as static; Some #includes not req'd; packet-mikey.h ↵Bill Meier1-1/+1
not req'd. svn path=/trunk/; revision=34464
2010-04-06#include <string.h> not needed.Bill Meier1-2/+0
svn path=/trunk/; revision=32411
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-02-08(Trivial): remove an incorrect _U_ in a few cases.Bill Meier1-7/+7
svn path=/trunk/; revision=31830
2010-01-18Fix a number of gcc _Wshadow warningsBill Meier1-6/+6
svn path=/trunk/; revision=31557
2009-09-24Don't guard col_append_str with check_colKovarththanan Rajaratnam1-4/+1
svn path=/trunk/; revision=30125
2009-09-15Save some memory: Don't statically allocate ett[] arrays used "dynamically".Bill Meier1-2/+2
svn path=/trunk/; revision=29929
2009-08-06Fix some individual cases of 'if (unsigned) < 0'Bill Meier1-1/+1
svn path=/trunk/; revision=29320
2009-08-04Optimize empty strings to NULL pointers.Jaap Keuter1-26/+26
svn path=/trunk/; revision=29298
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-17/+17
(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-01-28Minor changes mostly related to proto_register & proto_reg_handoff;Bill Meier1-316/+315
- Use 'dissector standard template format' - Remove 'once-only' ["if (!initialized) ..."] if not req'd - Misc Also: adjust some indentation svn path=/trunk/; revision=27324
2008-12-23Implement TLV-E and LV-E type IE dissection (2 byte length value).Anders Broman1-10/+10
svn path=/trunk/; revision=27100
2008-12-17Add $Id$Bill Meier1-0/+2
svn path=/trunk/; revision=27029
2008-12-17Fix typos and spelling (mostly in text strings) Bill Meier1-1/+1
svn path=/trunk/; revision=27028
2008-11-25One more fix for bug 3081.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26842
2008-11-25From Pascal Quantin:Stig Bjørlykke1-4/+4
Fix more issues after r26834. svn path=/trunk/; revision=26840
2008-11-24fix array overindexingBalint Reczey1-1/+1
svn path=/trunk/; revision=26834