Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This is a new check added to check_typed_item_calls.py --label
Ignoring cases where item type is FT_NONE, as fpr tjpse
text was appended that otherwise would lack a colon.
|
|
|
|
The "true" string in a struct true_false_string is used only if the bit
is set to 1, so "if set to logic 1" is redundant. Just have the strings
say, respectively, what significance the bit being on ("set to logic 1")
has and what signficance the bit being off ("set to logic 0") has.
Use active voice.
Change-Id: If1fe7b35a0c85dcdb40ac348ca23a0ac5e3dc1da
Reviewed-on: https://code.wireshark.org/review/37753
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Guy Harris <gharris@sonic.net>
|
|
Found by conflict check
Change-Id: Ic0348945b8519bc434bc5a10b5ed5951a7cdcb21
Reviewed-on: https://code.wireshark.org/review/37746
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
The static arrays are supposed to be arrays of const pointers to int,
not arrays of non-const pointers to const int.
Fixing that means some bugs (scribbling on what's *supposed* to be a
const array) will be caught (see packet-ieee80211-radiotap.c for
examples, the first of which inspired this change and the second of
which was discovered while testing compiles with this change), and
removes the need for some annoying casts.
Also make some of those arrays static while we're at it.
Update documentation and dissector-generator tools.
Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc
Reviewed-on: https://code.wireshark.org/review/37517
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Check is enabled by #ifdef ENABLE_CHECK_FILTER
Remaining issues found by this check are fixed here,
along with a documentation note that the entries
are checked in order and the first match is used.
The only issue not yet fixed is in packet-isup.c,
where the spec was not available to me.
Change-Id: Ife747cda9b91a265bc2b81ce0a53f55f3389919e
Reviewed-on: https://code.wireshark.org/review/36708
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
|
|
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PIP See Through On": 520093697 0x1f000001 -> 520093697 0x1f000001)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PIP SeeThrough Off": 520093696 0x1f000000 -> 520093696 0x1f000000)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Freeze PIP": 536870913 0x20000001 -> 536870913 0x20000001)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Resume After Freeze": 536870912 0x20000000 -> 536870912 0x20000000)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PC/TV Channel": 301989888 0x12000000 -> 301989988 0x12000064)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set Antenna Tuner Source": 285212672 0x11000000 -> 285212672 0x11000000)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set Cable Tuner Source": 285212673 0x11000001 -> 285212673 0x11000001)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Disable Internal Speaker": 553648129 0x21000001 -> 553648129 0x21000001)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Enable Internal Speaker": 553648128 0x21000000 -> 553648128 0x21000000)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Keyboard Disable": 385875969 0x17000001 -> 385875969 0x17000001)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Keyboard Enable": 385875968 0x17000000 -> 385875968 0x17000000)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PC/TV Brightness": 218103808 0xd000000 -> 218103908 0xd000064)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PC/TV Color": 251658240 0xf000000 -> 251658340 0xf000064)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PC/TV Contrast": 234881024 0xe000000 -> 234881124 0xe000064)
value_range_string error: Video/Audio Control Data (tn5250.vac_data) hidden by earlier entry (prev="Set PIP Location and Size": 0 0x0 -> 4294967295 0xffffffff) (this="Set PC/TV Tint": 268435456 0x10000000 -> 268461156 0x10006464)
value_range_string error: Data Field (tn5250.dfdpck_data_field) hidden by earlier entry (prev="Invalid Data Field Type": 0 0x0 -> 64 0x40) (this="Top Row Command Key Functions": 64 0x40 -> 64 0x40)
Change-Id: I3596fa1a62c6f0e7c115551be137162ddb6679a6
Reviewed-on: https://code.wireshark.org/review/36683
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
|
|
Fixed a few instances where fix were obvious, others are
less clear.
The check in proto.c is protected by ENABLE_CHECK_FILTER.
Change-Id: I4edee4e67bd53bbf2eb809d68c87983a7c5a66f3
Reviewed-on: https://code.wireshark.org/review/36645
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
|
|
Change all wireshark.org URLs to use https.
Fix some broken links while we're at it.
Change-Id: I161bf8eeca43b8027605acea666032da86f5ea1c
Reviewed-on: https://code.wireshark.org/review/34089
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
Make the time stamp precision a 4-bit bitfield, so, when combined with
the other bitfields, we have 32 bits. That means we put the flags at
the same structure level as the time stamp precision, so they can be
combined; that gets rid of an extra "flags." for references to the flags.
Put the two pointers next to each other, and after a multiple of 8 bytes
worth of other fields, so that there's no padding before or between them.
It's still not down to 64 bytes, which is the next lower power of 2, so
there's more work to do.
Change-Id: I6f3e9d9f6f48137bbee8f100c152d2c42adb8fbe
Reviewed-on: https://code.wireshark.org/review/31213
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
We don't use the addresses, and don't use the inbound port.
We also don't need a list of tn5250_conv_info_t's - they're allocated
with wmem, so they get freed when we're done with a file, and they're
attached to conversations, so we don't need a list to find them.
Change-Id: Id3b44fb11cf353d7d15a58938883f2460cf642a0
Reviewed-on: https://code.wireshark.org/review/26301
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a
Reviewed-on: https://code.wireshark.org/review/25756
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
This makes it easier to identify the simpler/common conversations
Change-Id: I7094f23e49156ee27f5f72c8e130308470f3e462
Reviewed-on: https://code.wireshark.org/review/24145
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
That removes most of the uses of the frame number field in the
frame_data structure.
Change-Id: Ie22e4533e87f8360d7c0a61ca6ffb796cc233f22
Reviewed-on: https://code.wireshark.org/review/13509
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
Change-Id: I8512cfa1d424f82a873a0e0e1d22c7b075fdd7f3
Reviewed-on: https://code.wireshark.org/review/13069
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c
Reviewed-on: https://code.wireshark.org/review/12485
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
Change-Id: Ifc8208e1b96e2a3bf297912500a5f252bfa8eed9
Reviewed-on: https://code.wireshark.org/review/12073
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
Change-Id: I8bc9af431e70243b05f4f0ce8c2b8ee451383788
Reviewed-on: https://code.wireshark.org/review/11463
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
Copy addresses with wmem-scope instead of (forced) seasonal scope. All existing instances were converted to wmem_file_scope, but the flexibility is there for other scopes.
Change-Id: I8e58837b9ef574ec7dd87e278470d7063ae8c1c2
Reviewed-on: https://code.wireshark.org/review/6564
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
fix also indent typo
Change-Id: I47ff84a6062a203e14b9dde420a1a2efd5b05fab
Reviewed-on: https://code.wireshark.org/review/6118
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
Fifth batch (packet-rtp.c -> end).
Will look at cleaning up and committing script afterwards.
Change-Id: I8ed61dc941d98d3f7259a9d1f74e214eb7b4bfa2
Reviewed-on: https://code.wireshark.org/review/6052
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
|
|
Specifically:
- Set packet.h to be the first wireshark #include after
config.h and "system" #includes.
packet.h added as an #include in some cases when missing.
- Remove some #includes included (directly/indirectly) in
packet.h. E.g., glib.h.
(Done only for those files including packet.h).
- As needed, move "system" #includes to be after config.h and
before wireshark #includes.
- Rework various #include file specifications for consistency.
- Misc.
Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95
Reviewed-on: https://code.wireshark.org/review/5923
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Bill Meier <wmeier@newsguy.com>
|
|
Change-Id: Ida9f7198d6e3ef7bab5d787883116600019180ec
Reviewed-on: https://code.wireshark.org/review/4963
Reviewed-by: Evan Huus <eapache@gmail.com>
|
|
exit the loop if dissect_unknown_data() returns 0
Change-Id: I681d170d4daf8efb06231790652ff7c941b46d89
Reviewed-on: https://code.wireshark.org/review/4882
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
|
|
Remove some trailing white space while we're at it.
Change-Id: If399077a799e24302640776760b4388687ecad4f
Reviewed-on: https://code.wireshark.org/review/4889
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
Add checks for too-short length fields.
Increment the offset after some proto_tree_add_item() calls to skip past
the item.
Make some other length calculations use the start of the item to which
the length applies, not the start of the *list* of items.
Fix a double-digit field to be 2 bytes long (as the documentation says
it is).
Add a comment about a field that isn't always present but that's
specified in a tn5250_add_hf_items() list.
Fix DEFINE PITCH TABLE to match what the documentation appears to say it
is.
Change-Id: Ibcdc580045c68e8d0d8f35011dfe72b9c245e157
Reviewed-on: https://code.wireshark.org/review/4888
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
Bug: 10596
Change-Id: I64509aa49fce4893dee4e7a74a560e09a98830f6
Reviewed-on: https://code.wireshark.org/review/4878
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Martin Kaiser <wireshark@kaiser.cx>
|
|
Change-Id: I1ad94654343e5a018a0b3159481d45ffb3a91263
Reviewed-on: https://code.wireshark.org/review/4363
Reviewed-by: Bill Meier <wmeier@newsguy.com>
|
|
Other minor cleanups while in the area.
Change-Id: I623d941e53128f169e55dfc629547b4221fa72fc
Reviewed-on: https://code.wireshark.org/review/4021
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
|
|
(Using sed : sed -i '/^ \* \$Id\$/,+1 d')
Fix manually some typo (in export_object_dicom.c and crc16-plain.c)
Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8
Reviewed-on: https://code.wireshark.org/review/497
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
svn path=/trunk/; revision=54095
|
|
svn path=/trunk/; revision=54079
|
|
- when the text parameter is constant col_add_str() and col_set_str() are equivalent but col_set_str() is faster.
- same for replace col_append_fstr and col_append_str
- remove col_clear() when it's redundant:
+ before a col_set/col_add if the dissector can't throw an exception.
- replace col_append() after a col_clear() with faster col_add... or col_set
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9344
svn path=/trunk/; revision=52948
|
|
Also; fix a few "set but not used" warnings.
svn path=/trunk/; revision=52780
|
|
svn path=/trunk/; revision=52591
|
|
svn path=/trunk/; revision=51979
|
|
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416
svn path=/trunk/; revision=48430
|
|
svn path=/trunk/; revision=48366
|
|
svn path=/trunk/; revision=45017
|
|
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
|
|
svn path=/trunk/; revision=40672
|
|
- proto_tree_add_bits_item
- proto_tree_add_bits_ret_val
- proto_tree_add_bitmask
- tvb_get_bits
- tvb_get_bits16
- tvb_get_bits24
- tvb_get_bits32
- tvb_get_bits64
svn path=/trunk/; revision=39539
|
|
svn path=/trunk/; revision=38283
|
|
svn path=/trunk/; revision=38282
|
|
make FT_STRING and FT_UINT_STRING handle string encodings.
Get rid of FT_EBCDIC in favor of FT_STRING with ENC_EBCDIC.
Add some URLs for DRDA.
Clean up some stuff in TN3270 and TN5250, including using ENC_ values
for proto_tree_add_item().
svn path=/trunk/; revision=37909
|
|
svn path=/trunk/; revision=37716
|
|
svn path=/trunk/; revision=35126
|
|
svn path=/trunk/; revision=34409
|
|
svn path=/trunk/; revision=32839
|