diff options
Diffstat (limited to 'asn1/ulp/ulp.cnf')
-rw-r--r-- | asn1/ulp/ulp.cnf | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/asn1/ulp/ulp.cnf b/asn1/ulp/ulp.cnf index 0bc6c0e2b8..8798e6facf 100644 --- a/asn1/ulp/ulp.cnf +++ b/asn1/ulp/ulp.cnf @@ -67,6 +67,46 @@ guint32 UlpMessage; call_dissector(lpp_handle, lpp_tvb, %(ACTX)s->pinfo, tree); } +#.FN_BODY SETId/msisdn VAL_PTR=&msisdn_tvb + tvbuff_t *msisdn_tvb; +%(DEFAULT_BODY)s + if (msisdn_tvb) { + proto_tree *subtree; + + subtree = proto_item_add_subtree(actx->created_item, ett_ulp_setid); + dissect_e164_msisdn(msisdn_tvb, subtree, 0, 8, E164_ENC_BCD); + } + +#.FN_BODY SETId/mdn VAL_PTR=&mdn_tvb + tvbuff_t *mdn_tvb; +%(DEFAULT_BODY)s + if (mdn_tvb) { + proto_tree *subtree; + + subtree = proto_item_add_subtree(actx->created_item, ett_ulp_setid); + proto_tree_add_string(subtree, hf_ulp_mobile_directory_number, mdn_tvb, 0, 8, tvb_bcd_dig_to_wmem_packet_str(mdn_tvb, 0, 8, NULL, FALSE)); + } + +#.FN_BODY SETId/imsi VAL_PTR=&imsi_tvb + tvbuff_t *imsi_tvb; +%(DEFAULT_BODY)s + if (imsi_tvb) { + proto_tree *subtree; + + subtree = proto_item_add_subtree(actx->created_item, ett_ulp_setid); + dissect_e212_imsi(imsi_tvb, actx->pinfo, subtree, 0, 8, FALSE); + } + +#.FN_BODY ThirdPartyID/msisdn VAL_PTR=&msisdn_tvb + tvbuff_t *msisdn_tvb; +%(DEFAULT_BODY)s + if (msisdn_tvb) { + proto_tree *subtree; + + subtree = proto_item_add_subtree(actx->created_item, ett_ulp_thirdPartyId); + dissect_e164_msisdn(msisdn_tvb, subtree, 0, 8, E164_ENC_BCD); + } + #.FN_BODY ThirdPartyID/sip-uri # asn2wrs does not handle '%' in the restricted string ( Has to be there twice) offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index, @@ -77,13 +117,22 @@ guint32 UlpMessage; offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index, 1, 255, FALSE, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:./-_~%%#@?", 72, NULL); +#.FN_BODY ThirdPartyID/mdn VAL_PTR=&mdn_tvb + tvbuff_t *mdn_tvb; +%(DEFAULT_BODY)s + if (mdn_tvb) { + proto_tree *subtree; + + subtree = proto_item_add_subtree(actx->created_item, ett_ulp_thirdPartyId); + proto_tree_add_string(subtree, hf_ulp_mobile_directory_number, mdn_tvb, 0, 8, tvb_bcd_dig_to_wmem_packet_str(mdn_tvb, 0, 8, NULL, FALSE)); + } + #.FN_BODY ThirdPartyID/uri # asn2wrs does not handle '%' in the restricted string ( Has to be there twice) offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index, 1, 255, FALSE, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./-_~%%#", 69, NULL); - #.TYPE_ATTR IPAddress/ipv4Address TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL IPAddress/ipv6Address TYPE = FT_IPv6 DISPLAY = BASE_NONE STRINGS = NULL |