summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-05-05 23:59:35 +0200
committerHarald Welte <laforge@gnumonks.org>2012-05-05 23:59:35 +0200
commit0fbcc824f9563b33bccb64415f19856cf6810ac5 (patch)
treea53ab3e68dc9b18e28d3b52cb456a5994dce7b75
parent231ae0b993f48b670a5c38e78e4ed158b720072b (diff)
add some more M2UA related definitions
-rw-r--r--include/m2ua.hrl24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/m2ua.hrl b/include/m2ua.hrl
index 371ef46..38ca07a 100644
--- a/include/m2ua.hrl
+++ b/include/m2ua.hrl
@@ -75,6 +75,30 @@
% 18: unused
-define(M2UA_P_COM_CORREL_ID, 19).
+-define(M2UA_P_MAUP_STATE, 16#302).
+-define(M2UA_P_MAUP_ACTION, 16#306).
+-define(M2UA_P_MAUP_SEQN, 16#307).
+-define(M2UA_P_MAUP_RESULT, 16#308).
+
+% Section 3.3.1.5
+-define(M2UA_MAUP_S_LPO_SET, 0).
+-define(M2UA_MAUP_S_LPO_CLEAR, 1).
+-define(M2UA_MAUP_S_EMER_SET, 2).
+-define(M2UA_MAUP_S_EMER_CLEAR, 3).
+-define(M2UA_MAUP_S_FLUSH_BUFFERS, 4).
+
+% Section 3.3.1.7 State Indication
+-define(M2UA_MAUP_SI_RPO_ENTER, 1).
+-define(M2UA_MAUP_SI_RPO_EXIT, 2).
+-define(M2UA_MAUP_SI_LPO_ENTER, 3).
+-define(M2UA_MAUP_SI_LPO_EXIT, 4).
+
+
+% Section 3.3.1.9 Retrieval Request
+-define(M2UA_MAUP_ACT_RTRV_BSN, 1).
+-define(M2UA_MAUP_ACT_RTRV_MSGS, 2).
+
+
-record(m2ua_msg, {
msg_class :: 0..255,
msg_type :: 0..255,