summaryrefslogtreecommitdiffstats
path: root/include/m2ua.hrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-04-21 12:20:36 +0200
committerHarald Welte <laforge@gnumonks.org>2011-04-21 12:20:36 +0200
commited338daa87ccfa103cd93f9fc0645f3e7d4a81ea (patch)
treeec65ecbfd3f40a659c5c1f15c29e2a38cc9596e4 /include/m2ua.hrl
parent9abbbade02668a890b2fbc51df05a00e5dce0c5c (diff)
M2UA: add some more parameter type definitions
Diffstat (limited to 'include/m2ua.hrl')
-rw-r--r--include/m2ua.hrl23
1 files changed, 22 insertions, 1 deletions
diff --git a/include/m2ua.hrl b/include/m2ua.hrl
index 26f10fc..e3bea0e 100644
--- a/include/m2ua.hrl
+++ b/include/m2ua.hrl
@@ -30,7 +30,6 @@
-define(M2UA_MAUP_MSGT_CONG_IND, 14).
-define(M2UA_MAUP_MSGT_DATA_ACK, 15).
-
-define(M2UA_ASPSM_MSGT_UP, 0).
-define(M2UA_ASPSM_MSGT_DOWN, 1).
-define(M2UA_ASPSM_MSGT_BEAT, 2).
@@ -51,6 +50,28 @@
-define(M2UA_MGMT_IIM_DEREG_REQ, 3).
-define(M2UA_MGMT_IIM_DEREG_RSP, 4).
+% RFC 3331 Section 3.1.6 Common Parameter Tags
+% 0: reserved
+-define(M2UA_P_COM_INTF_ID_INT, 1).
+% 2: unused
+-define(M2UA_P_COM_INTF_ID_TEXT, 3).
+-define(M2UA_P_COM_INFO_STRING, 4).
+% 5: unused
+% 6: unused
+-define(M2UA_P_COM_DIAG_INFO, 7).
+-define(M2UA_P_COM_INTF_ID_INT_RANGE, 8).
+-define(M2UA_P_COM_HEARTB_DATA, 9).
+% 10: unused
+-define(M2UA_P_COM_TRAF_MODE_T, 11).
+-define(M2UA_P_COM_ERR_CODE, 12).
+-define(M2UA_P_COM_STATUS_T, 13).
+% 14: unused
+% 15: unused
+% 16: unused
+-define(M2UA_P_COM_ASP_ID, 17).
+% 18: unused
+-define(M2UA_P_COM_CORREL_ID, 19).
+
-record(m2ua_msg, {
msg_class,
msg_type,