aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tipc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-10Use val_to_str_const() where appropriate;wmeier1-24/+24
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44438 f5534014-38df-0310-8fa8-9805f1628bb7
2012-07-31Make it possible to configure TIPC over UDP ports.etxrab1-1/+29
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44155 f5534014-38df-0310-8fa8-9805f1628bb7
2012-06-28Update Free Software Foundation address.darkjames1-1/+1
(COPYING will be updated in next commit) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43536 f5534014-38df-0310-8fa8-9805f1628bb7
2012-06-20Use separate filters for the RTT found on a SACK and the RTT found on amorriss1-1/+1
DATA chunk: having them in both places is helpful when looking at the messages but having them separate is helpful when graphing the RTTs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43406 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-1/+1
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-16Do some conversions of proto_tree_add_item() 'encoding' arg.wmeier1-2/+2
(previously missed). 57 FT_BOOLEAN: FALSE-->ENC_BIG_ENDIAN 31 FT_BOOLEAN: TRUE-->ENC_LITTLE_ENDIAN 10 FT_BYTES: ENC_BIG_ENDIAN-->ENC_NA 1 FT_BYTES: ENC_LITTLE_ENDIAN-->ENC_NA 21 FT_BYTES: FALSE-->ENC_NA 2 FT_BYTES: TRUE-->ENC_NA 2 FT_IPXNET: ENC_BIG_ENDIAN-->ENC_NA 6 FT_IPv6: ENC_BIG_ENDIAN-->ENC_NA 1 FT_IPv6: FALSE-->ENC_NA 6 FT_NONE: ENC_BIG_ENDIAN-->ENC_NA 19 FT_NONE: FALSE-->ENC_NA 3 FT_NONE: TRUE-->ENC_NA 1 FT_STRING: ENC_BIG_ENDIAN-->ENC_ASCII|ENC_NA 1 FT_STRING: ENC_LITTLE_ENDIAN-->ENC_ASCII|ENC_NA 5 FT_STRING: FALSE-->ENC_ASCII|ENC_NA 1 FT_STRING: TRUE-->ENC_ASCII|ENC_NA 4 FT_STRINGZ: ENC_NA-->ENC_ASCII|ENC_NA 8 FT_STRINGZ: FALSE-->ENC_ASCII|ENC_NA 1 FT_INT32: FALSE-->ENC_BIG_ENDIAN 1 FT_INT32: TRUE-->ENC_LITTLE_ENDIAN 11 FT_UINT8: 0-->ENC_BIG_ENDIAN 111 FT_UINT8: FALSE-->ENC_BIG_ENDIAN 17 FT_UINT8: TRUE-->ENC_LITTLE_ENDIAN 1 FT_UINT16: 0-->ENC_BIG_ENDIAN 68 FT_UINT16: FALSE-->ENC_BIG_ENDIAN 18 FT_UINT16: TRUE-->ENC_LITTLE_ENDIAN 4 FT_UINT24: FALSE-->ENC_BIG_ENDIAN 70 FT_UINT32: FALSE-->ENC_BIG_ENDIAN 1 FT_UINT32: TRUE-->ENC_LITTLE_ENDIAN 4 FT_UINT64: FALSE-->ENC_BIG_ENDIAN 1 FT_UINT64: TRUE-->ENC_LITTLE_ENDIAN 1 FT_UINT_STRING: FALSE-->ENC_ASCII|ENC_BIG_ENDIAN git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39442 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵wmeier1-2/+2
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39426 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-141/+141
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39288 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-2/+2
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-18Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.wmeier1-5/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38085 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-10Remove some unneeded lines of code: Coverity 1063;wmeier1-8/+0
Also: remonve someunneeded #includes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37050 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.stig1-0/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35705 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-5/+5
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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.morriss1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34227 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-03Remove unneeded #include <stdio.h>wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32367 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-03Its convenient to be able to filter on mac-lte.ulsch or mac-lte.dlsch.martinm1-42/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32088 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-06Renamed some reassembled data texts.stig1-3/+3
Removed some check_col(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31809 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-02Introduce "Reassembled length" filter element for all protocols doingstig1-0/+7
reassembly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31767 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-04Register by name.etxrab1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30822 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringskrj1-4/+2
* Remove check_col guards git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30127 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-6/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29344 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29340 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-12Don't coerce a pointer to guint32 when pointing to a guint8.wmeier1-2/+3
Using that pointer will fetch the guint8 plus who knows what.... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29067 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-02Yin Sun:etxrab1-14/+10
tipc v1 improvement. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3381 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27932 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-20Fix various typos and spelling errors (mostly in text strings)wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27065 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-18Fix various typos and spelling errors (mostly in text strings)wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27050 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-26Fix for bug 3086:jake1-11/+11
Remove bitmask from FT_STRING fields, causing assert when printing. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26848 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-23Minor revision related to proto_reg_handoff ...wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26252 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-03Cleanup related to prefs & proto_reg_handoffwmeier1-4/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26128 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-08From Martin Peylo:etxrab1-4/+15
Show MTU discovery bytes in TIPC Link State messages http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2390 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24848 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-17From Martin Peylo:etxrab1-875/+907
dissect TIPC encapsulated in TCP http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2335 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24674 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-07Removed some "statement not reached" warnings.stig1-8/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24282 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-27From Martin Peylo:etxrab1-106/+476
Enhancement: - TIPC is available in a new version (1.7), adding/removing fields while keeping the same version number (2). Minor bugs: - In NAME_DISTRIBUTOR messages the origianting and destination node are switched. - The used size of BUNDLER messages payload is not calculated correctly when size%4=0, this leads to the wrong assumption that the message would be malformed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23291 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-17From Martin Peylo:stig1-22/+180
- reassembling of fragmented TIPCv2 messages - calling of heuristic subdissectors - multicast upper+lower bound header fields are now shown - corrects few typos in the comments in packet-tipc.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22889 f5534014-38df-0310-8fa8-9805f1628bb7
2007-06-25From Martin Peylo:etxrab1-12/+80
Changes are only for protocol version 2. The changes are: - dissect "TIPC Bundler Protocol" messages correctly - search for other dissectors which want to dissect encapsulated data according to the TIPC user or TIPC type of a message. The data dissection is difficult since a TIPC data message does not necessarily a "type" set. So for the moment - while TIPC is not widely used - just triggering for the user of a message will be sufficient for people looking into the TIPC protocol. - "Dissect TIPC data" in the preferences is now switched on by default - to show undissected data, the "data" dissector is now used. - corrected some typos git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22183 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesstandel1-1/+1
most have been tagged unused (few have been deleted if dissector has not been modified since a long time) move packet-ssl-utils.c to DISSECTOR_SRC git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21431 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-23fix some more warnings (type casts)ulfl1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21141 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-07As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t ↵etxrab1-1/+1
to static. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20062 f5534014-38df-0310-8fa8-9805f1628bb7
2006-11-23Show the header size as number of bytes.etxrab1-3/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19966 f5534014-38df-0310-8fa8-9805f1628bb7
2006-11-14From martin Peylo:etxrab1-8/+14
This patch changes the name of "Link Configuration" Packets to "Neighbour Discovery" - as preferred by the creator of TIPC - and shows the TIPC src/dst in the columns instead of the MAC address for those packages. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19887 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-29From Martin Peylo:etxrab1-485/+645
- dissection of TIPCv2 internal messages now shows all fields used according to the protocol spec - there should be no issues with the current protocol spec anymore - the info column is more concise and gives more details - some code beautifications git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19354 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-17From Martin Peylo:etxrab1-5/+49
Improve Infocolumn output. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19248 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-29Update a reference and a comment.etxrab1-32/+35
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18603 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-29From Martin Peylo:etxrab1-12/+23
Bug 978 TIPC: Malformed Packet when valid "Cluster Internal Connection Based Non-Routed Message Bug 979 TIPC: descriptions switched in dissected package Bug 980 TIPC: "Source Droppable" bit is missing in dissected message git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18602 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-09Make top_tree static. This allows ethereal to be built on Mac OS X.tuexen1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18113 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-29Squelch a compiler warning (for a problem that can't happen).guy1-26/+26
Fix up indentaton. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17760 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-07Dissect part of TIPCv2.etxrab1-116/+1153
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17503 f5534014-38df-0310-8fa8-9805f1628bb7