Subject: [Tsvwg] Some comments on draft-ietf-tsvwg-sctpsocket-03.txt

From: Sridhar Samudrala <[email-masked]>
Date: Mon, 25 Mar 2002 17:51:34 -0800 (PST)

Some comments on the SCTP sockets API draft

1) Sec 7.1.1 Retransmission Timeout Parameters (SCTP_RTOINFO)

The first paragraph in this section has the following statement.
   The peer address parameter is ignored for TCP style socket.

But there is no such parameter in the structure used with this socket
option. 

    struct sctp_rtoinfo {
        sctp_assoc_t          srto_assoc_id;
        uint32_t              srto_initial;
        uint32_t              srto_max;
        uint32_t              srto_min;
    }; 

Should the statement be
	The association id parameter is ignored for TCP style socket.

Or is the idea to allow RTO parameters to be settable on a per peer address 
basis.  If so, there should be a field 
	       struct sockaddr_storage srto_address;
to specify the peer address parameter. 

2) Sec 7.1.2 Association Parameters (SCTP_ASSOCINFO)

The second paragraph in this section also has the same statement as above.
In this case, i think the peer address parameter should be changed to
association id parameter. 

This socket option is referred as SCTP_ASSOCRTXINFO within this section and
in the Table of Contents. 

Thanks
Sridhar

_______________________________________________
tsvwg mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/tsvwg