aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cmp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-13Regenerate ASN.1 dissectors to update the #line directive.Stig Bjørlykke1-16/+16
svn path=/trunk/; revision=37118
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-7/+7
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-05-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-6/+6
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. svn path=/trunk/; revision=32748
2010-05-11Regenerate a few of the ASN.1 dissectorsJeff Morriss1-130/+130
svn path=/trunk/; revision=32742
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.Bill Meier1-8/+6
svn path=/trunk/; revision=32417
2010-04-06#include <stdio.h> not needed.Bill Meier1-7/+6
svn path=/trunk/; revision=32405
2010-01-27Use generated file from latest asn1 (missed in SVN #31544).Bill Meier1-13/+7
svn path=/trunk/; revision=31698
2009-12-19For fields of type FT_ABSOLUTE_TIME, have the "display" value be one ofGuy Harris1-1/+1
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL == (int)BASE_NONE, so there's no source or binary compatiblity issue, although we might want to eliminate BASE_NONE at some point and have the BASE_ values used with integral types start at 0, so that you can't specify BASE_NONE for an integral field. svn path=/trunk/; revision=31319
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-10-09Regenerate asn1 dissectors (no change, only some line offset changes)Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=30454
2009-09-24Remove check_col() guardKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=30124
2009-09-23Don't col_clear() followed by col_set_str(). A col_set_str() will clear ↵Kovarththanan Rajaratnam1-3/+0
(replace) any existing string (the fence still needs to be respected though) svn path=/trunk/; revision=30086
2009-09-06s/col_add_fstr/col_add_strKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29727
2009-09-06Don't pass ep_alloc()'ed strings to col_set_str().Kovarththanan Rajaratnam1-1/+1
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3984 svn path=/trunk/; revision=29726
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-41/+41
(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-05-16Regenerate all asn2wrs generated dissectors.Stig Bjørlykke1-25/+25
svn path=/trunk/; revision=28379
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...Bill Meier1-8/+6
svn path=/trunk/; revision=27390
2008-11-07asn2wrs regenerated files: see SVN #26728Bill Meier1-14/+13
svn path=/trunk/; revision=26729
2008-11-01Regenerate all asn2wrs generated dissectorsAnders Broman1-25/+25
svn path=/trunk/; revision=26670
2008-04-23Martin Peylo <wireshark@izac.de>:Jörg Mayer1-5/+9
PKIXCMP: fix new plain TCP transport style, add OID and preferences (The previous checkin forgot to check in the changed source files.) Me: - Fix a warning about an 'incompatible pointer type' svn path=/trunk/; revision=25161
2008-04-23From : Martin Peylo:Anders Broman1-35/+118
PKIXCMP: fix new plain TCP transport style, add OID and preferences http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2499 svn path=/trunk/; revision=25157
2008-04-21From Martin Peylo:Anders Broman1-116/+169
PKIXCMP: update TCP transport style, add OIDs and content types http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2460 svn path=/trunk/; revision=25131
2008-04-12From Martin Peylo (bug 2245):Stig Bjørlykke1-7/+43
I'm providing a patch for the asn2wrs cmp.cnf file showing the types of the PKIBody and PKIStatus in the info column. svn path=/trunk/; revision=24935
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-2/+2
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015
2007-11-08Apply yet another set of the optimization patches:Anders Broman1-1/+1
-set_str2add_str_val_to_str svn path=/trunk/; revision=23406
2007-11-04Update do use the -X and -T asn2wrs flags.Anders Broman1-631/+288
svn path=/trunk/; revision=23362
2007-10-31From Martin Peylo:Anders Broman1-10/+36
This uncomments the OID registration of pkixcmp and adds 2 Cryptlib OIDs Changed to use oid_add_from_string for adding names. svn path=/trunk/; revision=23316
2007-10-07From Martin Peylo:Anders Broman1-152/+807
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1888 There are new versions of CMP (v2) in RFC4210 and CRMF (v2) in RFC4211. The right to exist of CRMF is bound to CMP so I don't split that into two bug reports. I'll upload the new (slightly handmassaged) ASN.1 files for both protocols, along with patches for the respective cnf files, where I also added new #.REGISTER statements. Additionally I had to export some definitions from pkix1explicit (Attribute, Time, UniqueIdentifier and Version) and from pkix1implicit (KeyIdentifier). I'll also upload a patch for that. I uploaded a CMPv2 sample (with errors in the protocol!) to the wiki. svn path=/trunk/; revision=23082
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-24few BER dissectors regeneratedTomas Kukosa1-11/+11
svn path=/trunk/; revision=21920
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-104/+104
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-14/+14
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-313/+319
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-98/+98
svn path=/trunk/; revision=21705
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-1/+1
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-151/+151
parameters as _U_ to reduce the number of compiler warnings. update some template and cnf files to use _U_ as well svn path=/trunk/; revision=21088
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-08-16ASN.1 dissectors regenerated with new asn2wrs to get updated field blurbTomas Kukosa1-98/+98
svn path=/trunk/; revision=18921
2006-05-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-3/+3
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs svn path=/trunk/; revision=18217
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2006-03-28Function should return a value.Jaap Keuter1-1/+1
svn path=/trunk/; revision=17752
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵Ronnie Sahlberg1-6/+7
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
2005-12-08Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.Guy Harris1-12/+15
svn path=/trunk/; revision=16736
2005-11-22Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=16561
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa1-7/+5
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
2005-11-03"dissect_cmp_http()" doesn't check for a valid packet (it doesn't needGuy Harris1-2/+2
to, it's selected by the media-type string, not something unreliable such as a port number), and doesn't return anything, so give it the right type and don't declare it as a "new-style" dissector. svn path=/trunk/; revision=16387
2005-10-26updates to CMPRonnie Sahlberg1-9/+202
implement the glue to dissect CMP oer TCP svn path=/trunk/; revision=16323
2005-09-02Regenerate dissectors with the current asn2eth.Guy Harris1-36/+64
svn path=/trunk/; revision=15664
2005-08-02Some warning fixes for "no previous declaration"Jörg Mayer1-1/+1
Remove svn:executable Add svn:eol-style native Add svn:keywords Id svn path=/trunk/; revision=15179