diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-06-11 15:47:50 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-06-11 15:47:50 +0000 |
commit | df07bfeba47ecf855594b85d22823039dca632ba (patch) | |
tree | 7ecc5a35710457fde1755253be63166479eea467 /epan/dissectors/packet-ip.h | |
parent | a923c28ede1dd921c324b1e6e65cf91fd3b4ff13 (diff) |
Create dscp_vals_ext value_str_ext (based upon dscp_vals); Use it as appropriate.
Also:
- use val_to_str_const() [instead of val_to_str()] in a few cases;
- do some trivial formatting cleanup.
svn path=/trunk/; revision=43204
Diffstat (limited to 'epan/dissectors/packet-ip.h')
-rw-r--r-- | epan/dissectors/packet-ip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ip.h b/epan/dissectors/packet-ip.h index cf0ae409da..7009c20abe 100644 --- a/epan/dissectors/packet-ip.h +++ b/epan/dissectors/packet-ip.h @@ -45,6 +45,7 @@ guint16 ip_checksum(const guint8 *ptr, int len); /* Export the DSCP value-string table for other protocols */ WS_VAR_IMPORT const value_string dscp_vals[]; +WS_VAR_IMPORT value_string_ext dscp_vals_ext; proto_item *add_ip_version_to_tree(proto_tree *tree, tvbuff_t *tvb, int offset); proto_item *add_ip_dscp_to_tree(proto_tree *tree, tvbuff_t *tvb, int offset); |