summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-clnp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-08packet_info's in_error_pkt is now a bitfield like in_gre_pkt.Chris Maynard1-3/+3
svn path=/trunk/; revision=39764
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-09-26Get rid of check_col, while at it set ENC.Anders Broman1-11/+8
svn path=/trunk/; revision=39147
2011-04-27Comment out some unused code;Bill Meier1-165/+167
Use #if 0/#endif to comment out some code instead of using /* */; Use consistent indentation & do some whitespace cleanup. svn path=/trunk/; revision=36914
2011-04-27From Yaniv Kaul:Bill Meier1-4/+0
Some fixes for 'set but not used' errors that GCC 4.6 emits. svn path=/trunk/; revision=36912
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+6
svn path=/trunk/; revision=35705
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-3/+3
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-11-04Corrected pointer types to avoid warnings from clang.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34773
2010-02-03Changed "reassembled_length" -> "reassembled.length".Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31776
2010-02-02Added protocol name to "Reassembled length" text.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31774
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-1/+7
reassembly. svn path=/trunk/; revision=31767
2009-10-09From Didier Gautheron:Anders Broman1-4/+2
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 svn path=/trunk/; revision=30415
2009-09-30#include <epan/expert.h>, <epan/strutil.h>, <stdio.h> & etc not needed....Bill Meier1-5/+1
svn path=/trunk/; revision=30212
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=29446
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_INFO) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29342
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-14/+14
(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-07Use some default true_false_string's.Bill Meier1-5/+0
svn path=/trunk/; revision=27983
2008-12-19Back out r27047 and r27053.Gerald Combs1-0/+2
svn path=/trunk/; revision=27062
2008-12-18Update calls to proto_tree_add_bytes_format to reflect r27047.Gerald Combs1-2/+0
svn path=/trunk/; revision=27053
2008-08-26#include <emem.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26091
2008-07-15Move the OSI transport protocol dissectors (ISO 8073/ITU-T X.224Guy Harris1-1790/+9
connection-oriented transport protocol and ISO 8602/ITU-T X.234 connectionless transport protocol) out of packet-clnp.c into packet-isotp.c. svn path=/trunk/; revision=25746
2008-06-23Renamed some local variables to avoid name collisions.Stig Bjørlykke1-6/+6
svn path=/trunk/; revision=25565
2008-05-15Fix some of the Errors/warnings detected by checkapi.Bill Meier1-12/+17
svn path=/trunk/; revision=25305
2008-03-01Rewrote to use g_strlcpy and g_strlcat.Stig Bjørlykke1-3/+4
svn path=/trunk/; revision=24525
2008-02-07Removed even more "statement not reached" warnings.Stig Bjørlykke1-12/+0
svn path=/trunk/; revision=24286
2008-02-02Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).Stig Bjørlykke1-3/+3
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24249
2007-11-08Apply yet another set of the optimization patches:Anders Broman1-1/+1
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length(). non heuristic dissectors svn path=/trunk/; revision=23405
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-08-08add pinfo fields clnp_srcref and clnp_dstref to the clnp dissector, similar ↵Ulf Lamping1-16/+18
to the srcport / destport already existing. As simply using srcport / destport for this will confuse mixed protocol usage (like RFC1006 ISOonTCP), I've added explicit clnp fields. This way, protocols on top of COTP / CLNP have at least a chance to do reassembling correct. svn path=/trunk/; revision=22473
2007-07-23show the number of fragment bytes in the info columnUlf Lamping1-7/+13
svn path=/trunk/; revision=22384
2007-06-24This patch fixes reassembly when receiving a SES MINOR SYNC POINT and aGraeme Lunt1-26/+42
COTP DT Data (class 1) fragment in the same frame. Also added the generated dst_ref and a reference to the "COTP segment data" to the tree. svn path=/trunk/; revision=22173
2006-09-08Move the code to handle ISO protocols over TCP/TPKT to packet-osi.c where it ↵Anders Broman1-46/+14
belongs. svn path=/trunk/; revision=19180
2006-08-30Remove debugcode left by mistake...Anders Broman1-2/+0
svn path=/trunk/; revision=19083
2006-08-29Add CLNP over TCP over TPKT dissection. The port number is by default set to 0.Anders Broman1-14/+48
svn path=/trunk/; revision=19082
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-01-28Fix missing brackets in if statement.Guy Harris1-1/+2
svn path=/trunk/; revision=17112
2006-01-18Add option presentation, solving bug 697Jaap Keuter1-3/+5
svn path=/trunk/; revision=17052
2006-01-16done:Jörg Mayer1-7/+11
packet-ntp.c: Rather confused and incorrect use of g_snprintf return value packet-pim.c: whitespace change packet-icmpv6.c: g_snprintf takes trailing \0 into account, fix off by 1 error packet-clnp.c: Fix incorrect use of g_snprintf return value packet-isakmp.c: g_snprintf takes trailing \0 into account packet-tr.c: Fix incorrect use of g_snprintf return value packet-radius.c: Fix incorrect use of g_snprintf return value packet-radius.h: constify a string variable packet-ldap.c: The return value isn't needed, so don't use it incorrectly packet-tcp.c: Fix incorrect use of g_snprintf return value packet-windows-common.c: Remove unneeded DISSECTOR_ASSERT packet-smb-sidsnooping.c: g_snprintf takes trailing \0 into account packet-pvfs2.c: g_snprintf takes trailing \0 into account packet-ptp.c: Remove #include snprintf packet-ppp.c: Fix incorrect use of g_snprintf return value packet-ospf.c: Fix incorrect use of g_snprintf return value packet-mip6.c: snprintf -> g_snprintf packet-bootp.c: Remove a commented out bad use of g_snprintf packet-ber.c: snprintf -> g_snprintf, g_snprintf takes trailing \0 into account 2do: 52 packet-ieee80211.c: 2DO 2 packet-nfs.c: 2DO - too many side effects 33 packet-bgp.c: 2DO 18 packet-dns.c: 2DO 14 packet-dcm.c: 2DO 13 packet-x11.c: 2DO 11 packet-kerberos.c: 2DO 10 packet-diameter.c: 2DO 9 packet-snmp.c: 2DO 9 packet-pgm.c: 2DO 7 packet-nbns.c: 2DO 6 packet-fcswils.c: 2DO 5 packet-wccp.c: 2DO 5 packet-cops.c: 2DO 4 packet-wtp.c: 2DO svn path=/trunk/; revision=17038
2006-01-15add COTP to fragment COL_INFO message, so the user knows where the fragment ↵Ulf Lamping1-2/+2
is coming from svn path=/trunk/; revision=17032
2005-12-16From Stig BRonnie Sahlberg1-1/+13
Patch for COTP reassembly. There does not seem to be any reasonable or cleaner way to fix COTP reassembly than adding the frame.[ch] patch. svn path=/trunk/; revision=16813
2005-11-05get rid of some strcatRonnie Sahlberg1-6/+5
svn path=/trunk/; revision=16396
2005-10-17Don't pass -1 as a fragment length to fragment_add_check(). This keepsGerald Combs1-20/+21
us from crashing and it keeps Valgrind from taunting us with ==29091== Warning: silly arg (-1) to malloc() Fixes bug 537. svn path=/trunk/; revision=16258
2005-09-28fix #480: Change defaults for all reassembling settings to ONUlf Lamping1-2/+2
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often. svn path=/trunk/; revision=16048
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-11Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=15761
2005-09-11I'm adding the "Expert Info" prototype now, as it seems to be in a state ↵Ulf Lamping1-4/+26
where others might have a look and probably already find it useful :-). Anyway, we can easily disable it at one or two places in the code if it get's in our way of a new release. Please see: http://wiki.ethereal.com/Development/ExpertInfo for a complete overview of the intended feature and it's current state of implementation. While I'm working on this, I've also added some more status result codes to the DCE/RPC and DCOM dissectors. svn path=/trunk/; revision=15754
2005-08-26show the list of reassembled COTP fragments as a toplevel tree item and show ↵Ulf Lamping1-2/+2
it only at the last packet (not in every packet involved) svn path=/trunk/; revision=15547
2005-08-26don't use -1 if the remaining length (the fragment length) is actually zero, ↵Ulf Lamping1-1/+2
this will throw an Exception svn path=/trunk/; revision=15542