blob: 05731a453f948c70e2196e3a458fc469bd10e9eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# lnpdqp.cnf
# lnpdqp conformation file
#.OPT
#.END
#.PDU
ConnectionControlArg
ProvideInstructionArg
#.FN_BODY Digits VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
uint8_t type_of_dgt;
proto_tree *subtree;
type_of_dgt = tvb_get_uint8(tvb,offset);
switch(type_of_dgt){
case 2:
/* Calling Party Number */
hf_index = hf_lnpdqp_callingPartyANI;
break;
case 4:
/* Routing Number */
hf_index = hf_lnpdqp_networkRoutingNumber;
break;
case 7:
/* Local Access and Transport Area */
hf_index = hf_lnpdqp_originatingLATA;
break;
case 8:
/* Carrier */
hf_index = hf_lnpdqp_carrierID;
break;
default:
break;
}
%(DEFAULT_BODY)s
if (parameter_tvb){
subtree = proto_item_add_subtree(actx->created_item, ett_lnpdqp_digits);
dissect_lnpdqp_digits_type(parameter_tvb,actx->pinfo,subtree, actx);
}
#.TYPE_ATTR
OriginatingStationType TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(lnpdqp_OriginatingStationType_vals)
|