aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-3com-njack.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-5/+5
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-08-10General cleanup:Bill Meier1-128/+128
- remove 'if (tree)' * col_...() shouldn't be called under 'if (tree)'; * new-style dissector should alwyas return same 'bytes dissected' (independent of 'if (tree)'); - create/use extended value string; - Use consistent indentation; svn path=/trunk/; revision=44414
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-15Rename crypt-xxx to xxxJörg Mayer1-1/+1
svn path=/trunk/; revision=40511
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.Bill Meier1-1/+1
(Some minor whitespace cleanup). svn path=/trunk/; revision=39488
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-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). svn path=/trunk/; revision=39426
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-4/+4
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 svn path=/trunk/; revision=39260
2011-08-26Replace TRUE/FALSE with the new ENCAP stuff where appropriateJörg Mayer1-27/+27
svn path=/trunk/; revision=38746
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
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-03-03remove check_colAnders Broman1-2/+1
svn path=/trunk/; revision=32089
2009-11-17Remove the address operator from value_string arrays fed to VALS()Gerasimos Dimitriadis1-8/+8
svn path=/trunk/; revision=30995
2009-09-25Upon 2nd thought: revert removal of 'if (check_col(...))' around ↵Bill Meier1-1/+2
col_add_fstr & etc. svn path=/trunk/; revision=30133
2009-09-24Minor changes: Bill Meier1-11/+7
- check_col no longer req'd; - use tvb_strncaseeql instead of tvb_get_ptr & etc; - Change if (guint > 0) to if (guint != 0). svn path=/trunk/; revision=30114
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-2/+2
(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-26Repleace "" by NULL in hf-array (inspired by commit 27851).Jörg Mayer1-22/+22
svn path=/trunk/; revision=27854
2008-12-19Revert the queueing --> queuing spelling changeBill Meier1-3/+3
svn path=/trunk/; revision=27057
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-3/+3
svn path=/trunk/; revision=27050
2008-12-17Fix typos and spelling (mostly in text strings) Bill Meier1-1/+1
svn path=/trunk/; revision=27028
2008-09-02Minor cleanup (mostly related to proto_reg_handoff...)Bill Meier1-6/+1
svn path=/trunk/; revision=26121
2008-08-14Fix a few typos & spelling errorsBill Meier1-1/+1
svn path=/trunk/; revision=26014
2008-04-09Remove:Anders Broman1-3/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24859
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-1/+5
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-10-15Implement some of the minor possible speed improvment patches.Anders Broman1-2/+2
svn path=/trunk/; revision=23192
2007-04-15Revert commit 21430 and use #if 0/#endif insteadJörg Mayer1-0/+62
svn path=/trunk/; revision=21440
2007-04-14get rid of unused variables (tfs, value_string)Sebastien Tandel1-58/+0
svn path=/trunk/; revision=21430
2007-01-02Move epan/crypt-md5.[ch] to epan/crypt. RemoveGerald Combs1-5/+5
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace. svn path=/trunk/; revision=20277
2006-08-21move a few arrays off the stackRonnie Sahlberg1-2/+5
svn path=/trunk/; revision=18972
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-2/+2
svn path=/trunk/; revision=18196
2006-04-30No C++/C99 comments, please (GCC warns about them in the SolarisGuy Harris1-3/+3
buildbot build, even though the code is #if 0'ed out). svn path=/trunk/; revision=18043
2006-02-05Change port define to something more readableJörg Mayer1-8/+8
svn path=/trunk/; revision=17159
2006-01-13Add code to verify the shared secret for documentation purposes.Jörg Mayer1-1/+52
#if 0 that code. svn path=/trunk/; revision=17026
2006-01-11set: The first 4 bytes seem to be the saltJörg Mayer1-25/+15
svn path=/trunk/; revision=17003
2005-12-26Backup time :-)Jörg Mayer1-15/+105
- Add packet types: query and query response - Add tlv types: snmptrap, coldstarttrap, linkdowntrap, linkuptrap, authfailtrap - Add comments to port settings svn path=/trunk/; revision=16897
2005-12-22- Add max frame sizeJörg Mayer1-33/+116
- Add port power forwarding - Some more field cleanups svn path=/trunk/; revision=16873
2005-12-21- Don't use numbers when there are enum valuesJörg Mayer1-32/+83
- Better nameing of tfs_ arrays - Name and dissect "version" field (previously unknown) - Name and dissect "add tag scheme" (previously unknown) - Add lots of comments about meanings in the port data - The first byte in the set command is probably some salt value svn path=/trunk/; revision=16871
2005-12-16Some updatesJörg Mayer1-220/+244
svn path=/trunk/; revision=16825
2005-12-13Escape question marks when they could be interpreted as part of aGuy Harris1-9/+9
trigraph. svn path=/trunk/; revision=16778
2005-12-12Convert to new style dissector (hopefully done right)Jörg Mayer1-13/+11
svn path=/trunk/; revision=16770
2005-12-12Dissect type 0x0c as 'remove tag' flagJörg Mayer1-0/+27
svn path=/trunk/; revision=16768
2005-12-12Dissect the management protocol between 3com Netjack200 devices and theJörg Mayer1-0/+485
Windows managment application. svn path=/trunk/; revision=16760