aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gtp.c
AgeCommit message (Collapse)AuthorFilesLines
2002-04-29Removal (or, at least, #ifdeffing out) of unused variables andGuy Harris1-2/+30
functions, from David Frascone. svn path=/trunk/; revision=5288
2002-04-08More static-ization.Gilbert Ramirez1-3/+3
svn path=/trunk/; revision=5131
2002-01-31No C++ comments in C code, please.Guy Harris1-2/+2
svn path=/trunk/; revision=4652
2002-01-31Set some variables in the "can't happen" case of a UMTS QOS item with aGuy Harris1-1/+4
type that's neither 1 nor 2. svn path=/trunk/; revision=4651
2002-01-31Updates from Michal Melerowicz.Guy Harris1-207/+200
svn path=/trunk/; revision=4650
2002-01-24Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls inGuy Harris1-3/+3
arguments to "proto_tree_add_text()", and to "proto_tree_add_XXX()" calls that add FT_NONE or FT_PROTO items to the protocol tree, with -1. Replace some calls to "tvb_length()" or "tvb_length_remaining()" with calls to "tvb_reported_length()" and "tvb_reported_length_remaining()", as those give the actual length of the data in the packet, not just the data that happened to be captured. svn path=/trunk/; revision=4605
2002-01-21Include files from the "epan" directory and subdirectories thereof withGuy Harris1-2/+2
"epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
2001-12-10Move the pointer to the "column_info" structure in the "frame_data"Guy Harris1-31/+41
structure to the "packet_info" structure; only stuff that's permanently stored with each frame should be in the "frame_data" structure, and the "column_info" structure is not guaranteed to hold the column values for that frame at all times - it was only in the "frame_data" structure so that it could be passed to dissectors, and, as all dissectors are now passed a pointer to a "packet_info" structure, it could just as well be put in the "packet_info" structure. That saves memory, by shrinking the "frame_data" structure (there's one of those per frame), and also lets us clean up the code a bit. svn path=/trunk/; revision=4370
2001-12-03Make "dissector_add()", "dissector_delete()", and "dissector_change()"Guy Harris1-16/+22
take a dissector handle as an argument, rather than a pointer to a dissector function and a protocol ID. Associate dissector handles with dissector table entries. svn path=/trunk/; revision=4308
2001-11-21If we have to worry about subdissectors changing the "packet_info"Guy Harris1-11/+1
structure, we may have to worry about it in more places than the places that *used* to set "pi.len" and "pi.captured_len", so there's no point in just saving and restoring it there. We'll remove those saves/restores, and worry about saves and restores when we find a problem. svn path=/trunk/; revision=4245
2001-11-21Get rid of some unused variables.Guy Harris1-4/+3
svn path=/trunk/; revision=4241
2001-11-20Get rid of the "len" and "captured_len" members of the "packet_info"Guy Harris1-6/+5
structure; they're no longer used. svn path=/trunk/; revision=4236
2001-11-15Get rid of NullTVB, the "compat_top_tvb" member of the "packet_info"Guy Harris1-2/+1
structure, the check for a null tvbuff pointer in "alloc_field_info()", and the "tvb_create_from_top()" macro; they're no longer needed, as there's no non-tvbuffified dissector code remaining. svn path=/trunk/; revision=4205
2001-10-30Fix a bunch of places where "tvb_get_letohl()" was being used to fetchGuy Harris1-13/+13
IP addresses - either use "tvb_memcpy()", or just use "proto_tree_add_item()" and leave the fetching up to the core Ethereal code. In the DVMRP dissector, replace a bunch of other "proto_tree_add_XXX()" calls with "proto_tree_add_item()", and use "tvb_reported_length_remaining()" rather than "tvb_length_remaining()" (if we didn't capture enough data because the snapshot length was too low, we *want* an exception to be thrown, so that the frame is marked as a "Short Frame"). svn path=/trunk/; revision=4109
2001-10-30IPv4 addresses should be entered in host byte order, not forcedGuy Harris1-8/+8
little-endian byte order. svn path=/trunk/; revision=4107
2001-10-04Avoid using non-ASCII characters in labels in the protocol tree - someGuy Harris1-2/+2
compilers may not interpret them as the ISO 8859/1 characters they're intended to be, and the GUI toolkit or other software through which the text passes might not interpret them as such, either. svn path=/trunk/; revision=3992
2001-09-27Show Boolean flags as Booleans.Guy Harris1-9/+14
svn path=/trunk/; revision=3957
2001-09-19Updates from Michal Melerowicz:Guy Harris1-675/+998
1. simplified and shorter names 2. fixed problem with filtering (consequence of 1st point) 3. added more charging tickets svn path=/trunk/; revision=3946
2001-09-11GTPv1 support and GTPv0 improvements, from Michal Melerowicz and NicolasGuy Harris1-795/+3564
Balkota. svn path=/trunk/; revision=3919
2001-08-13Change all occurrencess of routeing to routing, even in comments. I respectedRichard Sharpe1-2/+2
capitalization, however. svn path=/trunk/; revision=3844
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris1-53/+53
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-04-23Get rid of unnecessary includes.Guy Harris1-2/+1
Fix up Gerald's e-mail address in some files while we're at it, and fix up Michael T�xen's name in one file as well. svn path=/trunk/; revision=3368
2001-04-20Fix Gerald's e-mail address - and fix it in "README.developer", soGuy Harris1-2/+2
people don't blindly insert the old address into new dissectors, which is probably how it got into the dissectors being fixed here. svn path=/trunk/; revision=3348
2001-04-10If the tvbuff pointer is null in "alloc_field_info()", get the dataGuy Harris1-1/+13
source name from "pi.compat_top_tvb", which should always be set to the tvbuff that refers to the data that old-style dissectors are currently working on. Arrange that it be so set in those dissectors that create alternate data sources and call other dissectors, and also arrange that "pi.len" and "pi.captured_len" be set appropriately as well. svn path=/trunk/; revision=3286
2001-04-04ANSI C requires a statement in the 'default' case of a switch statement.Gilbert Ramirez1-3/+5
Use a ';' statement. svn path=/trunk/; revision=3254
2001-04-04GTP support, from Michal Melerowicz.Guy Harris1-0/+2084
svn path=/trunk/; revision=3252