aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_cl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sualibrary/sua/sua_cl.h')
-rw-r--r--sualibrary/sua/sua_cl.h39
1 files changed, 28 insertions, 11 deletions
diff --git a/sualibrary/sua/sua_cl.h b/sualibrary/sua/sua_cl.h
index 6c32df3..ed9bdc7 100644
--- a/sualibrary/sua/sua_cl.h
+++ b/sualibrary/sua/sua_cl.h
@@ -15,7 +15,7 @@
* *
***************************************************************************/
/*
- * $Id: sua_cl.h,v 1.1.1.1 2002/02/04 14:30:41 p82609 Exp $
+ * $Id: sua_cl.h,v 1.2 2002/03/01 12:57:38 p82609 Exp $
*
* SUA implementation according to SUA draft issue 6.
*
@@ -44,7 +44,9 @@
* Contact: gery.verwimp@siemens.atea.be
* lode.coene@siemens.atea.be
*
- * Purpose: This header-file defines the SUA connectionless message handling:
+ * Purpose: This header-file defines the SUA connectionless message handling:
+ * - send a SUA message to SCTP
+ * - route/relay a received SUA msg towards to the correct SCTP association
* - send a Unitdata msg to remote node
* (- send a Unitdata Service msg to remote node)
* - Process a Unitdata msg
@@ -69,17 +71,32 @@
using namespace std;
-int sua_send_Unitdata(sccp_QOS_str &QOS,
- sccp_addr_str &called_pty_address,
- sccp_addr_str &calling_pty_address,
- char *buffer,
- unsigned int len
- );
+int sua_send_Message( signed int sctp_assoc_id,
+ short int sctp_stream_id,
+ int sctp_delivery_type,
+ unsigned int sctp_loadshare,
+ char *databuf,
+ unsigned int datalen
+ );
+
+int sua_route_Message( unsigned int sctp_assoc_id,
+ unsigned int local_sua_id,
+ Sua_container &msg,
+ sccp_addr_str &called_pty_address,
+ sccp_addr_str &calling_pty_address
+ );
+
+int sua_send_Unitdata( sccp_QOS_str &QOS,
+ sccp_addr_str &called_pty_address,
+ sccp_addr_str &calling_pty_address,
+ char *buffer,
+ unsigned int len
+ );
short process_unitdata_msg ( int local_sua_id,
- unsigned int sua_assoc_id,
- Sua_container &sua_msg
- );
+ unsigned int sua_assoc_id,
+ Sua_container &sua_msg
+ );
#endif // SUA_CL_H