aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dec-dnart.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-21new_offset was was written to but never read.Jörg Mayer1-6/+0
svn path=/trunk/; revision=39966
2011-10-24fix Wunused-but-set-variable warnings.Anders Broman1-55/+19
svn path=/trunk/; revision=39533
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-5/+5
(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-5/+5
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-11Fix benign bugs wherein proto_tree_add_uint() was intended instead of ↵Bill Meier1-2/+2
proto_tree_add_item(); (Replaces changes made in SVN #39351). svn path=/trunk/; revision=39361
2011-10-10 Fix benign bugs in some proto_tree_add_item() 'encoding' args;Bill Meier1-1/+1
svn path=/trunk/; revision=39351
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-24/+24
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 svn path=/trunk/; revision=39288
2011-10-05Use ENC_NA as the proto_tree_add_item() encoding parameter for a field of ↵Bill Meier1-5/+2
type FT_BYTES; Fixes what appears to be a minor bug. svn path=/trunk/; revision=39270
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-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 svn path=/trunk/; revision=39260
2011-09-26Get rid of check_col, while at it set ENC.Anders Broman1-51/+44
svn path=/trunk/; revision=39149
2011-07-15Update URL addition in r37899 with an "original" site instead of a mirror.Stephen Fisher1-1/+1
svn path=/trunk/; revision=38054
2011-07-04Add a URL for DECnet Phase IV specifications.Guy Harris1-0/+6
svn path=/trunk/; revision=37899
2011-05-19For old times' sake: Fix bad dissection of Ethernet Router Hello Messages: ↵Bill Meier1-286/+280
Coverity 876 & 877 [UNUSED] svn path=/trunk/; revision=37275
2011-01-16Use tvb_ip_to_str().Jeff Morriss1-11/+8
There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s to ensure the return string is NULL terminated. svn path=/trunk/; revision=35545
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-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-6/+6
svn path=/trunk/; revision=34227
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32411
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-01-13From Didier Gautheron:Anders Broman1-6/+3
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-11-17Remove the address operator from value_string arrays fed to VALS()Gerasimos Dimitriadis1-9/+9
svn path=/trunk/; revision=30995
2009-09-23Don't col_clear(COL_PROTOCOL) followed by col_set_str(COL_PROTOCOL). A ↵Kovarththanan Rajaratnam1-1/+0
col_set_str() will clear (replace) any existing string (the fence still needs to be respected though) svn path=/trunk/; revision=30090
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-51/+13
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-26/+26
(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-16/+11
svn path=/trunk/; revision=27983
2008-12-17Fix typos and spelling (mostly in text strings) Bill Meier1-1/+1
svn path=/trunk/; revision=27028
2008-06-27Fix some warnings reported by gcc -Wshadow ... Bill Meier1-14/+14
Fix some spacing in packet-dcom.c svn path=/trunk/; revision=25618
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-13/+13
- 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-07-17fix a leakLuis Ontanon1-6/+1
svn path=/trunk/; revision=22343
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesSebastien Tandel1-11/+0
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 svn path=/trunk/; revision=21431
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵Ronnie Sahlberg1-1/+2
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-11-07Fix an ftsanity.py error.Gerald Combs1-1/+1
svn path=/trunk/; revision=16429
2005-11-07Martin Hill has examined packet-dec-dnart.c and found some errors and made ↵Anders Broman1-467/+508
some improvements. svn path=/trunk/; revision=16418
2005-10-28Fix the bit mask for dec_dna.ctl.router_state. This should fix theGerald Combs1-172/+172
"check ftsanity.py output" error in Buildbot. Fix up whitespace. svn path=/trunk/; revision=16349
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-2/+2
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-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
2005-07-26From fred hoekstraRonnie Sahlberg1-0/+1579
New protocol: DEC DNA Routing protocol svn path=/trunk/; revision=15078