aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-08-01 21:36:50 -0700
committerGuy Harris <gharris@sonic.net>2020-08-02 04:38:58 +0000
commit5e1c01170405616f42c56b4a8571de10aef3fe31 (patch)
treebfc327182d959fa40812bd612b5c4a138c72b1c1 /epan/dissectors/packet-usb.c
parent688ba9c5f018de08e2bf8a2c9ec2099ba8841e06 (diff)
usb: fix comments.
Some of the fiels that are claimed to be in "host endian byte order" are also used for the Linux USB/IP protocol, where they're big-endian. Change-Id: I8e17d6d6e848ba9cd3465bb3b1debe385c522392 Reviewed-on: https://code.wireshark.org/review/38022 Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'epan/dissectors/packet-usb.c')
-rw-r--r--epan/dissectors/packet-usb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c
index 057848653f..c28ef6415f 100644
--- a/epan/dissectors/packet-usb.c
+++ b/epan/dissectors/packet-usb.c
@@ -5990,23 +5990,23 @@ proto_register_usb(void)
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
- { &hf_usb_iso_numdesc, /* host endian byte order */
+ { &hf_usb_iso_numdesc,
{ "Number of ISO descriptors", "usb.iso.numdesc",
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
/* fields of struct mon_bin_isodesc from linux/drivers/usb/mon/mon_bin.c */
- { &hf_usb_iso_status, /* host endian byte order */
+ { &hf_usb_iso_status,
{ "Status", "usb.iso.iso_status",
FT_INT32, BASE_DEC|BASE_EXT_STRING, &linux_negative_errno_vals_ext, 0x0,
"ISO descriptor status", HFILL }},
- { &hf_usb_iso_off, /* host endian byte order */
+ { &hf_usb_iso_off,
{ "Offset [bytes]", "usb.iso.iso_off",
FT_UINT32, BASE_DEC, NULL, 0x0,
"ISO data offset in bytes starting from the end of the last ISO descriptor", HFILL }},
- { &hf_usb_iso_len, /* host endian byte order */
+ { &hf_usb_iso_len,
{ "Length [bytes]", "usb.iso.iso_len",
FT_UINT32, BASE_DEC, NULL, 0x0,
"ISO data length in bytes", HFILL }},