diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-29 17:48:39 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-29 17:48:39 +0000 |
commit | 4a43e13976a49e84d0dcf238c87320e988ebf779 (patch) | |
tree | 7ae13aeea39b7133df02faf3f0b197084870a11c /epan/dissectors/packet-scsi.h | |
parent | 46416bddda65d44ae1f84b2f4518142d67329451 (diff) |
Use value_string_ext to access several "relatively large" value-strings.
svn path=/trunk/; revision=34689
Diffstat (limited to 'epan/dissectors/packet-scsi.h')
-rw-r--r-- | epan/dissectors/packet-scsi.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-scsi.h b/epan/dissectors/packet-scsi.h index a10113e362..f2284ab3fa 100644 --- a/epan/dissectors/packet-scsi.h +++ b/epan/dissectors/packet-scsi.h @@ -220,12 +220,13 @@ extern int hf_scsi_alloclen16; #define SHORT_FORM_VENDOR_SPECIFIC 0x01 #define LONG_FORM 0x06 #define EXTENDED_FORM 0x08 -#define SERVICE_READ_CAPACITY16 0x10 -#define SERVICE_READ_LONG16 0x11 +#define SERVICE_READ_CAPACITY16 0x10 +#define SERVICE_READ_LONG16 0x11 + extern const value_string service_action_vals[]; -extern const value_string scsi_asc_val[]; extern const value_string scsi_devid_codeset_val[]; extern const value_string scsi_devid_idtype_val[]; +extern value_string_ext scsi_asc_val_ext; /* These two defines are used to handle cases where data coming back from * the device is truncated due to a too short allocation_length specified @@ -241,7 +242,7 @@ extern const value_string scsi_devid_idtype_val[]; */ #define TRY_SCSI_CDB_ALLOC_LEN(pinfo, tvb, offset, length) \ { \ - volatile gboolean short_packet; \ + volatile gboolean short_packet; \ tvbuff_t *new_tvb; \ guint32 end_data_offset=0; \ \ |