static int hf_scsi_osd_get_attributes_allocation_length = -1;
static int hf_scsi_osd_get_attributes_list_length= -1;
static int hf_scsi_osd_get_attributes_list_offset= -1;
-static int hf_scsi_osd_retreived_attributes_offset = -1;
+static int hf_scsi_osd_retrieved_attributes_offset = -1;
static int hf_scsi_osd_set_attributes_page = -1;
static int hf_scsi_osd_set_attribute_length = -1;
static int hf_scsi_osd_set_attribute_number = -1;
guint32 get_list_length;
guint32 get_list_offset;
guint32 get_list_allocation_length;
- guint32 retreived_list_offset;
+ guint32 retrieved_list_offset;
guint32 set_list_length;
guint32 set_list_offset;
} al;
static const value_string attributes_list_type_vals[] = {
- {0x01, "Retreive attributes for this OSD object"},
- {0x09, "Retreive/Set attributes for this OSD object"},
- {0x0f, "Retreive attributes for a CREATE command"},
+ {0x01, "Retrieve attributes for this OSD object"},
+ {0x09, "Retrieve/Set attributes for this OSD object"},
+ {0x0f, "Retrieve attributes for a CREATE command"},
{0,NULL}
};
offset+=8;
/* fallthrough to the next case */
- case 0x09: /* retreived/set attributes 7.1.3.3 */
+ case 0x09: /* retrieved/set attributes 7.1.3.3 */
/* attributes page */
page=tvb_get_ntohl(tvb, offset);
proto_tree_add_item(tree, hf_scsi_osd_attributes_page, tvb, offset, 4, 0);
offset+=4;
proto_tree_add_item(tree, hf_scsi_osd_get_attributes_allocation_length, tvb, offset, 4, 0);
offset+=4;
- proto_tree_add_item(tree, hf_scsi_osd_retreived_attributes_offset, tvb, offset, 4, 0);
+ proto_tree_add_item(tree, hf_scsi_osd_retrieved_attributes_offset, tvb, offset, 4, 0);
offset+=4;
proto_tree_add_item(tree, hf_scsi_osd_set_attributes_page, tvb, offset, 4, 0);
offset+=4;
offset+=4;
/* 4.12.5 */
- extra_data->u.al.retreived_list_offset=tvb_get_ntohl(tvb, offset);
- extra_data->u.al.retreived_list_offset=(extra_data->u.al.retreived_list_offset&0x0fffffff)<<((extra_data->u.al.retreived_list_offset>>28)&0x0f);
- extra_data->u.al.retreived_list_offset<<=8;
- proto_tree_add_uint(tree, hf_scsi_osd_retreived_attributes_offset, tvb, offset, 4, extra_data->u.al.retreived_list_offset);
+ extra_data->u.al.retrieved_list_offset=tvb_get_ntohl(tvb, offset);
+ extra_data->u.al.retrieved_list_offset=(extra_data->u.al.retrieved_list_offset&0x0fffffff)<<((extra_data->u.al.retrieved_list_offset>>28)&0x0f);
+ extra_data->u.al.retrieved_list_offset<<=8;
+ proto_tree_add_uint(tree, hf_scsi_osd_retrieved_attributes_offset, tvb, offset, 4, extra_data->u.al.retrieved_list_offset);
offset+=4;
proto_tree_add_item(tree, hf_scsi_osd_set_attributes_list_length, tvb, offset, 4, 0);
break;
case 3: /* 5.2.2.3 attribute list */
if(extra_data->u.al.get_list_allocation_length){
- dissect_osd_attributes_list(pinfo, tvb, extra_data->u.al.retreived_list_offset, tree);
+ dissect_osd_attributes_list(pinfo, tvb, extra_data->u.al.retrieved_list_offset, tree);
}
break;
}
{ &hf_scsi_osd_get_attributes_allocation_length,
{"Get Attributes Allocation Length", "scsi.osd.get_attributes_allocation_length", FT_UINT32, BASE_HEX,
NULL, 0x0, "", HFILL}},
- { &hf_scsi_osd_retreived_attributes_offset,
- {"Retreived Attributes Offset", "scsi.osd.retreived_attributes_offset", FT_UINT32, BASE_HEX,
+ { &hf_scsi_osd_retrieved_attributes_offset,
+ {"Retrieved Attributes Offset", "scsi.osd.retrieved_attributes_offset", FT_UINT32, BASE_HEX,
NULL, 0x0, "", HFILL}},
{ &hf_scsi_osd_set_attributes_page,
{"Set Attributes Page", "scsi.osd.set_attributes_page", FT_UINT32, BASE_HEX,