aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-3g-a11.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-11Eliminate redundant blurbsJeff Morriss1-15/+15
svn path=/trunk/; revision=37055
2011-05-10Make sure we set a variable.Gerald Combs1-19/+21
svn path=/trunk/; revision=37044
2011-05-10On behalf of Ericsson update the A11 dissector.Anders Broman1-38/+253
svn path=/trunk/; revision=37041
2011-04-14Revert r24047. Fixes bug 5822.Chris Maynard1-27/+1
svn path=/trunk/; revision=36642
2011-02-17Fix various Visual C++ analysis warnings.Gerald Combs1-2/+2
svn path=/trunk/; revision=35985
2011-02-07For FT_{ABSOLUTE,RELATIVE}_TIME, make the rest of the encodingGuy Harris1-93/+93
orthogonal to the byte order. This means that we can't just test for a non-zero encoding to determine whether the format is big-endian or little-endian when we set the field's endianness flag; instead, for the types where we accept any non-zero value as meaning "litle-endian", map it to ENC_LITTLE_ENDIAN. When we use ENC_TIME_NTP, OR in the byte order flag. While we're at it, in the dissectors that used ENC_TIME_NTP, update all the other encoding items in proto_tree_add_item() calls to use the appropriate ENC_ value. svn path=/trunk/; revision=35841
2011-02-07Add support for passing NTP times to proto_tree_add_item() by specifyingJeff Morriss1-51/+9
an encoding of ENC_TIME_NTP. This increases the number of decimal places shown for NTP times (from 6 to 9), so round the value to the nearest microsecond. (I can't tell if NTP times are ever more precise than a microsecond--this rounding is mainly to be closer to the old behavior.) Use proto_tree_add_item() for some NTP times. svn path=/trunk/; revision=35840
2011-01-13Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str(). TheseJeff Morriss1-15/+15
do the same as the non-tvb equivalents but take a TVB and an offset instead of a pointer to an array of bytes. Their purpose is to prevent (many) dissectors from doing: ip_to_str(tvb_get_ptr(...)). (About the names and the location: I like the names as they are but the names imply that they should live in tvbuff.c. That would make some sense but I didn't want to pull to_str.h into tvbuff.c...) svn path=/trunk/; revision=35519
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-09-17Use val_to_str_ext() & friends to access sminmpec_values[];Bill Meier1-1/+1
Also: packet-nhrp.c: #include sminmpec.h not req'd; svn path=/trunk/; revision=34143
2010-03-03remove check_colAnders Broman1-28/+20
svn path=/trunk/; revision=32089
2009-11-09Removed unused assignments.Stig Bjørlykke1-5/+0
svn path=/trunk/; revision=30894
2009-09-25Upon 2nd thought: revert changes I made to remove 'if(checkcol(...)' around ↵Bill Meier1-20/+28
col_add_fstr(...) svn path=/trunk/; revision=30134
2009-09-01Misc cleanup;Bill Meier1-1675/+1675
- Remove no longer needed usage of check_col(); - Add some defensive coding; - Change a few guints to gints; - Add parentheses to a few expressions; - Use consistent indentation. svn path=/trunk/; revision=29655
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-11/+11
(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-03-18Get rid of uses of size_t; they're not necessary, and it causes a pileGuy Harris1-17/+17
of 64-bit-to-32-bit conversion warnings in LLP64 environments such as Win64. svn path=/trunk/; revision=27781
2009-01-10From Michael Lum:Jaap Keuter1-3/+83
Added support the the Capabilities Information and Capabilities Information Ack messages along with the MEID attribute. svn path=/trunk/; revision=27207
2008-12-17Fix some typos and spelling (mostly in text strings)Bill Meier1-5/+5
svn path=/trunk/; revision=27037
2008-10-16Remove unnecessary #includesBill Meier1-5/+0
svn path=/trunk/; revision=26481
2008-08-25Move a buffer from the stack & do some minor cleanupBill Meier1-9/+5
svn path=/trunk/; revision=26073
2008-05-29For a character string, use an array of char, not an array of guint8Guy Harris1-3/+3
(the characters are all digits), and, to point to it, use a pointer to char rather than a pointer to guint8. svn path=/trunk/; revision=25394
2008-01-09In case of QoS Information, Length field is missing.Anders Broman1-1/+29
svn path=/trunk/; revision=24047
2007-11-16Fix a buffer overflow in the PPP dissector. Try to fix uninitialized Gerald Combs1-90/+93
variable warnings turned up by Valgrind. svn path=/trunk/; revision=23475
2007-09-06Add A11 RRQ-CVSE-Active Start Airlink Record-Subtype 108 is expressed to Subnet.Anders Broman1-6/+19
Plus Temp change VALS(sminmpec_values) to NULL to let the buildbot do arun. svn path=/trunk/; revision=22812
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-1/+1
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-2/+2
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-24From Sebastien Tandel:Stephen Fisher1-2/+2
Fixes for warnings svn path=/trunk/; revision=21164
2006-07-18From Ravi Valmikam:Anders Broman1-32/+142
"Translate" MSID BCD digits and make them filterable, fixes bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=997 svn path=/trunk/; revision=18757
2006-07-09Start declaring the proto_reg... functions to fix 'warning: no previous ↵Jörg Mayer1-0/+4
declaration' svn path=/trunk/; revision=18691
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2006-03-29Get rid of some unused variables.Guy Harris1-2/+0
svn path=/trunk/; revision=17763
2006-03-27From Ravi Valmikam:Anders Broman1-3/+0
a minor fix for 3GPP2 A11 Session Updat From me: a fix to packet-ppp.c to dissect the payload and some changes in the gre dissector to display the 3GPP values. svn path=/trunk/; revision=17733
2006-03-24From Ravi ValmikamAnders Broman1-4/+183
1. Decode A11 Session Update message 2. Decode A10 3GPP2 (GRE Payload Type 0x88D2) packets with the following attributes - Flow Control - Segmentation - SDI Indicator - Flow Discriminator svn path=/trunk/; revision=17717
2006-02-16Use the new "proto_tree_add_*_format_value" routines.Guy Harris1-24/+29
svn path=/trunk/; revision=17316
2006-01-05Bill Meier:Jörg Mayer1-1/+1
Spelling fixes. svn path=/trunk/; revision=16956
2006-01-03From Ravi ValmikamAnders Broman1-1/+483
Over the last year or so there have been several developments in the 3GPP2 specifications. One of the areas that saw significant changes was A11 interface between PDSN and PCF. With the introduction of QoS support on this interface, the specification includes a lot of new information elements in this protocol svn path=/trunk/; revision=16933
2005-09-21get rid of strcpy in packet-ntp.cRonnie Sahlberg1-7/+6
at the same time change ntp_fmt_ts to return a pointer to ian ep-allocated buffer. remove the redundant buffer parameter in the signature and change all callers. svn path=/trunk/; revision=15939
2005-08-28add some missing value_string termination entriesRonnie Sahlberg1-0/+2
svn path=/trunk/; revision=15573
2005-08-19from Michael LumRonnie Sahlberg1-2/+16
update to 3g-a11 Modified support for ESN in the Airlink Setup Record svn path=/trunk/; revision=15422
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-2/+2
documentation in README.developer svn path=/trunk/; revision=15270
2005-07-24convert some uses of tvb_get_string() to ep_tvb_get_string()Ronnie Sahlberg1-4/+2
there was at least one obvious memleak in one of the uses of tvb_get_string() svn path=/trunk/; revision=15027
2005-03-02Use "tvb_get_string()" to fetch strings from the packet, rather thanGuy Harris1-147/+247
filling up a fixed-length buffer. Add a bunch of length checks. Clean up indentation. svn path=/trunk/; revision=13574
2005-03-01Show NTP times correctly.Guy Harris1-27/+41
svn path=/trunk/; revision=13562
2004-11-24add some 3gpp2 AVP:s to packet-radius.c and use "vendor" table packet-3g-a11.cAnders Broman1-4/+10
svn path=/trunk/; revision=12595
2004-11-01From Ryuji Somegawa: dissect the Registration Update AuthenticationGuy Harris1-0/+1
Extension. svn path=/trunk/; revision=12462
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1135
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410