sctp.h   sctp.h 
skipping to change at line 98 skipping to change at line 98
SCTP_EVENTS, SCTP_EVENTS,
#define SCTP_EVENTS SCTP_EVENTS #define SCTP_EVENTS SCTP_EVENTS
SCTP_I_WANT_MAPPED_V4_ADDR, /* Turn on/off mapped v4 addresses */ SCTP_I_WANT_MAPPED_V4_ADDR, /* Turn on/off mapped v4 addresses */
#define SCTP_I_WANT_MAPPED_V4_ADDR SCTP_I_WANT_MAPPED_V4_ADDR #define SCTP_I_WANT_MAPPED_V4_ADDR SCTP_I_WANT_MAPPED_V4_ADDR
SCTP_MAXSEG, /* Get/set maximum fragment. */ SCTP_MAXSEG, /* Get/set maximum fragment. */
#define SCTP_MAXSEG SCTP_MAXSEG #define SCTP_MAXSEG SCTP_MAXSEG
SCTP_STATUS, SCTP_STATUS,
#define SCTP_STATUS SCTP_STATUS #define SCTP_STATUS SCTP_STATUS
SCTP_GET_PEER_ADDR_INFO, SCTP_GET_PEER_ADDR_INFO,
#define SCTP_GET_PEER_ADDR_INFO SCTP_GET_PEER_ADDR_INFO #define SCTP_GET_PEER_ADDR_INFO SCTP_GET_PEER_ADDR_INFO
SCTP_DELAYED_ACK_TIME, SCTP_DELAYED_ACK,
#define SCTP_DELAYED_ACK_TIME SCTP_DELAYED_ACK_TIME #define SCTP_DELAYED_ACK_TIME SCTP_DELAYED_ACK
#define SCTP_DELAYED_ACK SCTP_DELAYED_ACK
SCTP_CONTEXT, /* Receive Context */ SCTP_CONTEXT, /* Receive Context */
#define SCTP_CONTEXT SCTP_CONTEXT #define SCTP_CONTEXT SCTP_CONTEXT
SCTP_FRAGMENT_INTERLEAVE, SCTP_FRAGMENT_INTERLEAVE,
#define SCTP_FRAGMENT_INTERLEAVE SCTP_FRAGMENT_INTERLEAVE #define SCTP_FRAGMENT_INTERLEAVE SCTP_FRAGMENT_INTERLEAVE
SCTP_PARTIAL_DELIVERY_POINT, /* Set/Get partial delivery point */ SCTP_PARTIAL_DELIVERY_POINT, /* Set/Get partial delivery point */
#define SCTP_PARTIAL_DELIVERY_POINT SCTP_PARTIAL_DELIVERY_POINT #define SCTP_PARTIAL_DELIVERY_POINT SCTP_PARTIAL_DELIVERY_POINT
SCTP_MAX_BURST, /* Set/Get max burst */ SCTP_MAX_BURST, /* Set/Get max burst */
#define SCTP_MAX_BURST SCTP_MAX_BURST #define SCTP_MAX_BURST SCTP_MAX_BURST
SCTP_AUTH_CHUNK, /* Set only: add a chunk type to authenticat */ SCTP_AUTH_CHUNK, /* Set only: add a chunk type to authenticat */
#define SCTP_AUTH_CHUNK SCTP_AUTH_CHUNK #define SCTP_AUTH_CHUNK SCTP_AUTH_CHUNK
skipping to change at line 122 skipping to change at line 123
SCTP_AUTH_KEY, SCTP_AUTH_KEY,
#define SCTP_AUTH_KEY SCTP_AUTH_KEY #define SCTP_AUTH_KEY SCTP_AUTH_KEY
SCTP_AUTH_ACTIVE_KEY, SCTP_AUTH_ACTIVE_KEY,
#define SCTP_AUTH_ACTIVE_KEY SCTP_AUTH_ACTIVE_KEY #define SCTP_AUTH_ACTIVE_KEY SCTP_AUTH_ACTIVE_KEY
SCTP_AUTH_DELETE_KEY, SCTP_AUTH_DELETE_KEY,
#define SCTP_AUTH_DELETE_KEY SCTP_AUTH_DELETE_KEY #define SCTP_AUTH_DELETE_KEY SCTP_AUTH_DELETE_KEY
SCTP_PEER_AUTH_CHUNKS, /* Read only */ SCTP_PEER_AUTH_CHUNKS, /* Read only */
#define SCTP_PEER_AUTH_CHUNKS SCTP_PEER_AUTH_CHUNKS #define SCTP_PEER_AUTH_CHUNKS SCTP_PEER_AUTH_CHUNKS
SCTP_LOCAL_AUTH_CHUNKS, /* Read only */ SCTP_LOCAL_AUTH_CHUNKS, /* Read only */
#define SCTP_LOCAL_AUTH_CHUNKS SCTP_LOCAL_AUTH_CHUNKS #define SCTP_LOCAL_AUTH_CHUNKS SCTP_LOCAL_AUTH_CHUNKS
SCTP_GET_ASSOC_NUMBER, /* Read only */
#define SCTP_GET_ASSOC_NUMBER SCTP_GET_ASSOC_NUMBER
/* Internal Socket Options. Some of the sctp library functions are /* Internal Socket Options. Some of the sctp library functions are
* implemented using these socket options. * implemented using these socket options.
*/ */
SCTP_SOCKOPT_BINDX_ADD = 100,/* BINDX requests for adding addresses. */ SCTP_SOCKOPT_BINDX_ADD = 100,/* BINDX requests for adding addresses. */
#define SCTP_SOCKOPT_BINDX_ADD SCTP_SOCKOPT_BINDX_ADD #define SCTP_SOCKOPT_BINDX_ADD SCTP_SOCKOPT_BINDX_ADD
SCTP_SOCKOPT_BINDX_REM, /* BINDX requests for removing addresses. */ SCTP_SOCKOPT_BINDX_REM, /* BINDX requests for removing addresses. */
#define SCTP_SOCKOPT_BINDX_REM SCTP_SOCKOPT_BINDX_REM #define SCTP_SOCKOPT_BINDX_REM SCTP_SOCKOPT_BINDX_REM
SCTP_SOCKOPT_PEELOFF, /* peel off association. */ SCTP_SOCKOPT_PEELOFF, /* peel off association. */
#define SCTP_SOCKOPT_PEELOFF SCTP_SOCKOPT_PEELOFF #define SCTP_SOCKOPT_PEELOFF SCTP_SOCKOPT_PEELOFF
skipping to change at line 636 skipping to change at line 639
* *
* This option will get or set the active shared key to be used to build * This option will get or set the active shared key to be used to build
* the association shared key. * the association shared key.
*/ */
struct sctp_authkeyid { struct sctp_authkeyid {
sctp_assoc_t scact_assoc_id; sctp_assoc_t scact_assoc_id;
__u16 scact_keynumber; __u16 scact_keynumber;
}; };
/* 7.1.23. Delayed Ack Timer (SCTP_DELAYED_ACK_TIME) /*
* 7.1.23. Get or set delayed ack timer (SCTP_DELAYED_SACK)
* *
* This options will get or set the delayed ack timer. The time is set * This option will effect the way delayed acks are performed. This
* in milliseconds. If the assoc_id is 0, then this sets or gets the * option allows you to get or set the delayed ack time, in
* endpoints default delayed ack timer value. If the assoc_id field is * milliseconds. It also allows changing the delayed ack frequency.
* non-zero, then the set or get effects the specified association. * Changing the frequency to 1 disables the delayed sack algorithm. If
*/ * the assoc_id is 0, then this sets or gets the endpoints default
* values. If the assoc_id field is non-zero, then the set or get
* effects the specified association for the one to many model (the
* assoc_id field is ignored by the one to one model). Note that if
* sack_delay or sack_freq are 0 when setting this option, then the
* current values will remain unchanged.
*/
struct sctp_sack_info {
sctp_assoc_t sack_assoc_id;
uint32_t sack_delay;
uint32_t sack_freq;
};
struct sctp_assoc_value { struct sctp_assoc_value {
sctp_assoc_t assoc_id; sctp_assoc_t assoc_id;
uint32_t assoc_value; uint32_t assoc_value;
}; };
/* /*
* 7.2.2 Peer Address Information * 7.2.2 Peer Address Information
* *
* Applications can retrieve information about a specific peer address * Applications can retrieve information about a specific peer address
* of an association, including its reachability state, congestion * of an association, including its reachability state, congestion
skipping to change at line 712 skipping to change at line 728
/* /*
* 7.2.3. Get the list of chunks the peer requires to be authenticated * 7.2.3. Get the list of chunks the peer requires to be authenticated
* (SCTP_PEER_AUTH_CHUNKS) * (SCTP_PEER_AUTH_CHUNKS)
* *
* This option gets a list of chunks for a specified association that * This option gets a list of chunks for a specified association that
* the peer requires to be received authenticated only. * the peer requires to be received authenticated only.
*/ */
struct sctp_authchunks { struct sctp_authchunks {
sctp_assoc_t gauth_assoc_id; sctp_assoc_t gauth_assoc_id;
__u32 guth_number_of_chunks; __u32 gauth_number_of_chunks;
uint8_t gauth_chunks[]; uint8_t gauth_chunks[];
}; };
/* The broken spelling has been released already,
* so don't break anyone, now that it's fixed.
*/
#define guth_number_of_chunks gauth_number_of_chunks
/* Association states. */ /* Association states. */
enum sctp_sstat_state { enum sctp_sstat_state {
SCTP_EMPTY = 0, SCTP_EMPTY = 0,
SCTP_CLOSED = 1, SCTP_CLOSED = 1,
SCTP_COOKIE_WAIT = 2, SCTP_COOKIE_WAIT = 2,
SCTP_COOKIE_ECHOED = 3, SCTP_COOKIE_ECHOED = 3,
SCTP_ESTABLISHED = 4, SCTP_ESTABLISHED = 4,
SCTP_SHUTDOWN_PENDING = 5, SCTP_SHUTDOWN_PENDING = 5,
SCTP_SHUTDOWN_SENT = 6, SCTP_SHUTDOWN_SENT = 6,
 End of changes. 6 change blocks. 
10 lines changed or deleted 30 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/