commit | 1fbcd1c88b12b5527bd0ddf9b7e7c9e106f79b59 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat Jan 15 20:51:53 2011 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Jan 15 20:51:53 2011 +0100 |
tree | ef731bde407bd4446d27ddec9307d67ba53c2f59 | |
parent | 1f6a0358908984cb55b3ecc881763f9d3bd67115 [diff] [blame] |
Add some simplistic MTP3 parsing/encoding functions
diff --git a/src/mtp3.hrl b/src/mtp3.hrl new file mode 100644 index 0000000..53025a7 --- /dev/null +++ b/src/mtp3.hrl
@@ -0,0 +1,21 @@ + +-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, + payload + }). + +