aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cops.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-22Corrected length check for I05 Downstream Service.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=33615
2010-07-21Use correct length for I04/I05 Envelope headers.Stig Bjørlykke1-20/+20
svn path=/trunk/; revision=33606
2010-07-21Added "Attribute Aggregation Rule Mask" from PKT-SP-MM-I05-091029.Stig Bjørlykke1-145/+271
svn path=/trunk/; revision=33605
2010-07-19Removed call to check_col().Stig Bjørlykke1-14/+7
svn path=/trunk/; revision=33581
2010-07-19Added SharedResourceID.Stig Bjørlykke1-5/+30
svn path=/trunk/; revision=33580
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2009-10-02From Jared Renzullo:Jaap Keuter1-5/+155
The Cops dissector does not support the IPv6 Classifier object which was added to PCMM in the I04 spec. The object is identified by Snum = 6, Stype = 3. svn path=/trunk/; revision=30250
2009-09-30From Jared Renzullo:Jaap Keuter1-0/+4
The IPv6 SubscriberId object, which was added in the I04 spec, is not supported in the cops dissector for PCMM. It was already supported for DQOS, however. The object is identified by S-num = 3, S-type = 2. svn path=/trunk/; revision=30224
2009-09-20Use tvb_get_ephemeral_string() to avoid memleak.Kovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=29990
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-07-07From Julián Lastiri via bug 3656:Stig Bjørlykke1-5/+7
ClassifierID should be before Priority field in the Extended Classifier of PacketCable Multimedia Protocol. Also the reference to PacketCable Multimedia document PKT-SP-MM-I02-040930 is wrong because there is no definition about Extended Classifier. My fix is based on PacketCable Multimedia PKT-SP-MM-I04-080522 document. svn path=/trunk/; revision=28969
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-85/+85
(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-04-30From Jared Renzullo:Jaap Keuter1-15/+31
The Gate Usage Info field was not displaying properly because the dissector code was looking for a 32 bit integer, when the PCMM spec says the field is a 64 bit integer. The UserID field was assuming the string was null terminated, but the string is only null terminated if the original string's length was not a multiple of four. I fixed this by getting the string based on the expected length instead of the null terminator. svn path=/trunk/; revision=28197
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedGuy Harris1-1/+1
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108
2009-04-16From Jared Renzullo:Jaap Keuter1-10/+1035
The existing Wireshark Cops PCMM dissector does not support the new I04 fields fof PCMM. I've added the new fields which are relevant to the policy server to the dissector. svn path=/trunk/; revision=28066
2008-12-17Fix typos and spelling (mostly in text strings) Bill Meier1-1/+1
svn path=/trunk/; revision=27028
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26646
2008-09-02Cleanup related to prefs & proto_reg_handoffBill Meier1-13/+7
svn path=/trunk/; revision=26124
2008-06-23Renamed some local variables to avoid name collisions.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=25565
2008-03-13Make the SMI preference a little more verbose. In the COPS and SNMPGerald Combs1-0/+4
preferences, tell the user where they can change the SMI settings. In the 802.11 preferences, fix a tooltip. svn path=/trunk/; revision=24620
2008-02-14Initialize a tvb, so that we don't crash. Fix up whitespace.Gerald Combs1-43/+43
svn path=/trunk/; revision=24332
2008-02-07Removed a break which disabled some code.Stig Bjørlykke1-3/+1
svn path=/trunk/; revision=24285
2008-02-03More rewrite of prohibited APIs (sprintf, strcpy, strcat).Stig Bjørlykke1-5/+4
svn path=/trunk/; revision=24258
2008-02-02Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).Stig Bjørlykke1-2/+3
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24249
2007-11-27Fixes from Sam Leffler:Gerald Combs1-2/+2
In capture_sync.c: Don't clobber the DLT value. In packet-cops.c (modified by me): Instead of adding an item as a static, mis-cast FT_UINT16 to the tree, add it as an FT_NONE. In packet-802.11.c: Add the right address to the tree. svn path=/trunk/; revision=23624
2007-09-13Given the opportunity I check in the changes to snmp I got in this machine.Luis Ontanon1-3/+3
- Indexing (implied and not) is OK now, however indexes for related tables (AUGMENT, EXTEND, etc) are registered many times. svn path=/trunk/; revision=22861
2007-08-26Remove every remembrance of NET_SNMP from COPSLuis Ontanon1-23/+1
svn path=/trunk/; revision=22678
2007-08-26De-NET-SNMPize COPSLuis Ontanon1-421/+304
svn path=/trunk/; revision=22673
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-4/+3
svn path=/trunk/; revision=22651
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-1/+1
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-4/+9
svn path=/trunk/; revision=21773
2007-03-30ep_malloc -> ep_alloc !!Sebastien Tandel1-1/+1
svn path=/trunk/; revision=21281
2007-03-30remove some g_malloc/g_freeSebastien Tandel1-2/+1
svn path=/trunk/; revision=21280
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-4/+4
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-27Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors Stephen Fisher1-4/+4
svn path=/trunk/; revision=21233
2007-03-26From Sebastien Tandel Ronnie Sahlberg1-7/+7
fixes for various compiler warnings svn path=/trunk/; revision=21210
2007-03-16Turn an error that I've encountered into an easily findable expert item.Martin Mathieson1-2/+8
svn path=/trunk/; revision=21036
2007-01-26Use previously unused hf_cops_obj_c_type (cops.c_type) fieldMartin Mathieson1-1/+2
svn path=/trunk/; revision=20566
2007-01-26Make COPS dissector findable by nameMartin Mathieson1-0/+3
svn path=/trunk/; revision=20564
2007-01-10move asn1.c/.h files into plugins/asn1 directory as just this plugin uses it nowTomas Kukosa1-3/+0
svn path=/trunk/; revision=20372
2006-12-08Get rid of UCD SNMP support (it's not longer supported andJörg Mayer1-11/+0
superseeded by net-snmp). Replace some_snmp by net_snmp where appropriate. svn path=/trunk/; revision=20071
2006-11-14nikai@nikai.net:Jörg Mayer1-1/+0
Remaining fixes from: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225 svn path=/trunk/; revision=19895
2006-10-31change the signature for the get_pdu_len() function pointer passed to ↵Ronnie Sahlberg1-2/+2
tcp_dissect_pdus() to also include a packet_info pointer. there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size svn path=/trunk/; revision=19751
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=18196
2006-05-09The AMID type and tag are two bytes, not four. The PSID should be shownGerald Combs1-5/+5
in decimal, not hex. svn path=/trunk/; revision=18116
2006-03-23Covierty bug fix.Anders Broman1-1/+1
svn path=/trunk/; revision=17705
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵Ronnie Sahlberg1-0/+1
acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global. while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . svn path=/trunk/; revision=17681
2006-02-09Add PacketCable Multimedia updates. Sponsored by CableLabs.Gerald Combs1-48/+276
svn path=/trunk/; revision=17232
2006-01-18In packet-cops.c use proto_item_append_text() instead of creating aGerald Combs1-14/+9
separate buffer. Fixes the current Buildbot failure. Don't let the sprint_realloc_* functions reallocate ep_allocated memory. Add comments warning against this in the future. In emem.c, make sure we don't use an extra 100k every stinkin' time someone wants to allocate memory when debugging is enabled. Fixup whitespace. svn path=/trunk/; revision=17051