add define()s for default port numbers and official PPIDs

This commit is contained in:
Harald Welte 2012-01-17 09:00:11 +01:00
parent 26bdef27dd
commit d174b00d78
4 changed files with 9 additions and 0 deletions

View File

@ -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).

View File

@ -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]

View File

@ -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

View File

@ -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).