DOCSIS: Requested bytes in request frame is in units of N bytes, where N is a service flow specific multiplier.

Change-Id: I5cd769bc170491215c25083420ec8b8b8d58c47f
Reviewed-on: https://code.wireshark.org/review/30069
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Bruno Verstuyft 2018-10-08 10:31:14 +02:00 committed by Anders Broman
parent 988b14ad72
commit bc2dd008ed
1 changed files with 3 additions and 3 deletions

View File

@ -659,11 +659,11 @@ dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* da
case FCTYPE_MACSPC:
if (fcparm == FCPARM_RQST_FRM)
col_add_fstr (pinfo->cinfo, COL_INFO,
"Request Frame SID = %u Mini Slots = %u", len_sid,
"Request Frame SID=%u Mini Slots=%u", len_sid,
mac_parm);
else if (fcparm == FCPARM_QUEUE_DEPTH_REQ_FRM)
col_add_fstr (pinfo->cinfo, COL_INFO,
"Request Frame SID = %u Bytes Requested = %u", len_sid,
"Request Frame SID=%u, Requested Size=%uxN bytes", len_sid,
mac_parm);
else if (fcparm == FCPARM_FRAG_HDR)
col_set_str (pinfo->cinfo, COL_INFO, "Fragmented Frame");
@ -995,7 +995,7 @@ proto_register_docsis (void)
"Mini Slots Requested", HFILL}
},
{&hf_docsis_requested_size,
{"Bytes Requested", "docsis.ehdr.reqsize",
{"Requested bytes in units of N bytes, N a parameter of the service flow for which this request is being made", "docsis.ehdr.reqsize",
FT_UINT16, BASE_DEC, NULL, 0xFFFF,
NULL, HFILL}
},