diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-03-25 22:04:23 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-03-25 22:04:23 +0000 |
commit | 99bbe55222bfc236b5eb38b097426a96e958f605 (patch) | |
tree | 27e619aebccf3bb9babb094a5d04c830fb546b8d /epan/dissectors/packet-h282.c | |
parent | 124533ce951e980be5bb7658e77bcbc1d33c4641 (diff) |
Make it possible to check for extension marker in SEQUENCE OF and SET OF.
Fore some reason the trace in bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3360 does not decode properly
if dissecting the exension marker so leave that code #if 0:ed out for now.
svn path=/trunk/; revision=27848
Diffstat (limited to 'epan/dissectors/packet-h282.c')
-rw-r--r-- | epan/dissectors/packet-h282.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/epan/dissectors/packet-h282.c b/epan/dissectors/packet-h282.c index 46c461981a..57159587eb 100644 --- a/epan/dissectors/packet-h282.c +++ b/epan/dissectors/packet-h282.c @@ -917,7 +917,7 @@ static int dissect_h282_SET_SIZE_0_127_OF_DeviceProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_SET_SIZE_0_127_OF_DeviceProfile, SET_SIZE_0_127_OF_DeviceProfile_set_of, - 0, 127); + 0, 127, FALSE); return offset; } @@ -931,7 +931,7 @@ static int dissect_h282_SET_SIZE_0_127_OF_StreamProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_SET_SIZE_0_127_OF_StreamProfile, SET_SIZE_0_127_OF_StreamProfile_set_of, - 0, 127); + 0, 127, FALSE); return offset; } @@ -1209,7 +1209,7 @@ static int dissect_h282_T_presetCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_presetCapability, T_presetCapability_set_of, - 0, 255); + 0, 255, FALSE); return offset; } @@ -1273,7 +1273,7 @@ static int dissect_h282_T_filterTextLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_filterTextLabel, T_filterTextLabel_set_of, - 0, 255); + 0, 255, FALSE); return offset; } @@ -1317,7 +1317,7 @@ static int dissect_h282_T_accessoryTextLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_accessoryTextLabel, T_accessoryTextLabel_set_of, - 0, 255); + 0, 255, FALSE); return offset; } @@ -1371,7 +1371,7 @@ static int dissect_h282_T_lightTextLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_lightTextLabel, T_lightTextLabel_set_of, - 0, 10); + 0, 10, FALSE); return offset; } @@ -1594,7 +1594,7 @@ static int dissect_h282_T_multiplierFactors(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_multiplierFactors, T_multiplierFactors_set_of, - 1, 64); + 1, 64, FALSE); return offset; } @@ -1608,7 +1608,7 @@ static int dissect_h282_T_divisorFactors(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_divisorFactors, T_divisorFactors_set_of, - 1, 64); + 1, 64, FALSE); return offset; } @@ -1672,7 +1672,7 @@ static int dissect_h282_T_availableDevices(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_availableDevices, T_availableDevices_set_of, - 2, 64); + 2, 64, FALSE); return offset; } @@ -1717,7 +1717,7 @@ static int dissect_h282_T_availableDevices_01(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_availableDevices_01, T_availableDevices_01_set_of, - 2, 64); + 2, 64, FALSE); return offset; } @@ -2552,7 +2552,7 @@ static int dissect_h282_T_inputDevices(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_T_inputDevices, T_inputDevices_set_of, - 2, 64); + 2, 64, FALSE); return offset; } @@ -4004,7 +4004,7 @@ static int dissect_h282_SET_SIZE_1_8_OF_ControlAttribute(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_SET_SIZE_1_8_OF_ControlAttribute, SET_SIZE_1_8_OF_ControlAttribute_set_of, - 1, 8); + 1, 8, FALSE); return offset; } @@ -4035,7 +4035,7 @@ static int dissect_h282_SET_SIZE_1_16_OF_StatusAttributeIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_SET_SIZE_1_16_OF_StatusAttributeIdentifier, SET_SIZE_1_16_OF_StatusAttributeIdentifier_set_of, - 1, 16); + 1, 16, FALSE); return offset; } @@ -4066,7 +4066,7 @@ static int dissect_h282_SET_SIZE_1_16_OF_StatusAttribute(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_SET_SIZE_1_16_OF_StatusAttribute, SET_SIZE_1_16_OF_StatusAttribute_set_of, - 1, 16); + 1, 16, FALSE); return offset; } @@ -4197,7 +4197,7 @@ static int dissect_h282_SET_SIZE_1_8_OF_DeviceEvent(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h282_SET_SIZE_1_8_OF_DeviceEvent, SET_SIZE_1_8_OF_DeviceEvent_set_of, - 1, 8); + 1, 8, FALSE); return offset; } |