sctp.h   sctp.h 
skipping to change at line 59 skipping to change at line 59
#ifndef __linux_sctp_h__ #ifndef __linux_sctp_h__
#define __linux_sctp_h__ #define __linux_sctp_h__
#include <stdint.h> #include <stdint.h>
#include <linux/types.h> #include <linux/types.h>
#include <sys/socket.h> #include <sys/socket.h>
__BEGIN_DECLS __BEGIN_DECLS
typedef void * sctp_assoc_t; typedef __s32 sctp_assoc_t;
/* Socket option layer for SCTP */ /* Socket option layer for SCTP */
#ifndef SOL_SCTP #ifndef SOL_SCTP
#define SOL_SCTP 132 #define SOL_SCTP 132
#endif #endif
#ifndef IPPROTO_SCTP #ifndef IPPROTO_SCTP
#define IPPROTO_SCTP 132 #define IPPROTO_SCTP 132
#endif #endif
skipping to change at line 565 skipping to change at line 565
__s32 sstat_state; __s32 sstat_state;
__u32 sstat_rwnd; __u32 sstat_rwnd;
__u16 sstat_unackdata; __u16 sstat_unackdata;
__u16 sstat_penddata; __u16 sstat_penddata;
__u16 sstat_instrms; __u16 sstat_instrms;
__u16 sstat_outstrms; __u16 sstat_outstrms;
__u32 sstat_fragmentation_point; __u32 sstat_fragmentation_point;
struct sctp_paddrinfo sstat_primary; struct sctp_paddrinfo sstat_primary;
}; };
/* Association states. */
enum sctp_sstat_state {
SCTP_EMPTY = 0,
SCTP_CLOSED = 1,
SCTP_COOKIE_WAIT = 2,
SCTP_COOKIE_ECHOED = 3,
SCTP_ESTABLISHED = 4,
SCTP_SHUTDOWN_PENDING = 5,
SCTP_SHUTDOWN_SENT = 6,
SCTP_SHUTDOWN_RECEIVED = 7,
SCTP_SHUTDOWN_ACK_SENT = 8,
};
/* /*
* 8.3, 8.5 get all peer/local addresses on a socket * 8.3, 8.5 get all peer/local addresses in an association.
* This parameter struct is for getsockopt * This parameter struct is used by SCTP_GET_PEER_ADDRS and
* SCTP_GET_LOCAL_ADDRS socket options used internally to implement
* sctp_getpaddrs() and sctp_getladdrs() API.
*/ */
struct sctp_getaddrs { struct sctp_getaddrs {
sctp_assoc_t assoc_id; sctp_assoc_t assoc_id;
int addr_num; int addr_num;
struct sockaddr *addrs; struct sockaddr *addrs;
}; };
/* These are bit fields for msghdr->msg_flags. See section 5.1. */ /* These are bit fields for msghdr->msg_flags. See section 5.1. */
/* On user space Linux, these live in <bits/socket.h> as an enum. */ /* On user space Linux, these live in <bits/socket.h> as an enum. */
enum sctp_msg_flags { enum sctp_msg_flags {
 End of changes. 3 change blocks. 
3 lines changed or deleted 18 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/