aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtpv2.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-5/+5
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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-21Whitespace cleanup:wmeier1-9/+9
Use consistent indentation; Convert "4 space tabs" to spaces; Remove trailing whitespace. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39082 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-21Fix ex "modeline" so it works;wmeier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39081 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-26Make dissection of AVP: 3GPP-User-Location-Info(22) l=15 f=V-- vnd=TGPP ↵etxrab1-9/+40
val=303231 more robust. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38739 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-26Use ENC_BIG_ENDIAN.etxrab1-310/+310
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38738 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-24Mark length parameter as unusedsfisher1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38714 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-24Use elm_len for the length.etxrab1-13/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38713 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-19Mark length as U(nsused)etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38618 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-19Fix MM Context for E-UTRAN SRVCC elment lengthsetxrab1-13/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38617 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-03Convert "4 space tabs" to spaces + do other whitespace cleaup.wmeier1-1595/+1607
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38328 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-03Minor cleanupwmeier1-109/+110
[benign] Remove _U_ from param arg when param is actually used; [benign] Use 'item' (not 'tree') arg for proto_item_append_text() Whitespace git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38327 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-03AFAICT, the item for 'hf_gtpv2_stn_sr' should be used as the parent ↵wmeier1-2/+3
tree-item in dissect_gtpv2_stn_sr(). This is a different fix for Coverity 1248 than that committed in SVN 38314. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38323 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-02Fix Coverity CID 1248: unused value.cmaynard1-10/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38314 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-31Add comment.etxrab1-8/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38293 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-30Add 3GPP Sv interface.etxrab1-56/+579
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38270 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-30Fix a typo.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38269 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-30CCRSI is not included in 3GPP 29.274 R8.etxrab1-2/+7
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6183 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38268 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-20Use (what appears to be) the correct tvb for a function call: Fixes Coverity ↵wmeier1-3/+1
919 [UNUSED]; #include <stdlib.h> not req'd. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37336 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06 VALS(& -> VALS(etxrab1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37009 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-21Avoid passing a NULL string pointer to format routines: some libc's (e.g.,morriss1-946/+940
Solaris') will core on that. Also clean up indentation and white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36775 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-04Change the signature of elem_fcn():ns to include pinfo.etxrab1-22/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36443 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-11Update 8.12 Indication IE to 3GPP TS 29.274 version 9.4.0 Release 9etxrab1-18/+56
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35921 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-11Register a couple of ett_ variables.morriss1-45/+49
Move the declaration of all the ett_ variables after the hf_ variables (instead of in between some of them). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35920 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-21CN-Id is two bytes.etxrab1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35606 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().morriss1-21/+19
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35529 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-12Mark a parameter as unused.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35507 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-12Enhance IE dissection.etxrab1-14/+138
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35506 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-11Improve dissection of UE Time Zone.etxrab1-9/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35477 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-10Shorten long winded strings.etxrab1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35456 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-10Give CSID an abbreviation.morriss1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35446 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-09Get rid of check_col().etxrab1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35432 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-08Try to fix:etxrab1-2/+3
packet-gtpv2.c:2648: warning: return type defaults to 'int' packet-gtpv2.c: In function 'dissect_udp_s_port_nr': packet-gtpv2.c:2690: warning: unused parameter 'length' packet-gtpv2.c: In function 'dissect_gtpv2_fq_csid': packet-gtpv2.c:2845: warning: unused parameter 'length' packet-gtpv2.c: In function 'dissect_gtpv2_emlpp_pri': packet-gtpv2.c:2927: warning: implicit declaration of function 'be_emlpp_prio' packet-gtpv2.c: At top level: packet-gtpv2.c:3056: warning: initialization from incompatible pointer type git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35431 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-08Further IE dissection updates.etxrab1-21/+234
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35430 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-07Don't try to display a string in BASE_DEC. Also delete duplicate ↵morriss1-13/+8
registration of hf_gtpv2_pti. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35422 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-07** (process:23326): WARNING **: Field 'Reserved bit(s)' does not have anetxrab1-2/+2
abbreviation ** ERROR **: Field 'IPv4 Address' (gtpv2.ipv4_addr) is an FT_IPv4 but is being displayed as BASE_DEC instead of BASE_NONE git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35420 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-07Fix buildbot.etxrab1-9/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35419 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-07Add dissection of more IE:setxrab1-73/+1143
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35417 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-05Enhance IE dissection.etxrab1-10/+30
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35378 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-04Give a couple of fields abbreviations.morriss1-46/+46
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35362 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-04Maeke use of dissect_e212_mcc_mnc_ep_str().etxrab1-1/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35361 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-04Add more info to the tree.etxrab1-43/+103
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35354 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-03Prettify dissection of User Location Info (ULI). (Complete)etxrab1-7/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35352 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-03Prettify dissection of User Location Info (ULI).etxrab1-16/+41
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35351 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-03Mark unused parameters as such.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35341 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-03Mark unused parameters as such.etxrab1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35340 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-03Comment out a faulty line.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35339 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-03Enhance IE dissection and a number of bug fixes.etxrab1-81/+662
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35338 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-30Extend IE dissetcion.etxrab1-68/+215
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35307 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-17Use val_to_str_ext() & friends to access sminmpec_values[];wmeier1-1/+1
Also: packet-nhrp.c: #include sminmpec.h not req'd; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34143 f5534014-38df-0310-8fa8-9805f1628bb7