summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-17 09:00:11 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-17 09:00:11 +0100
commitd174b00d78704ee01cb1925944588da3682c304a (patch)
tree0b058faa59355b0ac944646a37694f466dd1fd7a
parent26bdef27ddc68be80e838e25a3b6f764719e8f87 (diff)
add define()s for default port numbers and official PPIDs
-rw-r--r--include/m2pa.hrl1
-rw-r--r--include/m2ua.hrl2
-rw-r--r--include/m3ua.hrl3
-rw-r--r--include/sua.hrl3
4 files changed, 9 insertions, 0 deletions
diff --git a/include/m2pa.hrl b/include/m2pa.hrl
index 959133d..e5b650c 100644
--- a/include/m2pa.hrl
+++ b/include/m2pa.hrl
@@ -18,6 +18,7 @@
% along with this program. If not, see <http://www.gnu.org/licenses/>.
-define(M2PA_PPID, 5).
+-define(M2PA_PORT 3565).
% Section 2.1.3
-define(M2PA_CLASS_M2PA, 11).
diff --git a/include/m2ua.hrl b/include/m2ua.hrl
index c43884b..ce9d9e5 100644
--- a/include/m2ua.hrl
+++ b/include/m2ua.hrl
@@ -1,3 +1,5 @@
+-define(M2UA_PPID, 2).
+-define(M2UA_PORT, 2904).
% RFC 3331 Section 3.1.3 Message Class
-define(M2UA_MSGC_MGMT, 0). % Management Messages [IUA/M2UA/M3UA/SUA]
diff --git a/include/m3ua.hrl b/include/m3ua.hrl
index a5973a7..277d32d 100644
--- a/include/m3ua.hrl
+++ b/include/m3ua.hrl
@@ -1,5 +1,8 @@
% M3UA in accordance with RFC4666 (http://tools.ietf.org/html/rfc4666)
+-define(M3UA_PPID, 3).
+-define(M3UA_PORT, 2905).
+
-define(M3UA_MSGC_MGMT, 0). % Management
-define(M3UA_MSGC_TRANSFER, 1). % Transfer
-define(M3UA_MSGC_SSNM, 2). % SS7 Signalling Network Management
diff --git a/include/sua.hrl b/include/sua.hrl
index c9383e7..87341f9 100644
--- a/include/sua.hrl
+++ b/include/sua.hrl
@@ -17,6 +17,9 @@
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
+-define(SUA_PPID, 4).
+-define(SUA_PORT, 14001).
+
% 3.1.2 Message Classes
-define(SUA_MSGC_MGMT, 0).
-define(SUA_MSGC_SNM, 2).