File: changelog.html
Created: 2009-11-20
Author: Jonathan T. Leighton, (leighton@cis.udel.edu)
Description: Change log for NSPR SCTP patch
2009-12-07, Jon Leighton
Created separate patches for NSPR 4.7.6 and NSPR 4.8.2.
2009-12-04, Jon Leighton
All instances of 1to1 changed to one-to-one (only occurred in ptio.c).
Modified MD_SCTPSetSocketOption and MD_SCTPGetSocketOption in darwin.c, freebsd.c, linux.c and solaris.c to correctly handle sspp_addr in PR_SockOpt_SetPeerPrimaryAddr, spp_addr in PR_SockOpt_SetPrimAddr and sstat_primary in PR_SockOpt_Status.
2009-12-01, Jon Leighton
Removed all stream related variables from the PRFileDesc (prio.h), and PRFilePrivate
(primpl.h) data structures. Variables removed are:
PRUint16 | NumberOfSctStreams |
PRBool | ChangeStream |
PRInt32 | ThisSendOnStream |
PRInt32 | ThisRecvOnStream |
PRInt32 | NextRecvOnStream |
Renamed all SCTP related socket options. In most cases the "Sctp_" has been
removed, and in all cases all "_" (underscore) characters following "PR_SockOpt_"
have been removed.
These socket option names are now consistent with NSPR's pre-existing socket
option naming convention. PR_SockOpt_Sctp_NoDelay and
PR_SockOpt_Sctp_MaxSegment retain the "Sctp" portion of their name to
distinguish them from PR_SockOpt_NoDelay and PR_SockOpt_MaxSegment, which
operate at the IPPROTO_TCP level. PR_SockOpt_Sctp_NoDelay has been removed
since PR_SockOpt_NoDelay already exists and functions properly for SCTP sockets.
The following is a list of the renamed socket options:
PR_SockOpt_Sctp_Default_Send_Param | PR_SockOpt_DefaultSendParam | |
PR_SockOpt_Sctp_Use_Ext_RcvInfo | PR_SockOpt_UseExtRcvInfo | |
PR_SockOpt_Sctp_Events | PR_SockOpt_Events | |
PR_SockOpt_Sctp_InitMsg | PR_SockOpt_InitMsg | |
PR_SockOpt_Sctp_AssocInfo | PR_SockOpt_AssocInfo | |
PR_SockOpt_Sctp_NoDelay | PR_SockOpt_SctpNoDelay | |
PR_SockOpt_Sctp_MaxSegment | PR_SockOpt_SctpMaxSegment | |
PR_SockOpt_Sctp_Status | PR_SockOpt_Status | |
PR_SockOpt_Sctp_Set_Peer_Primary_Addr | PR_SockOpt_SetPeerPrimaryAddr | |
PR_SockOpt_Sctp_Set_Primary_Addr | PR_SockOpt_SetPrimaryAddr |
All instances of 1TO1 changed to ONE_TO_ONE, and all instances of 1To1 changed to OneToOne.
Changed from struct sockaddr_storage to PRNetAddr in PRSctp_PAddrIfno, PRSctp_SetPrim and PRSctp_SetPeerPrim.
2009-11-20, Jon Leighton
Removed sinfo_pr_policy from NSPR data structures (see pr/include/prsctp.h) on
all platforms. This member will not be in the final draft of the SCTP socket
API, and is only implmented on FreeBSD 7.x. Modifications only confirmed on
FreeBSD.
2009-10-18, Jon Leighton
Modified ptio.c:pt_Sctp_Recvmsg() to convert PR_MSG_PEEK to MSG_PEEK.