001    package dk.i1.sctp;
002    
003    public class sctp_initmsg {
004            /**This is an integer number representing the number of streams that the
005             *application wishes to be able to send to.  This number is confirmed
006             *in the SCTP_COMM_UP notification and must be verified since it is a
007             *negotiated number with the remote endpoint.  The default value of 0
008             *indicates to use the endpoint default value.
009             */
010            public short sinit_num_ostreams;
011            /**This value represents the maximum number of inbound streams the
012             *application is prepared to support.  This value is bounded by the
013             *actual implementation.  In other words the user MAY be able to
014             *support more streams than the Operating System.  In such a case, the
015             *Operating System limit overrides the value requested by the user.
016             *The default value of 0 indicates to use the endpoints default value.
017            */
018            public short sinit_max_instreams;
019            /**This integer specifies how many attempts the SCTP endpoint should
020             *make at resending the INIT.  This value overrides the system SCTP
021             *'Max.Init.Retransmits' value.  The default value of 0 indicates to
022             *use the endpoints default value.  This is normally set to the
023             *system's default 'Max.Init.Retransmit' value.
024            */
025            public short sinit_max_attempts;
026            /**This value represents the largest Time-Out or RTO value (in
027             *milliseconds) to use in attempting an INIT.  Normally the 'RTO.Max'
028             *is used to limit the doubling of the RTO upon timeout.  For the INIT
029             *message this value MAY override 'RTO.Max'.  This value MUST NOT
030             *influence 'RTO.Max' during data transmission and is only used to
031             *bound the initial setup time.  A default value of 0 indicates to use
032             *the endpoints default value.  This is normally set to the system's
033             *'RTO.Max' value (60 seconds).
034            */
035            public short sinit_max_init_timeo;
036    }