aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_distribution.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-09 20:57:43 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-09 20:57:43 +0200
commit3dc72b8cff16ffcc9babab9a9892befda44d8c4e (patch)
treef58253ec5c8a39d8215dacaf8a31297fbe5811e2 /sualibrary/sua/sua_distribution.h
parent7e7186ca00b33e9735c809ce200e310636006a22 (diff)
update to sualibrary-0.1.2 from 2002-11-26
* Contains Relaying functionality using hostnames. * Correct some bugs * Compiles and runs on Linux, FreeBSD, Max OS X .... * Tested on IPv4 and IPV6 networks * interoperable with other SUA implementations * corresponds to sua draft v13 * requires SCTP implementation sctplib-1.0.0-pre19 from www.sctp.de
Diffstat (limited to 'sualibrary/sua/sua_distribution.h')
-rw-r--r--sualibrary/sua/sua_distribution.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/sualibrary/sua/sua_distribution.h b/sualibrary/sua/sua_distribution.h
index f384f29..6a62f50 100644
--- a/sualibrary/sua/sua_distribution.h
+++ b/sualibrary/sua/sua_distribution.h
@@ -15,7 +15,7 @@
* *
***************************************************************************/
/*
- * $Id: sua_distribution.h,v 1.1.1.1 2002/02/04 14:30:41 p82609 Exp $
+ * $Id: sua_distribution.h,v 1.2 2002/10/15 14:53:48 p82609 Exp $
*
* SUA implementation according to SUA draft issue 6.
*
@@ -89,12 +89,14 @@ typedef struct {
/***********************************************************************/
/* sctp_DataArriveNotif */
/***********************************************************************/
-void sctp_DataArriveNotif( unsigned int assoc_id,
- unsigned int stream_id,
- unsigned int len,
- unsigned int protocol_id,
- unsigned int unordered_flag,
- void * ulp_data_ptr
+void sctp_DataArriveNotif( unsigned int assoc_id,
+ unsigned int stream_id,
+ unsigned int len,
+ unsigned short streamSN,
+ unsigned int tsn,
+ unsigned int protocol_id,
+ unsigned int unordered_flag,
+ void * ulp_data_ptr
);
@@ -131,10 +133,11 @@ void sctp_CommunicationLostNotif( unsigned int assoc_id,
/* sctp_CommunicationUpNotif */
/***********************************************************************/
void* sctp_CommunicationUpNotif( unsigned int assoc_id,
- unsigned short status_event,
- int nr_of_dest_addr,
+ int status_event,
+ unsigned int nr_of_dest_addr,
unsigned short nr_of_input_streams,
unsigned short nr_of_output_streams,
+ int support_PRsctp,
void * ulp_data_ptr
);