summaryrefslogtreecommitdiffstats
path: root/include/mtp3.hrl
blob: 22f4603b051ecd821d746c5ecaabcc69cd39c50b (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
-define(MTP3_NETIND_INTERNATIONAL,	0).
-define(MTP3_NETIND_NATIONAL,		2).

-define(MTP3_SERV_MGMT,		0).
-define(MTP3_SERV_MTN,		1).
-define(MTP3_SERV_SCCP,		3).
-define(MTP3_SERV_TUP,		4).
-define(MTP3_SERV_ISUP,		5).

-record(mtp3_routing_label, {
	sig_link_sel,
	origin_pc,
	dest_pc
	}).

-record(mtp3_msg, {
	network_ind,
	service_ind,
	routing_label,
	m3ua_mp,		% Message Priority, only in M3UA based msg
	payload
	}).

-record(mtp3mg_msg, {
	h0,
	h1,
	payload
	}).

-define(MTP3MG_H0_TEST, 1).

-define(MTP3MG_H1_SLTM,	1).
-define(MTP3MG_H1_SLTA,	2).