Wireshark-bugs: [Wireshark-bugs] [Bug 9029] New: patch: (packet-scsi-osd.c) dissect additional O

Date: Sun, 11 Aug 2013 19:28:54 +0000
Bug ID 9029
Summary patch: (packet-scsi-osd.c) dissect additional OSD-2 service actions
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:

--
Dissect additional OSD-2 service actions (CREATE/REMOVE PARTITION, GET/SET
ATTRIBUTES, QUERY).

This patch adds support for some OSD-2 service actions, following the approach
described in bug 8832.

The implemented service actions are:   
 - CREATE PARTITION
 - REMOVE PARTITION
 - REMOVE COLLECTION
 - GET ATTRIBUTES
 - SET ATTRIBUTES
 - QUERY

The following service action codes was #defined
 - OSD_2_REMOVE_PARTITION    0x888c

The following trees were added 
 - ett_osd2_query_criteria_entry

The following fields were added:    
 - hf_scsi_osd2_remove_scope (REMOVE PARTITION)
 - hf_scsi_osd2_immed_tr (QUERY)
 - hf_scsi_osd2_matches_collection_object_id (QUERY)
 - hf_scsi_osd2_query_type (query list CDB continuation descriptor)
 - hf_scsi_osd2_query_entry_length (query list CDB continuation descriptor)
 - hf_scsi_osd2_query_attributes_page (query list CDB continuation descriptor)
 - hf_scsi_osd2_query_attribute_number (query list CDB continuation descriptor)
 - hf_scsi_osd2_query_minimum_attribute_value_length (query list CDB
continuation descriptor)*
 - hf_scsi_osd2_query_maximum_attribute_value_length (query list CDB
continuation descriptor)*
 * (dissection of the attribute value in query descriptors is not implemented
yet)

The following value_string arrays were added:
 - scsi_osd2_remove_scope_val (OSD2r4 Table 143)
 - scsi_osd2_query_type_vals (OSD2r4 Table 75)

The following value_string arrays were updated:        
 - scsi_osd_svcaction_vals
 - scsi_osd2_object_descriptor_format_val

The following functions were added:     
 - dissect_osd2_query
 - dissect_osd2_query_list_descriptor (dissect CDB continuation descriptor type
0x0002)

The following expert_info fields were added:
 - ei_osd2_query_values_equal (PI_PROTOCOL,PI_NOTE) - the minimum and maximum
attribute values are equal in a query descriptor entry

Changes in dissect_osd2_cdb_continuation:
 - Dissect case 0x0002 

Changes in dissect_osd_*
 - Initialize extra_data->osd2
 - Dissect OSD-2 specific fields
 - Call dissect_osd_cdb_continuation_length / dissect_osd_cdb_continuation  (if
osd2)
 - Version-specific increment of offset after dissecting
capability/security_parameters


You are receiving this mail because:
  • You are watching all bug changes.