forked from osmocom/wireshark
ASN.1 PER VisibleString support
svn path=/trunk/; revision=13085
This commit is contained in:
parent
3778ca99c1
commit
5b3af778d6
|
@ -413,6 +413,13 @@ dissect_per_PrintableString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, p
|
|||
return offset;
|
||||
}
|
||||
guint32
|
||||
dissect_per_VisibleString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len)
|
||||
{
|
||||
offset=dissect_per_restricted_character_string(tvb, offset, pinfo, tree, hf_index, min_len, max_len,
|
||||
" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", 95);
|
||||
return offset;
|
||||
}
|
||||
guint32
|
||||
dissect_per_BMPString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len)
|
||||
{
|
||||
guint32 length;
|
||||
|
|
|
@ -74,6 +74,8 @@ extern guint32 dissect_per_NumericString(tvbuff_t *tvb, guint32 offset, packet_i
|
|||
|
||||
extern guint32 dissect_per_PrintableString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len);
|
||||
|
||||
extern guint32 dissect_per_VisibleString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len);
|
||||
|
||||
extern guint32 dissect_per_BMPString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len);
|
||||
|
||||
extern guint32 dissect_per_constrained_sequence_of(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *parent_tree, int hf_index, gint ett_index, int (*func)(tvbuff_t *, int , packet_info *, proto_tree *), int min_len, int max_len);
|
||||
|
|
|
@ -148,6 +148,7 @@ dissect_per_restricted_character_string
|
|||
dissect_per_sequence
|
||||
dissect_per_sequence_of
|
||||
dissect_per_set_of
|
||||
dissect_per_VisibleString
|
||||
dissect_rpc_array
|
||||
dissect_rpc_bool
|
||||
dissect_rpc_bytes
|
||||
|
|
Loading…
Reference in New Issue