Go to the documentation of this file.
54 #ifndef __sctp_structs_h__
55 #define __sctp_structs_h__
57 #include <linux/time.h>
58 #include <linux/socket.h>
60 #include <linux/in6.h>
61 #include <linux/ipv6.h>
62 #include <asm/param.h>
150 #define sctp_max_instreams (sctp_globals.max_instreams)
151 #define sctp_max_outstreams (sctp_globals.max_outstreams)
152 #define sctp_address_families (sctp_globals.address_families)
153 #define sctp_ep_hashsize (sctp_globals.ep_hashsize)
154 #define sctp_ep_hashtable (sctp_globals.ep_hashtable)
155 #define sctp_assoc_hashsize (sctp_globals.assoc_hashsize)
156 #define sctp_assoc_hashtable (sctp_globals.assoc_hashtable)
157 #define sctp_port_hashsize (sctp_globals.port_hashsize)
158 #define sctp_port_hashtable (sctp_globals.port_hashtable)
159 #define sctp_checksum_disable (sctp_globals.checksum_disable)
244 #if IS_ENABLED(CONFIG_IPV6)
412 return stream->
ssn[
id];
418 return stream->
ssn[
id]++;
425 stream->
ssn[
id] = ssn+1;
439 unsigned int optlen);
449 unsigned int optlen);
541 struct msghdr *,
int len);
636 #define SCTP_CAN_FRTX 0x0
637 #define SCTP_NEED_FRTX 0x1
638 #define SCTP_DONT_FRTX 0x2
683 #define SCTP_ADDRESS_TICK_DELAY 500
1080 static inline void sctp_outq_cork(
struct sctp_outq *
q)
1871 const int peer_state);