Bill Meier
794757ae8f
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
...
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Bill Meier
94f36ca4ff
Use ENC_NA as encoding for proto_tree_add_item() calls which directly 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-10-04 22:44:31 +00:00
Anders Broman
fc447d3377
Get rid of check_col, while at it set ENC.
...
svn path=/trunk/; revision=39147
2011-09-26 09:01:17 +00:00
Chris Maynard
fb19d6ab0f
Since the call to proto_tree_add_text() was #if 0'd out, there's no need to assign the return value of tvb_new_subset to wlan_tvb. Actually, there's probably no need to call tvb_new_subset() in the first place, but for now let's just tackle the unused value warning and leave the FIXME for someone who knows more about this. Fixes Coverity CID 864.
...
svn path=/trunk/; revision=39055
2011-09-19 20:37:20 +00:00
Jörg Mayer
18735eaba5
Replace TRUE/FALSE with the new ENCAP stuff where appropriate
...
svn path=/trunk/; revision=38746
2011-08-26 17:02:33 +00:00
Stig Bjørlykke
27344a90fe
Removed some unneeded assignments.
...
Found by clang.
svn path=/trunk/; revision=36698
2011-04-18 15:29:25 +00:00
Guy Harris
a8bc4a0d13
Rename the routines that handle dissector tables with unsigned integer
...
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-12-20 05:35:29 +00:00
Jeff Morriss
33f116a46d
Restore pinfo->private_data after an exception was thrown by a subdissector.
...
This is necessary in case a subdissector had changed it but was unable to
restore it (due to the exception).
Remove check_col().
svn path=/trunk/; revision=34436
2010-10-08 17:48:22 +00:00
Kovarththanan Rajaratnam
99624329fa
Don't col_clear() followed by col_set_str(). A col_set_str() will clear (replace) any existing string (the fence still needs to be respected though)
...
svn path=/trunk/; revision=30086
2009-09-23 14:30:36 +00:00
Kovarththanan Rajaratnam
6110a96f68
Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Kovarththanan Rajaratnam
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Bill Meier
e344bc8f0f
Small revisions related to proto_reg_handoff ....
...
svn path=/trunk/; revision=26185
2008-09-12 16:52:01 +00:00
Anders Broman
1950ffc214
Apply the small performance enhancment patches for:
...
- 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-10-23 05:50:00 +00:00
Stephen Fisher
f002ac6db5
Fix various warnings
...
Move packet-cops.c out of clean dissectors due to a #define conflict
in the headers of net-snmp with our config.h
svn path=/trunk/; revision=21398
2007-04-13 00:50:23 +00:00
Jörg Mayer
50b6680fd7
One of the bytes in the cisco header is the channel number that
...
the AP received the frame.
svn path=/trunk/; revision=18790
2006-07-25 05:17:17 +00:00
Jörg Mayer
eb2e0d867d
Start declaring the proto_reg... functions to fix 'warning: no previous declaration'
...
svn path=/trunk/; revision=18691
2006-07-09 12:11:30 +00:00
Jörg Mayer
2c5f918366
New dissector for the cisco wireless ids communication protocol
...
(name invented by me, better suggenstions welcome).
svn path=/trunk/; revision=18671
2006-07-06 10:58:48 +00:00