FreeBSD kernel IPv4 code
sctp_constants.h File Reference
#include <sys/cdefs.h>
Include dependency graph for sctp_constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _NETINET_SCTP_CONSTANTS_H_
 
#define SCTP_OVER_UDP_TUNNELING_PORT   9899
 
#define SCTP_DEFAULT_SACK_FREQ   2
 
#define SCTP_ADDRESS_LIMIT   1080
 
#define SCTP_LARGEST_INIT_ACCEPTED   (65535 - 2048)
 
#define SCTP_MAX_CHUNK_LENGTH   0xffff
 
#define SCTP_MAX_CAUSE_LENGTH   0xffff
 
#define SCTP_COUNT_LIMIT   40
 
#define SCTP_ZERO_COPY_TICK_DELAY   (((100 * hz) + 999) / 1000)
 
#define SCTP_ZERO_COPY_SENDQ_TICK_DELAY   (((100 * hz) + 999) / 1000)
 
#define SCTP_ADDRESS_TICK_DELAY   2
 
#define SCTP_VERSION_STRING   "KAME-BSD 1.1"
 
#define SCTP_AUDIT_SIZE   256
 
#define SCTP_KTRHEAD_NAME   "sctp_iterator"
 
#define SCTP_KTHREAD_PAGES   0
 
#define SCTP_MCORE_NAME   "sctp_core_worker"
 
#define SCTP_DEFAULT_VRF_SIZE   4
 
#define ALPHA_BASE   (1<<7) /* 1.0 with shift << 7 */
 
#define BETA_MIN   (1<<6) /* 0.5 with shift << 7 */
 
#define BETA_MAX   102 /* 0.8 with shift << 7 */
 
#define SCTP_CWND_LOG_FROM_FR   1
 
#define SCTP_CWND_LOG_FROM_RTX   2
 
#define SCTP_CWND_LOG_FROM_BRST   3
 
#define SCTP_CWND_LOG_FROM_SS   4
 
#define SCTP_CWND_LOG_FROM_CA   5
 
#define SCTP_CWND_LOG_FROM_SAT   6
 
#define SCTP_BLOCK_LOG_INTO_BLK   7
 
#define SCTP_BLOCK_LOG_OUTOF_BLK   8
 
#define SCTP_BLOCK_LOG_CHECK   9
 
#define SCTP_STR_LOG_FROM_INTO_STRD   10
 
#define SCTP_STR_LOG_FROM_IMMED_DEL   11
 
#define SCTP_STR_LOG_FROM_INSERT_HD   12
 
#define SCTP_STR_LOG_FROM_INSERT_MD   13
 
#define SCTP_STR_LOG_FROM_INSERT_TL   14
 
#define SCTP_STR_LOG_FROM_MARK_TSN   15
 
#define SCTP_STR_LOG_FROM_EXPRS_DEL   16
 
#define SCTP_FR_LOG_BIGGEST_TSNS   17
 
#define SCTP_FR_LOG_STRIKE_TEST   18
 
#define SCTP_FR_LOG_STRIKE_CHUNK   19
 
#define SCTP_FR_T3_TIMEOUT   20
 
#define SCTP_MAP_PREPARE_SLIDE   21
 
#define SCTP_MAP_SLIDE_FROM   22
 
#define SCTP_MAP_SLIDE_RESULT   23
 
#define SCTP_MAP_SLIDE_CLEARED   24
 
#define SCTP_MAP_SLIDE_NONE   25
 
#define SCTP_FR_T3_MARK_TIME   26
 
#define SCTP_FR_T3_MARKED   27
 
#define SCTP_FR_T3_STOPPED   28
 
#define SCTP_FR_MARKED   30
 
#define SCTP_CWND_LOG_NOADV_SS   31
 
#define SCTP_CWND_LOG_NOADV_CA   32
 
#define SCTP_MAX_BURST_APPLIED   33
 
#define SCTP_MAX_IFP_APPLIED   34
 
#define SCTP_MAX_BURST_ERROR_STOP   35
 
#define SCTP_INCREASE_PEER_RWND   36
 
#define SCTP_DECREASE_PEER_RWND   37
 
#define SCTP_SET_PEER_RWND_VIA_SACK   38
 
#define SCTP_LOG_MBCNT_INCREASE   39
 
#define SCTP_LOG_MBCNT_DECREASE   40
 
#define SCTP_LOG_MBCNT_CHKSET   41
 
#define SCTP_LOG_NEW_SACK   42
 
#define SCTP_LOG_TSN_ACKED   43
 
#define SCTP_LOG_TSN_REVOKED   44
 
#define SCTP_LOG_LOCK_TCB   45
 
#define SCTP_LOG_LOCK_INP   46
 
#define SCTP_LOG_LOCK_SOCK   47
 
#define SCTP_LOG_LOCK_SOCKBUF_R   48
 
#define SCTP_LOG_LOCK_SOCKBUF_S   49
 
#define SCTP_LOG_LOCK_CREATE   50
 
#define SCTP_LOG_INITIAL_RTT   51
 
#define SCTP_LOG_RTTVAR   52
 
#define SCTP_LOG_SBALLOC   53
 
#define SCTP_LOG_SBFREE   54
 
#define SCTP_LOG_SBRESULT   55
 
#define SCTP_FR_DUPED   56
 
#define SCTP_FR_MARKED_EARLY   57
 
#define SCTP_FR_CWND_REPORT   58
 
#define SCTP_FR_CWND_REPORT_START   59
 
#define SCTP_FR_CWND_REPORT_STOP   60
 
#define SCTP_CWND_LOG_FROM_SEND   61
 
#define SCTP_CWND_INITIALIZATION   62
 
#define SCTP_CWND_LOG_FROM_T3   63
 
#define SCTP_CWND_LOG_FROM_SACK   64
 
#define SCTP_CWND_LOG_NO_CUMACK   65
 
#define SCTP_CWND_LOG_FROM_RESEND   66
 
#define SCTP_FR_LOG_CHECK_STRIKE   67
 
#define SCTP_SEND_NOW_COMPLETES   68
 
#define SCTP_CWND_LOG_FILL_OUTQ_CALLED   69
 
#define SCTP_CWND_LOG_FILL_OUTQ_FILLS   70
 
#define SCTP_LOG_FREE_SENT   71
 
#define SCTP_NAGLE_APPLIED   72
 
#define SCTP_NAGLE_SKIPPED   73
 
#define SCTP_WAKESND_FROM_SACK   74
 
#define SCTP_WAKESND_FROM_FWDTSN   75
 
#define SCTP_NOWAKE_FROM_SACK   76
 
#define SCTP_CWNDLOG_PRESEND   77
 
#define SCTP_CWNDLOG_ENDSEND   78
 
#define SCTP_AT_END_OF_SACK   79
 
#define SCTP_REASON_FOR_SC   80
 
#define SCTP_BLOCK_LOG_INTO_BLKA   81
 
#define SCTP_ENTER_USER_RECV   82
 
#define SCTP_USER_RECV_SACKS   83
 
#define SCTP_SORECV_BLOCKSA   84
 
#define SCTP_SORECV_BLOCKSB   85
 
#define SCTP_SORECV_DONE   86
 
#define SCTP_SACK_RWND_UPDATE   87
 
#define SCTP_SORECV_ENTER   88
 
#define SCTP_SORECV_ENTERPL   89
 
#define SCTP_MBUF_INPUT   90
 
#define SCTP_MBUF_IALLOC   91
 
#define SCTP_MBUF_IFREE   92
 
#define SCTP_MBUF_ICOPY   93
 
#define SCTP_MBUF_SPLIT   94
 
#define SCTP_SORCV_FREECTL   95
 
#define SCTP_SORCV_DOESCPY   96
 
#define SCTP_SORCV_DOESLCK   97
 
#define SCTP_SORCV_DOESADJ   98
 
#define SCTP_SORCV_BOTWHILE   99
 
#define SCTP_SORCV_PASSBF   100
 
#define SCTP_SORCV_ADJD   101
 
#define SCTP_UNKNOWN_MAX   102
 
#define SCTP_RANDY_STUFF   103
 
#define SCTP_RANDY_STUFF1   104
 
#define SCTP_STRMOUT_LOG_ASSIGN   105
 
#define SCTP_STRMOUT_LOG_SEND   106
 
#define SCTP_FLIGHT_LOG_DOWN_CA   107
 
#define SCTP_FLIGHT_LOG_UP   108
 
#define SCTP_FLIGHT_LOG_DOWN_GAP   109
 
#define SCTP_FLIGHT_LOG_DOWN_RSND   110
 
#define SCTP_FLIGHT_LOG_UP_RSND   111
 
#define SCTP_FLIGHT_LOG_DOWN_RSND_TO   112
 
#define SCTP_FLIGHT_LOG_DOWN_WP   113
 
#define SCTP_FLIGHT_LOG_UP_REVOKE   114
 
#define SCTP_FLIGHT_LOG_DOWN_PDRP   115
 
#define SCTP_FLIGHT_LOG_DOWN_PMTU   116
 
#define SCTP_SACK_LOG_NORMAL   117
 
#define SCTP_SACK_LOG_EXPRESS   118
 
#define SCTP_MAP_TSN_ENTERS   119
 
#define SCTP_THRESHOLD_CLEAR   120
 
#define SCTP_THRESHOLD_INCR   121
 
#define SCTP_FLIGHT_LOG_DWN_WP_FWD   122
 
#define SCTP_FWD_TSN_CHECK   123
 
#define SCTP_LOG_MAX_TYPES   124
 
#define SCTP_LOG_EVENT_UNKNOWN   0
 
#define SCTP_LOG_EVENT_CWND   1
 
#define SCTP_LOG_EVENT_BLOCK   2
 
#define SCTP_LOG_EVENT_STRM   3
 
#define SCTP_LOG_EVENT_FR   4
 
#define SCTP_LOG_EVENT_MAP   5
 
#define SCTP_LOG_EVENT_MAXBURST   6
 
#define SCTP_LOG_EVENT_RWND   7
 
#define SCTP_LOG_EVENT_MBCNT   8
 
#define SCTP_LOG_EVENT_SACK   9
 
#define SCTP_LOG_LOCK_EVENT   10
 
#define SCTP_LOG_EVENT_RTT   11
 
#define SCTP_LOG_EVENT_SB   12
 
#define SCTP_LOG_EVENT_NAGLE   13
 
#define SCTP_LOG_EVENT_WAKE   14
 
#define SCTP_LOG_MISC_EVENT   15
 
#define SCTP_LOG_EVENT_CLOSE   16
 
#define SCTP_LOG_EVENT_MBUF   17
 
#define SCTP_LOG_CHUNK_PROC   18
 
#define SCTP_LOG_ERROR_RET   19
 
#define SCTP_LOG_MAX_EVENT   20
 
#define SCTP_LOCK_UNKNOWN   2
 
#define SCTP_MAX_NUM_OF_ASOC   40000
 
#define SCTP_SCALE_FOR_ADDR   2
 
#define SCTP_DEFAULT_MULTIPLE_ASCONFS   0
 
#define SCTP_RWND_HIWAT_SHIFT   3
 
#define SCTP_PARTIAL_DELIVERY_SHIFT   1
 
#define SCTP_HMAC   SCTP_AUTH_HMAC_ID_SHA1
 
#define SCTP_SIGNATURE_SIZE   SCTP_AUTH_DIGEST_LEN_SHA1
 
#define SCTP_SIGNATURE_ALOC_SIZE   SCTP_SIGNATURE_SIZE
 
#define PROTO_SIGNATURE_A   0x30000000
 
#define SCTP_VERSION_NUMBER   0x3
 
#define MAX_TSN   0xffffffff
 
#define SCTP_ITERATOR_MAX_AT_ONCE   20
 
#define SCTP_ITERATOR_TICKS   1
 
#define SCTP_IGNORE_CWND_ON_FR   1
 
#define SCTP_NO_FR_UNLESS_SEGMENT_SMALLER   1
 
#define SCTP_DEF_MAX_BURST   4
 
#define SCTP_DEF_HBMAX_BURST   4
 
#define SCTP_DEF_FRMAX_BURST   4
 
#define SCTP_RTT_FROM_NON_DATA   0
 
#define SCTP_RTT_FROM_DATA   1
 
#define PR_SCTP_UNORDERED_FLAG   0x0001
 
#define SCTP_FIRST_MBUF_RESV   68
 
#define SCTP_DATAGRAM_UNSENT   0
 
#define SCTP_DATAGRAM_SENT   1
 
#define SCTP_DATAGRAM_RESEND1
 
#define SCTP_DATAGRAM_RESEND2
 
#define SCTP_DATAGRAM_RESEND   4
 
#define SCTP_DATAGRAM_ACKED   10010
 
#define SCTP_DATAGRAM_MARKED   20010
 
#define SCTP_FORWARD_TSN_SKIP   30010
 
#define SCTP_DATAGRAM_NR_ACKED   40010
 
#define SCTP_OUTPUT_FROM_USR_SEND   0
 
#define SCTP_OUTPUT_FROM_T3   1
 
#define SCTP_OUTPUT_FROM_INPUT_ERROR   2
 
#define SCTP_OUTPUT_FROM_CONTROL_PROC   3
 
#define SCTP_OUTPUT_FROM_SACK_TMR   4
 
#define SCTP_OUTPUT_FROM_SHUT_TMR   5
 
#define SCTP_OUTPUT_FROM_HB_TMR   6
 
#define SCTP_OUTPUT_FROM_SHUT_ACK_TMR   7
 
#define SCTP_OUTPUT_FROM_ASCONF_TMR   8
 
#define SCTP_OUTPUT_FROM_STRRST_TMR   9
 
#define SCTP_OUTPUT_FROM_AUTOCLOSE_TMR   10
 
#define SCTP_OUTPUT_FROM_EARLY_FR_TMR   11
 
#define SCTP_OUTPUT_FROM_STRRST_REQ   12
 
#define SCTP_OUTPUT_FROM_USR_RCVD   13
 
#define SCTP_OUTPUT_FROM_COOKIE_ACK   14
 
#define SCTP_OUTPUT_FROM_DRAIN   15
 
#define SCTP_OUTPUT_FROM_CLOSING   16
 
#define SCTP_OUTPUT_FROM_SOCKOPT   17
 
#define SCTP_SIZE32(x)   ((((x) + 3) >> 2) << 2)
 
#define IS_SCTP_CONTROL(a)   (((a)->chunk_type != SCTP_DATA) && ((a)->chunk_type != SCTP_IDATA))
 
#define IS_SCTP_DATA(a)   (((a)->chunk_type == SCTP_DATA) || ((a)->chunk_type == SCTP_IDATA))
 
#define SCTP_HEARTBEAT_INFO   0x0001
 
#define SCTP_IPV4_ADDRESS   0x0005
 
#define SCTP_IPV6_ADDRESS   0x0006
 
#define SCTP_STATE_COOKIE   0x0007
 
#define SCTP_UNRECOG_PARAM   0x0008
 
#define SCTP_COOKIE_PRESERVE   0x0009
 
#define SCTP_HOSTNAME_ADDRESS   0x000b
 
#define SCTP_SUPPORTED_ADDRTYPE   0x000c
 
#define SCTP_STR_RESET_OUT_REQUEST   0x000d
 
#define SCTP_STR_RESET_IN_REQUEST   0x000e
 
#define SCTP_STR_RESET_TSN_REQUEST   0x000f
 
#define SCTP_STR_RESET_RESPONSE   0x0010
 
#define SCTP_STR_RESET_ADD_OUT_STREAMS   0x0011
 
#define SCTP_STR_RESET_ADD_IN_STREAMS   0x0012
 
#define SCTP_MAX_RESET_PARAMS   2
 
#define SCTP_STREAM_RESET_TSN_DELTA   0x1000
 
#define SCTP_ECN_CAPABLE   0x8000
 
#define SCTP_RANDOM   0x8002
 
#define SCTP_CHUNK_LIST   0x8003
 
#define SCTP_HMAC_LIST   0x8004
 
#define SCTP_PAD   0x8005
 
#define SCTP_SUPPORTED_CHUNK_EXT   0x8008
 
#define SCTP_PRSCTP_SUPPORTED   0xc000
 
#define SCTP_ADD_IP_ADDRESS   0xc001
 
#define SCTP_DEL_IP_ADDRESS   0xc002
 
#define SCTP_ERROR_CAUSE_IND   0xc003
 
#define SCTP_SET_PRIM_ADDR   0xc004
 
#define SCTP_SUCCESS_REPORT   0xc005
 
#define SCTP_ULP_ADAPTATION   0xc006
 
#define SCTP_HAS_NAT_SUPPORT   0xc007
 
#define SCTP_NAT_VTAGS   0xc008
 
#define SCTP_ECT0_BIT   0x02
 
#define SCTP_ECT1_BIT   0x01
 
#define SCTP_CE_BITS   0x03
 
#define SCTP_FLEXIBLE_ADDRESS   0x20
 
#define SCTP_NO_HEARTBEAT   0x40
 
#define SCTP_STICKY_OPTIONS_MASK   0x0c
 
#define SCTP_STATE_EMPTY   0x0000
 
#define SCTP_STATE_INUSE   0x0001
 
#define SCTP_STATE_COOKIE_WAIT   0x0002
 
#define SCTP_STATE_COOKIE_ECHOED   0x0004
 
#define SCTP_STATE_OPEN   0x0008
 
#define SCTP_STATE_SHUTDOWN_SENT   0x0010
 
#define SCTP_STATE_SHUTDOWN_RECEIVED   0x0020
 
#define SCTP_STATE_SHUTDOWN_ACK_SENT   0x0040
 
#define SCTP_STATE_SHUTDOWN_PENDING   0x0080
 
#define SCTP_STATE_CLOSED_SOCKET   0x0100
 
#define SCTP_STATE_ABOUT_TO_BE_FREED   0x0200
 
#define SCTP_STATE_PARTIAL_MSG_LEFT   0x0400
 
#define SCTP_STATE_WAS_ABORTED   0x0800
 
#define SCTP_STATE_IN_ACCEPT_QUEUE   0x1000
 
#define SCTP_STATE_MASK   0x007f
 
#define SCTP_GET_STATE(_stcb)    ((_stcb)->asoc.state & SCTP_STATE_MASK)
 
#define SCTP_SET_STATE(_stcb, _state)    sctp_set_state(_stcb, _state)
 
#define SCTP_CLEAR_SUBSTATE(_stcb, _substate)    (_stcb)->asoc.state &= ~(_substate)
 
#define SCTP_ADD_SUBSTATE(_stcb, _substate)    sctp_add_substate(_stcb, _substate)
 
#define SCTP_ADDR_REACHABLE   0x001
 
#define SCTP_ADDR_NO_PMTUD   0x002
 
#define SCTP_ADDR_NOHB   0x004
 
#define SCTP_ADDR_BEING_DELETED   0x008
 
#define SCTP_ADDR_NOT_IN_ASSOC   0x010
 
#define SCTP_ADDR_OUT_OF_SCOPE   0x080
 
#define SCTP_ADDR_UNCONFIRMED   0x200
 
#define SCTP_ADDR_REQ_PRIMARY   0x400
 
#define SCTP_ADDR_PF   0x800
 
#define SCTP_BOUND_V6   0x01
 
#define SCTP_BOUND_V4   0x02
 
#define SCTP_DEFAULT_MBUFS_IN_CHAIN   5
 
#define SCTP_DEFAULT_COOKIE_LIFE   60000
 
#define SCTP_MAPPING_ARRAY   512
 
#define SCTP_INITIAL_MAPPING_ARRAY   16
 
#define SCTP_MAPPING_ARRAY_INCR   32
 
#define SCTP_TIMER_INIT   0
 
#define SCTP_TIMER_RECV   1
 
#define SCTP_TIMER_SEND   2
 
#define SCTP_TIMER_HEARTBEAT   3
 
#define SCTP_TIMER_PMTU   4
 
#define SCTP_TIMER_MAXSHUTDOWN   5
 
#define SCTP_TIMER_SIGNATURE   6
 
#define SCTP_NUM_TMRS   7
 
#define SCTP_TIMER_TYPE_NONE   0
 
#define SCTP_TIMER_TYPE_SEND   1
 
#define SCTP_TIMER_TYPE_INIT   2
 
#define SCTP_TIMER_TYPE_RECV   3
 
#define SCTP_TIMER_TYPE_SHUTDOWN   4
 
#define SCTP_TIMER_TYPE_HEARTBEAT   5
 
#define SCTP_TIMER_TYPE_COOKIE   6
 
#define SCTP_TIMER_TYPE_NEWCOOKIE   7
 
#define SCTP_TIMER_TYPE_PATHMTURAISE   8
 
#define SCTP_TIMER_TYPE_SHUTDOWNACK   9
 
#define SCTP_TIMER_TYPE_ASCONF   10
 
#define SCTP_TIMER_TYPE_SHUTDOWNGUARD   11
 
#define SCTP_TIMER_TYPE_AUTOCLOSE   12
 
#define SCTP_TIMER_TYPE_STRRESET   13
 
#define SCTP_TIMER_TYPE_INPKILL   14
 
#define SCTP_TIMER_TYPE_ASOCKILL   15
 
#define SCTP_TIMER_TYPE_ADDR_WQ   16
 
#define SCTP_TIMER_TYPE_PRIM_DELETED   17
 
#define SCTP_TIMER_TYPE_LAST   18
 
#define SCTP_IS_TIMER_TYPE_VALID(t)
 
#define SCTP_MAX_DUP_TSNS   20
 
#define SCTP_RETRY_DROPPED_THRESH   4
 
#define SCTP_ASOC_MAX_CHUNKS_ON_QUEUE   512
 
#define SCTP_MINFR_MSEC_TIMER   250
 
#define SCTP_MINFR_MSEC_FLOOR   20
 
#define SCTP_INIT_SEC   1
 
#define SCTP_SEND_SEC   1
 
#define SCTP_RECV_MSEC   200
 
#define SCTP_HB_DEFAULT_MSEC   30000
 
#define SCTP_DEFAULT_SECRET_LIFE_SEC   3600
 
#define SCTP_RTO_UPPER_BOUND   (60000) /* 60 sec in ms */
 
#define SCTP_RTO_LOWER_BOUND   (1000) /* 1 sec is ms */
 
#define SCTP_RTO_INITIAL   (1000) /* 1 sec in ms */
 
#define SCTP_INP_KILL_TIMEOUT   20 /* number of ms to retry kill of inpcb */
 
#define SCTP_ASOC_KILL_TIMEOUT   10 /* number of ms to retry kill of inpcb */
 
#define SCTP_DEF_MAX_INIT   8
 
#define SCTP_DEF_MAX_SEND   10
 
#define SCTP_DEF_MAX_PATH_RTX   5
 
#define SCTP_DEF_PATH_PF_THRESHOLD   SCTP_DEF_MAX_PATH_RTX
 
#define SCTP_DEF_PMTU_RAISE_SEC   600 /* 10 min between raise attempts */
 
#define SCTP_OSTREAM_INITIAL   10
 
#define SCTP_ISTREAM_INITIAL   2048
 
#define SCTP_MINIMAL_RWND   (4096) /* minimal rwnd */
 
#define SCTP_ADDRMAX   16
 
#define SCTP_DEBUG_TIMER1   0x00000001
 
#define SCTP_DEBUG_TIMER2   0x00000002 /* unused */
 
#define SCTP_DEBUG_TIMER3   0x00000004 /* unused */
 
#define SCTP_DEBUG_TIMER4   0x00000008
 
#define SCTP_DEBUG_OUTPUT1   0x00000010
 
#define SCTP_DEBUG_OUTPUT2   0x00000020
 
#define SCTP_DEBUG_OUTPUT3   0x00000040
 
#define SCTP_DEBUG_OUTPUT4   0x00000080
 
#define SCTP_DEBUG_UTIL1   0x00000100
 
#define SCTP_DEBUG_UTIL2   0x00000200 /* unused */
 
#define SCTP_DEBUG_AUTH1   0x00000400
 
#define SCTP_DEBUG_AUTH2   0x00000800 /* unused */
 
#define SCTP_DEBUG_INPUT1   0x00001000
 
#define SCTP_DEBUG_INPUT2   0x00002000
 
#define SCTP_DEBUG_INPUT3   0x00004000
 
#define SCTP_DEBUG_INPUT4   0x00008000 /* unused */
 
#define SCTP_DEBUG_ASCONF1   0x00010000
 
#define SCTP_DEBUG_ASCONF2   0x00020000
 
#define SCTP_DEBUG_OUTPUT5   0x00040000 /* unused */
 
#define SCTP_DEBUG_XXX   0x00080000 /* unused */
 
#define SCTP_DEBUG_PCB1   0x00100000
 
#define SCTP_DEBUG_PCB2   0x00200000 /* unused */
 
#define SCTP_DEBUG_PCB3   0x00400000
 
#define SCTP_DEBUG_PCB4   0x00800000
 
#define SCTP_DEBUG_INDATA1   0x01000000
 
#define SCTP_DEBUG_INDATA2   0x02000000 /* unused */
 
#define SCTP_DEBUG_INDATA3   0x04000000 /* unused */
 
#define SCTP_DEBUG_CRCOFFLOAD   0x08000000 /* unused */
 
#define SCTP_DEBUG_USRREQ1   0x10000000 /* unused */
 
#define SCTP_DEBUG_USRREQ2   0x20000000 /* unused */
 
#define SCTP_DEBUG_PEEL1   0x40000000
 
#define SCTP_DEBUG_XXXXX   0x80000000 /* unused */
 
#define SCTP_DEBUG_ALL   0x7ff3ffff
 
#define SCTP_DEBUG_NOISY   0x00040000
 
#define SCTP_SWS_SENDER_DEF   1420
 
#define SCTP_SWS_RECEIVER_DEF   3000
 
#define SCTP_INITIAL_CWND   4380
 
#define SCTP_DEFAULT_MTU   1500 /* emergency default MTU */
 
#define SCTP_MIN_RWND   1500
 
#define SCTP_CHUNK_BUFFER_SIZE   512
 
#define SCTP_PARAM_BUFFER_SIZE   512
 
#define SCTP_SMALL_CHUNK_STORE   260
 
#define SCTP_HOW_MANY_SECRETS   2 /* how many secrets I keep */
 
#define SCTP_NUMBER_OF_SECRETS   8 /* or 8 * 4 = 32 octets */
 
#define SCTP_SECRET_SIZE   32 /* number of octets in a 256 bits */
 
#define SCTP_NOTIFY_ASSOC_UP   1
 
#define SCTP_NOTIFY_ASSOC_DOWN   2
 
#define SCTP_NOTIFY_INTERFACE_DOWN   3
 
#define SCTP_NOTIFY_INTERFACE_UP   4
 
#define SCTP_NOTIFY_SENT_DG_FAIL   5
 
#define SCTP_NOTIFY_UNSENT_DG_FAIL   6
 
#define SCTP_NOTIFY_SPECIAL_SP_FAIL   7
 
#define SCTP_NOTIFY_ASSOC_LOC_ABORTED   8
 
#define SCTP_NOTIFY_ASSOC_REM_ABORTED   9
 
#define SCTP_NOTIFY_ASSOC_RESTART   10
 
#define SCTP_NOTIFY_PEER_SHUTDOWN   11
 
#define SCTP_NOTIFY_ASCONF_ADD_IP   12
 
#define SCTP_NOTIFY_ASCONF_DELETE_IP   13
 
#define SCTP_NOTIFY_ASCONF_SET_PRIMARY   14
 
#define SCTP_NOTIFY_PARTIAL_DELVIERY_INDICATION   15
 
#define SCTP_NOTIFY_INTERFACE_CONFIRMED   16
 
#define SCTP_NOTIFY_STR_RESET_RECV   17
 
#define SCTP_NOTIFY_STR_RESET_SEND   18
 
#define SCTP_NOTIFY_STR_RESET_FAILED_OUT   19
 
#define SCTP_NOTIFY_STR_RESET_FAILED_IN   20
 
#define SCTP_NOTIFY_STR_RESET_DENIED_OUT   21
 
#define SCTP_NOTIFY_STR_RESET_DENIED_IN   22
 
#define SCTP_NOTIFY_AUTH_NEW_KEY   23
 
#define SCTP_NOTIFY_AUTH_FREE_KEY   24
 
#define SCTP_NOTIFY_NO_PEER_AUTH   25
 
#define SCTP_NOTIFY_SENDER_DRY   26
 
#define SCTP_NOTIFY_REMOTE_ERROR   27
 
#define SCTP_NOTIFY_ASSOC_TIMEDOUT   28
 
#define SCTP_DEFAULT_SPLIT_POINT_MIN   2904
 
#define SCTP_DIAG_INFO_LEN   128
 
#define SCTP_FROM_SCTP_INPUT   0x10000000
 
#define SCTP_FROM_SCTP_PCB   0x20000000
 
#define SCTP_FROM_SCTP_INDATA   0x30000000
 
#define SCTP_FROM_SCTP_TIMER   0x40000000
 
#define SCTP_FROM_SCTP_USRREQ   0x50000000
 
#define SCTP_FROM_SCTPUTIL   0x60000000
 
#define SCTP_FROM_SCTP6_USRREQ   0x70000000
 
#define SCTP_FROM_SCTP_ASCONF   0x80000000
 
#define SCTP_FROM_SCTP_OUTPUT   0x90000000
 
#define SCTP_FROM_SCTP_PEELOFF   0xa0000000
 
#define SCTP_FROM_SCTP_SYSCTL   0xb0000000
 
#define SCTP_FROM_SCTP_CC_FUNCTIONS   0xc0000000
 
#define SCTP_LOC_1   0x00000001
 
#define SCTP_LOC_2   0x00000002
 
#define SCTP_LOC_3   0x00000003
 
#define SCTP_LOC_4   0x00000004
 
#define SCTP_LOC_5   0x00000005
 
#define SCTP_LOC_6   0x00000006
 
#define SCTP_LOC_7   0x00000007
 
#define SCTP_LOC_8   0x00000008
 
#define SCTP_LOC_9   0x00000009
 
#define SCTP_LOC_10   0x0000000a
 
#define SCTP_LOC_11   0x0000000b
 
#define SCTP_LOC_12   0x0000000c
 
#define SCTP_LOC_13   0x0000000d
 
#define SCTP_LOC_14   0x0000000e
 
#define SCTP_LOC_15   0x0000000f
 
#define SCTP_LOC_16   0x00000010
 
#define SCTP_LOC_17   0x00000011
 
#define SCTP_LOC_18   0x00000012
 
#define SCTP_LOC_19   0x00000013
 
#define SCTP_LOC_20   0x00000014
 
#define SCTP_LOC_21   0x00000015
 
#define SCTP_LOC_22   0x00000016
 
#define SCTP_LOC_23   0x00000017
 
#define SCTP_LOC_24   0x00000018
 
#define SCTP_LOC_25   0x00000019
 
#define SCTP_LOC_26   0x0000001a
 
#define SCTP_LOC_27   0x0000001b
 
#define SCTP_LOC_28   0x0000001c
 
#define SCTP_LOC_29   0x0000001d
 
#define SCTP_LOC_30   0x0000001e
 
#define SCTP_LOC_31   0x0000001f
 
#define SCTP_LOC_32   0x00000020
 
#define SCTP_LOC_33   0x00000021
 
#define SCTP_LOC_34   0x00000022
 
#define SCTP_LOC_35   0x00000023
 
#define SCTP_LOC_36   0x00000024
 
#define SCTP_LOC_37   0x00000025
 
#define SCTP_NORMAL_PROC   0
 
#define SCTP_PCBFREE_NOFORCE   1
 
#define SCTP_PCBFREE_FORCE   2
 
#define SCTP_ADDR_IS_CONFIRMED   8
 
#define SCTP_ADDR_DYNAMIC_ADDED   6
 
#define SCTP_IN_COOKIE_PROC   100
 
#define SCTP_ALLOC_ASOC   1
 
#define SCTP_LOAD_ADDR_2   2
 
#define SCTP_LOAD_ADDR_3   3
 
#define SCTP_LOAD_ADDR_4   4
 
#define SCTP_LOAD_ADDR_5   5
 
#define SCTP_DONOT_SETSCOPE   0
 
#define SCTP_DO_SETSCOPE   1
 
#define SCTP_DEFAULT_ADD_MORE   1452
 
#define SCTP_PCBHASHSIZE   256
 
#define SCTP_TCBHASHSIZE   1024
 
#define SCTP_CHUNKQUEUE_SCALE   10
 
#define SCTP_CLOCK_GRANULARITY   1
 
#define IP_HDR_SIZE
 
#define SCTP_CALLED_DIRECTLY_NOCMPSET   0
 
#define SCTP_CALLED_AFTER_CMPSET_OFCLOSE   1
 
#define SCTP_CALLED_FROM_INPKILL_TIMER   2
 
#define SCTP_FREE_SHOULD_USE_ABORT   1
 
#define SCTP_FREE_SHOULD_USE_GRACEFUL_CLOSE   0
 
#define IPPROTO_SCTP   132 /* the Official IANA number :-) */
 
#define SCTP_MAX_DATA_BUNDLING   256
 
#define SCTP_UINT16_GT(a, b)
 
#define SCTP_UINT16_GE(a, b)   (SCTP_UINT16_GT(a, b) || (a == b))
 
#define SCTP_UINT32_GT(a, b)
 
#define SCTP_UINT32_GE(a, b)   (SCTP_UINT32_GT(a, b) || (a == b))
 
#define SCTP_SSN_GT(a, b)   SCTP_UINT16_GT(a, b)
 
#define SCTP_SSN_GE(a, b)   SCTP_UINT16_GE(a, b)
 
#define SCTP_TSN_GT(a, b)   SCTP_UINT32_GT(a, b)
 
#define SCTP_TSN_GE(a, b)   SCTP_UINT32_GE(a, b)
 
#define SCTP_MID_GT(i, a, b)   (((i) == 1) ? SCTP_UINT32_GT(a, b) : SCTP_UINT16_GT((uint16_t)a, (uint16_t)b))
 
#define SCTP_MID_GE(i, a, b)   (((i) == 1) ? SCTP_UINT32_GE(a, b) : SCTP_UINT16_GE((uint16_t)a, (uint16_t)b))
 
#define SCTP_MID_EQ(i, a, b)   (((i) == 1) ? a == b : (uint16_t)a == (uint16_t)b)
 
#define SCTP_IS_TSN_PRESENT(arry, gap)   ((arry[(gap >> 3)] >> (gap & 0x07)) & 0x01)
 
#define SCTP_SET_TSN_PRESENT(arry, gap)   (arry[(gap >> 3)] |= (0x01 << ((gap & 0x07))))
 
#define SCTP_UNSET_TSN_PRESENT(arry, gap)   (arry[(gap >> 3)] &= ((~(0x01 << ((gap & 0x07)))) & 0xff))
 
#define SCTP_CALC_TSN_TO_GAP(gap, tsn, mapping_tsn)
 
#define SCTP_RETRAN_DONE   -1
 
#define SCTP_RETRAN_EXIT   -2
 
#define SCTP_NUMBER_IN_VTAG_BLOCK   15
 
#define SCTP_STACK_VTAG_HASH_SIZE   32
 
#define SCTP_TIME_WAIT   60
 
#define SCTP_LOCAL_LAN_RTT   900
 
#define SCTP_LAN_UNKNOWN   0
 
#define SCTP_LAN_LOCAL   1
 
#define SCTP_LAN_INTERNET   2
 
#define SCTP_SEND_BUFFER_SPLITTING   0x00000001
 
#define SCTP_RECV_BUFFER_SPLITTING   0x00000002
 
#define SCTP_DEF_ASOC_RESC_LIMIT   10
 
#define SCTP_DEF_SYSTEM_RESC_LIMIT   1000
 
#define SCTP_SO_LOCKED   1
 
#define SCTP_SO_NOT_LOCKED   0
 
#define SCTP_ADDR_LOCKED   1
 
#define SCTP_ADDR_NOT_LOCKED   0
 
#define IN4_ISPRIVATE_ADDRESS(a)
 
#define IN4_ISLOOPBACK_ADDRESS(a)    (((uint8_t *)&(a)->s_addr)[0] == 127)
 
#define IN4_ISLINKLOCAL_ADDRESS(a)
 
#define SCTP_SOCKET_OPTION_LIMIT   (64 * 1024)
 
#define SCTP_GETTIME_TIMEVAL(x)   (getmicrouptime(x))
 
#define SCTP_GETPTIME_TIMEVAL(x)   (microuptime(x))
 
#define sctp_sowwakeup(inp, so)
 
#define sctp_sowwakeup_locked(inp, so)
 
#define sctp_sorwakeup(inp, so)
 
#define sctp_sorwakeup_locked(inp, so)
 

Functions

 __FBSDID ("$FreeBSD$")
 

Macro Definition Documentation

◆ _NETINET_SCTP_CONSTANTS_H_

#define _NETINET_SCTP_CONSTANTS_H_

Definition at line 39 of file sctp_constants.h.

◆ ALPHA_BASE

#define ALPHA_BASE   (1<<7) /* 1.0 with shift << 7 */

Definition at line 100 of file sctp_constants.h.

◆ BETA_MAX

#define BETA_MAX   102 /* 0.8 with shift << 7 */

Definition at line 102 of file sctp_constants.h.

◆ BETA_MIN

#define BETA_MIN   (1<<6) /* 0.5 with shift << 7 */

Definition at line 101 of file sctp_constants.h.

◆ IN4_ISLINKLOCAL_ADDRESS

#define IN4_ISLINKLOCAL_ADDRESS (   a)
Value:
((((uint8_t *)&(a)->s_addr)[0] == 169) && \
(((uint8_t *)&(a)->s_addr)[1] == 254))
__uint8_t uint8_t
Definition: in.h:52

Definition at line 951 of file sctp_constants.h.

◆ IN4_ISLOOPBACK_ADDRESS

#define IN4_ISLOOPBACK_ADDRESS (   a)     (((uint8_t *)&(a)->s_addr)[0] == 127)

Definition at line 948 of file sctp_constants.h.

◆ IN4_ISPRIVATE_ADDRESS

#define IN4_ISPRIVATE_ADDRESS (   a)
Value:
((((uint8_t *)&(a)->s_addr)[0] == 10) || \
((((uint8_t *)&(a)->s_addr)[0] == 172) && \
(((uint8_t *)&(a)->s_addr)[1] >= 16) && \
(((uint8_t *)&(a)->s_addr)[1] <= 32)) || \
((((uint8_t *)&(a)->s_addr)[0] == 192) && \
(((uint8_t *)&(a)->s_addr)[1] == 168)))
union @45::@47 s_addr

Definition at line 940 of file sctp_constants.h.

◆ IP_HDR_SIZE

#define IP_HDR_SIZE
Value:
40 /* we use the size of a IP6 header here this
* detracts a small amount for ipv4 but it
* simplifies the ipv6 addition */

Definition at line 832 of file sctp_constants.h.

◆ IPPROTO_SCTP

#define IPPROTO_SCTP   132 /* the Official IANA number :-) */

Definition at line 845 of file sctp_constants.h.

◆ IS_SCTP_CONTROL

#define IS_SCTP_CONTROL (   a)    (((a)->chunk_type != SCTP_DATA) && ((a)->chunk_type != SCTP_IDATA))

Definition at line 382 of file sctp_constants.h.

◆ IS_SCTP_DATA

#define IS_SCTP_DATA (   a)    (((a)->chunk_type == SCTP_DATA) || ((a)->chunk_type == SCTP_IDATA))

Definition at line 383 of file sctp_constants.h.

◆ MAX_TSN

#define MAX_TSN   0xffffffff

Definition at line 309 of file sctp_constants.h.

◆ PR_SCTP_UNORDERED_FLAG

#define PR_SCTP_UNORDERED_FLAG   0x0001

Definition at line 342 of file sctp_constants.h.

◆ PROTO_SIGNATURE_A

#define PROTO_SIGNATURE_A   0x30000000

Definition at line 306 of file sctp_constants.h.

◆ SCTP_ADD_IP_ADDRESS

#define SCTP_ADD_IP_ADDRESS   0xc001

Definition at line 424 of file sctp_constants.h.

◆ SCTP_ADD_SUBSTATE

#define SCTP_ADD_SUBSTATE (   _stcb,
  _substate 
)     sctp_add_substate(_stcb, _substate)

Definition at line 471 of file sctp_constants.h.

◆ SCTP_ADDR_BEING_DELETED

#define SCTP_ADDR_BEING_DELETED   0x008

Definition at line 478 of file sctp_constants.h.

◆ SCTP_ADDR_DYNAMIC_ADDED

#define SCTP_ADDR_DYNAMIC_ADDED   6

Definition at line 793 of file sctp_constants.h.

◆ SCTP_ADDR_IS_CONFIRMED

#define SCTP_ADDR_IS_CONFIRMED   8

Definition at line 792 of file sctp_constants.h.

◆ SCTP_ADDR_LOCKED

#define SCTP_ADDR_LOCKED   1

Definition at line 937 of file sctp_constants.h.

◆ SCTP_ADDR_NO_PMTUD

#define SCTP_ADDR_NO_PMTUD   0x002

Definition at line 476 of file sctp_constants.h.

◆ SCTP_ADDR_NOHB

#define SCTP_ADDR_NOHB   0x004

Definition at line 477 of file sctp_constants.h.

◆ SCTP_ADDR_NOT_IN_ASSOC

#define SCTP_ADDR_NOT_IN_ASSOC   0x010

Definition at line 479 of file sctp_constants.h.

◆ SCTP_ADDR_NOT_LOCKED

#define SCTP_ADDR_NOT_LOCKED   0

Definition at line 938 of file sctp_constants.h.

◆ SCTP_ADDR_OUT_OF_SCOPE

#define SCTP_ADDR_OUT_OF_SCOPE   0x080

Definition at line 480 of file sctp_constants.h.

◆ SCTP_ADDR_PF

#define SCTP_ADDR_PF   0x800

Definition at line 484 of file sctp_constants.h.

◆ SCTP_ADDR_REACHABLE

#define SCTP_ADDR_REACHABLE   0x001

Definition at line 475 of file sctp_constants.h.

◆ SCTP_ADDR_REQ_PRIMARY

#define SCTP_ADDR_REQ_PRIMARY   0x400

Definition at line 482 of file sctp_constants.h.

◆ SCTP_ADDR_UNCONFIRMED

#define SCTP_ADDR_UNCONFIRMED   0x200

Definition at line 481 of file sctp_constants.h.

◆ SCTP_ADDRESS_LIMIT

#define SCTP_ADDRESS_LIMIT   1080

Definition at line 63 of file sctp_constants.h.

◆ SCTP_ADDRESS_TICK_DELAY

#define SCTP_ADDRESS_TICK_DELAY   2

Definition at line 83 of file sctp_constants.h.

◆ SCTP_ADDRMAX

#define SCTP_ADDRMAX   16

Definition at line 620 of file sctp_constants.h.

◆ SCTP_ALLOC_ASOC

#define SCTP_ALLOC_ASOC   1

Definition at line 795 of file sctp_constants.h.

◆ SCTP_ASOC_KILL_TIMEOUT

#define SCTP_ASOC_KILL_TIMEOUT   10 /* number of ms to retry kill of inpcb */

Definition at line 600 of file sctp_constants.h.

◆ SCTP_ASOC_MAX_CHUNKS_ON_QUEUE

#define SCTP_ASOC_MAX_CHUNKS_ON_QUEUE   512

Definition at line 567 of file sctp_constants.h.

◆ SCTP_AT_END_OF_SACK

#define SCTP_AT_END_OF_SACK   79

Definition at line 182 of file sctp_constants.h.

◆ SCTP_AUDIT_SIZE

#define SCTP_AUDIT_SIZE   256

Definition at line 87 of file sctp_constants.h.

◆ SCTP_BLOCK_LOG_CHECK

#define SCTP_BLOCK_LOG_CHECK   9

Definition at line 113 of file sctp_constants.h.

◆ SCTP_BLOCK_LOG_INTO_BLK

#define SCTP_BLOCK_LOG_INTO_BLK   7

Definition at line 111 of file sctp_constants.h.

◆ SCTP_BLOCK_LOG_INTO_BLKA

#define SCTP_BLOCK_LOG_INTO_BLKA   81

Definition at line 184 of file sctp_constants.h.

◆ SCTP_BLOCK_LOG_OUTOF_BLK

#define SCTP_BLOCK_LOG_OUTOF_BLK   8

Definition at line 112 of file sctp_constants.h.

◆ SCTP_BOUND_V4

#define SCTP_BOUND_V4   0x02

Definition at line 488 of file sctp_constants.h.

◆ SCTP_BOUND_V6

#define SCTP_BOUND_V6   0x01

Definition at line 487 of file sctp_constants.h.

◆ SCTP_CALC_TSN_TO_GAP

#define SCTP_CALC_TSN_TO_GAP (   gap,
  tsn,
  mapping_tsn 
)
Value:
do { \
if (tsn >= mapping_tsn) { \
gap = tsn - mapping_tsn; \
} else { \
gap = (MAX_TSN - mapping_tsn) + tsn + 1; \
} \
} while (0)
#define MAX_TSN

Definition at line 871 of file sctp_constants.h.

◆ SCTP_CALLED_AFTER_CMPSET_OFCLOSE

#define SCTP_CALLED_AFTER_CMPSET_OFCLOSE   1

Definition at line 838 of file sctp_constants.h.

◆ SCTP_CALLED_DIRECTLY_NOCMPSET

#define SCTP_CALLED_DIRECTLY_NOCMPSET   0

Definition at line 837 of file sctp_constants.h.

◆ SCTP_CALLED_FROM_INPKILL_TIMER

#define SCTP_CALLED_FROM_INPKILL_TIMER   2

Definition at line 839 of file sctp_constants.h.

◆ SCTP_CE_BITS

#define SCTP_CE_BITS   0x03

Definition at line 437 of file sctp_constants.h.

◆ SCTP_CHUNK_BUFFER_SIZE

#define SCTP_CHUNK_BUFFER_SIZE   512

Definition at line 674 of file sctp_constants.h.

◆ SCTP_CHUNK_LIST

#define SCTP_CHUNK_LIST   0x8003

Definition at line 414 of file sctp_constants.h.

◆ SCTP_CHUNKQUEUE_SCALE

#define SCTP_CHUNKQUEUE_SCALE   10

Definition at line 827 of file sctp_constants.h.

◆ SCTP_CLEAR_SUBSTATE

#define SCTP_CLEAR_SUBSTATE (   _stcb,
  _substate 
)     (_stcb)->asoc.state &= ~(_substate)

Definition at line 469 of file sctp_constants.h.

◆ SCTP_CLOCK_GRANULARITY

#define SCTP_CLOCK_GRANULARITY   1

Definition at line 831 of file sctp_constants.h.

◆ SCTP_COOKIE_PRESERVE

#define SCTP_COOKIE_PRESERVE   0x0009

Definition at line 392 of file sctp_constants.h.

◆ SCTP_COUNT_LIMIT

#define SCTP_COUNT_LIMIT   40

Definition at line 75 of file sctp_constants.h.

◆ SCTP_CWND_INITIALIZATION

#define SCTP_CWND_INITIALIZATION   62

Definition at line 165 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FILL_OUTQ_CALLED

#define SCTP_CWND_LOG_FILL_OUTQ_CALLED   69

Definition at line 172 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FILL_OUTQ_FILLS

#define SCTP_CWND_LOG_FILL_OUTQ_FILLS   70

Definition at line 173 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_BRST

#define SCTP_CWND_LOG_FROM_BRST   3

Definition at line 107 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_CA

#define SCTP_CWND_LOG_FROM_CA   5

Definition at line 109 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_FR

#define SCTP_CWND_LOG_FROM_FR   1

Definition at line 105 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_RESEND

#define SCTP_CWND_LOG_FROM_RESEND   66

Definition at line 169 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_RTX

#define SCTP_CWND_LOG_FROM_RTX   2

Definition at line 106 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_SACK

#define SCTP_CWND_LOG_FROM_SACK   64

Definition at line 167 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_SAT

#define SCTP_CWND_LOG_FROM_SAT   6

Definition at line 110 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_SEND

#define SCTP_CWND_LOG_FROM_SEND   61

Definition at line 164 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_SS

#define SCTP_CWND_LOG_FROM_SS   4

Definition at line 108 of file sctp_constants.h.

◆ SCTP_CWND_LOG_FROM_T3

#define SCTP_CWND_LOG_FROM_T3   63

Definition at line 166 of file sctp_constants.h.

◆ SCTP_CWND_LOG_NO_CUMACK

#define SCTP_CWND_LOG_NO_CUMACK   65

Definition at line 168 of file sctp_constants.h.

◆ SCTP_CWND_LOG_NOADV_CA

#define SCTP_CWND_LOG_NOADV_CA   32

Definition at line 135 of file sctp_constants.h.

◆ SCTP_CWND_LOG_NOADV_SS

#define SCTP_CWND_LOG_NOADV_SS   31

Definition at line 134 of file sctp_constants.h.

◆ SCTP_CWNDLOG_ENDSEND

#define SCTP_CWNDLOG_ENDSEND   78

Definition at line 181 of file sctp_constants.h.

◆ SCTP_CWNDLOG_PRESEND

#define SCTP_CWNDLOG_PRESEND   77

Definition at line 180 of file sctp_constants.h.

◆ SCTP_DATAGRAM_ACKED

#define SCTP_DATAGRAM_ACKED   10010

Definition at line 352 of file sctp_constants.h.

◆ SCTP_DATAGRAM_MARKED

#define SCTP_DATAGRAM_MARKED   20010

Definition at line 353 of file sctp_constants.h.

◆ SCTP_DATAGRAM_NR_ACKED

#define SCTP_DATAGRAM_NR_ACKED   40010

Definition at line 355 of file sctp_constants.h.

◆ SCTP_DATAGRAM_RESEND

#define SCTP_DATAGRAM_RESEND   4

Definition at line 351 of file sctp_constants.h.

◆ SCTP_DATAGRAM_RESEND1

#define SCTP_DATAGRAM_RESEND1
Value:
2 /* not used (in code, but may
* hit this value) */

Definition at line 349 of file sctp_constants.h.

◆ SCTP_DATAGRAM_RESEND2

#define SCTP_DATAGRAM_RESEND2
Value:
3 /* not used (in code, but may
* hit this value) */

Definition at line 350 of file sctp_constants.h.

◆ SCTP_DATAGRAM_SENT

#define SCTP_DATAGRAM_SENT   1

Definition at line 348 of file sctp_constants.h.

◆ SCTP_DATAGRAM_UNSENT

#define SCTP_DATAGRAM_UNSENT   0

Definition at line 347 of file sctp_constants.h.

◆ SCTP_DEBUG_ALL

#define SCTP_DEBUG_ALL   0x7ff3ffff

Definition at line 655 of file sctp_constants.h.

◆ SCTP_DEBUG_ASCONF1

#define SCTP_DEBUG_ASCONF1   0x00010000

Definition at line 639 of file sctp_constants.h.

◆ SCTP_DEBUG_ASCONF2

#define SCTP_DEBUG_ASCONF2   0x00020000

Definition at line 640 of file sctp_constants.h.

◆ SCTP_DEBUG_AUTH1

#define SCTP_DEBUG_AUTH1   0x00000400

Definition at line 633 of file sctp_constants.h.

◆ SCTP_DEBUG_AUTH2

#define SCTP_DEBUG_AUTH2   0x00000800 /* unused */

Definition at line 634 of file sctp_constants.h.

◆ SCTP_DEBUG_CRCOFFLOAD

#define SCTP_DEBUG_CRCOFFLOAD   0x08000000 /* unused */

Definition at line 650 of file sctp_constants.h.

◆ SCTP_DEBUG_INDATA1

#define SCTP_DEBUG_INDATA1   0x01000000

Definition at line 647 of file sctp_constants.h.

◆ SCTP_DEBUG_INDATA2

#define SCTP_DEBUG_INDATA2   0x02000000 /* unused */

Definition at line 648 of file sctp_constants.h.

◆ SCTP_DEBUG_INDATA3

#define SCTP_DEBUG_INDATA3   0x04000000 /* unused */

Definition at line 649 of file sctp_constants.h.

◆ SCTP_DEBUG_INPUT1

#define SCTP_DEBUG_INPUT1   0x00001000

Definition at line 635 of file sctp_constants.h.

◆ SCTP_DEBUG_INPUT2

#define SCTP_DEBUG_INPUT2   0x00002000

Definition at line 636 of file sctp_constants.h.

◆ SCTP_DEBUG_INPUT3

#define SCTP_DEBUG_INPUT3   0x00004000

Definition at line 637 of file sctp_constants.h.

◆ SCTP_DEBUG_INPUT4

#define SCTP_DEBUG_INPUT4   0x00008000 /* unused */

Definition at line 638 of file sctp_constants.h.

◆ SCTP_DEBUG_NOISY

#define SCTP_DEBUG_NOISY   0x00040000

Definition at line 656 of file sctp_constants.h.

◆ SCTP_DEBUG_OUTPUT1

#define SCTP_DEBUG_OUTPUT1   0x00000010

Definition at line 627 of file sctp_constants.h.

◆ SCTP_DEBUG_OUTPUT2

#define SCTP_DEBUG_OUTPUT2   0x00000020

Definition at line 628 of file sctp_constants.h.

◆ SCTP_DEBUG_OUTPUT3

#define SCTP_DEBUG_OUTPUT3   0x00000040

Definition at line 629 of file sctp_constants.h.

◆ SCTP_DEBUG_OUTPUT4

#define SCTP_DEBUG_OUTPUT4   0x00000080

Definition at line 630 of file sctp_constants.h.

◆ SCTP_DEBUG_OUTPUT5

#define SCTP_DEBUG_OUTPUT5   0x00040000 /* unused */

Definition at line 641 of file sctp_constants.h.

◆ SCTP_DEBUG_PCB1

#define SCTP_DEBUG_PCB1   0x00100000

Definition at line 643 of file sctp_constants.h.

◆ SCTP_DEBUG_PCB2

#define SCTP_DEBUG_PCB2   0x00200000 /* unused */

Definition at line 644 of file sctp_constants.h.

◆ SCTP_DEBUG_PCB3

#define SCTP_DEBUG_PCB3   0x00400000

Definition at line 645 of file sctp_constants.h.

◆ SCTP_DEBUG_PCB4

#define SCTP_DEBUG_PCB4   0x00800000

Definition at line 646 of file sctp_constants.h.

◆ SCTP_DEBUG_PEEL1

#define SCTP_DEBUG_PEEL1   0x40000000

Definition at line 653 of file sctp_constants.h.

◆ SCTP_DEBUG_TIMER1

#define SCTP_DEBUG_TIMER1   0x00000001

Definition at line 623 of file sctp_constants.h.

◆ SCTP_DEBUG_TIMER2

#define SCTP_DEBUG_TIMER2   0x00000002 /* unused */

Definition at line 624 of file sctp_constants.h.

◆ SCTP_DEBUG_TIMER3

#define SCTP_DEBUG_TIMER3   0x00000004 /* unused */

Definition at line 625 of file sctp_constants.h.

◆ SCTP_DEBUG_TIMER4

#define SCTP_DEBUG_TIMER4   0x00000008

Definition at line 626 of file sctp_constants.h.

◆ SCTP_DEBUG_USRREQ1

#define SCTP_DEBUG_USRREQ1   0x10000000 /* unused */

Definition at line 651 of file sctp_constants.h.

◆ SCTP_DEBUG_USRREQ2

#define SCTP_DEBUG_USRREQ2   0x20000000 /* unused */

Definition at line 652 of file sctp_constants.h.

◆ SCTP_DEBUG_UTIL1

#define SCTP_DEBUG_UTIL1   0x00000100

Definition at line 631 of file sctp_constants.h.

◆ SCTP_DEBUG_UTIL2

#define SCTP_DEBUG_UTIL2   0x00000200 /* unused */

Definition at line 632 of file sctp_constants.h.

◆ SCTP_DEBUG_XXX

#define SCTP_DEBUG_XXX   0x00080000 /* unused */

Definition at line 642 of file sctp_constants.h.

◆ SCTP_DEBUG_XXXXX

#define SCTP_DEBUG_XXXXX   0x80000000 /* unused */

Definition at line 654 of file sctp_constants.h.

◆ SCTP_DECREASE_PEER_RWND

#define SCTP_DECREASE_PEER_RWND   37

Definition at line 140 of file sctp_constants.h.

◆ SCTP_DEF_ASOC_RESC_LIMIT

#define SCTP_DEF_ASOC_RESC_LIMIT   10

Definition at line 924 of file sctp_constants.h.

◆ SCTP_DEF_FRMAX_BURST

#define SCTP_DEF_FRMAX_BURST   4

Definition at line 334 of file sctp_constants.h.

◆ SCTP_DEF_HBMAX_BURST

#define SCTP_DEF_HBMAX_BURST   4

Definition at line 333 of file sctp_constants.h.

◆ SCTP_DEF_MAX_BURST

#define SCTP_DEF_MAX_BURST   4

Definition at line 332 of file sctp_constants.h.

◆ SCTP_DEF_MAX_INIT

#define SCTP_DEF_MAX_INIT   8

Definition at line 602 of file sctp_constants.h.

◆ SCTP_DEF_MAX_PATH_RTX

#define SCTP_DEF_MAX_PATH_RTX   5

Definition at line 604 of file sctp_constants.h.

◆ SCTP_DEF_MAX_SEND

#define SCTP_DEF_MAX_SEND   10

Definition at line 603 of file sctp_constants.h.

◆ SCTP_DEF_PATH_PF_THRESHOLD

#define SCTP_DEF_PATH_PF_THRESHOLD   SCTP_DEF_MAX_PATH_RTX

Definition at line 605 of file sctp_constants.h.

◆ SCTP_DEF_PMTU_RAISE_SEC

#define SCTP_DEF_PMTU_RAISE_SEC   600 /* 10 min between raise attempts */

Definition at line 607 of file sctp_constants.h.

◆ SCTP_DEF_SYSTEM_RESC_LIMIT

#define SCTP_DEF_SYSTEM_RESC_LIMIT   1000

Definition at line 925 of file sctp_constants.h.

◆ SCTP_DEFAULT_ADD_MORE

#define SCTP_DEFAULT_ADD_MORE   1452

Definition at line 816 of file sctp_constants.h.

◆ SCTP_DEFAULT_COOKIE_LIFE

#define SCTP_DEFAULT_COOKIE_LIFE   60000

Definition at line 497 of file sctp_constants.h.

◆ SCTP_DEFAULT_MBUFS_IN_CHAIN

#define SCTP_DEFAULT_MBUFS_IN_CHAIN   5

Definition at line 494 of file sctp_constants.h.

◆ SCTP_DEFAULT_MTU

#define SCTP_DEFAULT_MTU   1500 /* emergency default MTU */

Definition at line 670 of file sctp_constants.h.

◆ SCTP_DEFAULT_MULTIPLE_ASCONFS

#define SCTP_DEFAULT_MULTIPLE_ASCONFS   0

Definition at line 269 of file sctp_constants.h.

◆ SCTP_DEFAULT_SACK_FREQ

#define SCTP_DEFAULT_SACK_FREQ   2

Definition at line 45 of file sctp_constants.h.

◆ SCTP_DEFAULT_SECRET_LIFE_SEC

#define SCTP_DEFAULT_SECRET_LIFE_SEC   3600

Definition at line 593 of file sctp_constants.h.

◆ SCTP_DEFAULT_SPLIT_POINT_MIN

#define SCTP_DEFAULT_SPLIT_POINT_MIN   2904

Definition at line 723 of file sctp_constants.h.

◆ SCTP_DEFAULT_VRF_SIZE

#define SCTP_DEFAULT_VRF_SIZE   4

Definition at line 97 of file sctp_constants.h.

◆ SCTP_DEL_IP_ADDRESS

#define SCTP_DEL_IP_ADDRESS   0xc002

Definition at line 425 of file sctp_constants.h.

◆ SCTP_DIAG_INFO_LEN

#define SCTP_DIAG_INFO_LEN   128

Definition at line 726 of file sctp_constants.h.

◆ SCTP_DO_SETSCOPE

#define SCTP_DO_SETSCOPE   1

Definition at line 802 of file sctp_constants.h.

◆ SCTP_DONOT_SETSCOPE

#define SCTP_DONOT_SETSCOPE   0

Definition at line 801 of file sctp_constants.h.

◆ SCTP_ECN_CAPABLE

#define SCTP_ECN_CAPABLE   0x8000

Definition at line 410 of file sctp_constants.h.

◆ SCTP_ECT0_BIT

#define SCTP_ECT0_BIT   0x02

Definition at line 435 of file sctp_constants.h.

◆ SCTP_ECT1_BIT

#define SCTP_ECT1_BIT   0x01

Definition at line 436 of file sctp_constants.h.

◆ SCTP_ENTER_USER_RECV

#define SCTP_ENTER_USER_RECV   82

Definition at line 185 of file sctp_constants.h.

◆ SCTP_ERROR_CAUSE_IND

#define SCTP_ERROR_CAUSE_IND   0xc003

Definition at line 426 of file sctp_constants.h.

◆ SCTP_FIRST_MBUF_RESV

#define SCTP_FIRST_MBUF_RESV   68

Definition at line 345 of file sctp_constants.h.

◆ SCTP_FLEXIBLE_ADDRESS

#define SCTP_FLEXIBLE_ADDRESS   0x20

Definition at line 440 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_CA

#define SCTP_FLIGHT_LOG_DOWN_CA   107

Definition at line 210 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_GAP

#define SCTP_FLIGHT_LOG_DOWN_GAP   109

Definition at line 212 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_PDRP

#define SCTP_FLIGHT_LOG_DOWN_PDRP   115

Definition at line 218 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_PMTU

#define SCTP_FLIGHT_LOG_DOWN_PMTU   116

Definition at line 219 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_RSND

#define SCTP_FLIGHT_LOG_DOWN_RSND   110

Definition at line 213 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_RSND_TO

#define SCTP_FLIGHT_LOG_DOWN_RSND_TO   112

Definition at line 215 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DOWN_WP

#define SCTP_FLIGHT_LOG_DOWN_WP   113

Definition at line 216 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_DWN_WP_FWD

#define SCTP_FLIGHT_LOG_DWN_WP_FWD   122

Definition at line 225 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_UP

#define SCTP_FLIGHT_LOG_UP   108

Definition at line 211 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_UP_REVOKE

#define SCTP_FLIGHT_LOG_UP_REVOKE   114

Definition at line 217 of file sctp_constants.h.

◆ SCTP_FLIGHT_LOG_UP_RSND

#define SCTP_FLIGHT_LOG_UP_RSND   111

Definition at line 214 of file sctp_constants.h.

◆ SCTP_FORWARD_TSN_SKIP

#define SCTP_FORWARD_TSN_SKIP   30010

Definition at line 354 of file sctp_constants.h.

◆ SCTP_FR_CWND_REPORT

#define SCTP_FR_CWND_REPORT   58

Definition at line 161 of file sctp_constants.h.

◆ SCTP_FR_CWND_REPORT_START

#define SCTP_FR_CWND_REPORT_START   59

Definition at line 162 of file sctp_constants.h.

◆ SCTP_FR_CWND_REPORT_STOP

#define SCTP_FR_CWND_REPORT_STOP   60

Definition at line 163 of file sctp_constants.h.

◆ SCTP_FR_DUPED

#define SCTP_FR_DUPED   56

Definition at line 159 of file sctp_constants.h.

◆ SCTP_FR_LOG_BIGGEST_TSNS

#define SCTP_FR_LOG_BIGGEST_TSNS   17

Definition at line 121 of file sctp_constants.h.

◆ SCTP_FR_LOG_CHECK_STRIKE

#define SCTP_FR_LOG_CHECK_STRIKE   67

Definition at line 170 of file sctp_constants.h.

◆ SCTP_FR_LOG_STRIKE_CHUNK

#define SCTP_FR_LOG_STRIKE_CHUNK   19

Definition at line 123 of file sctp_constants.h.

◆ SCTP_FR_LOG_STRIKE_TEST

#define SCTP_FR_LOG_STRIKE_TEST   18

Definition at line 122 of file sctp_constants.h.

◆ SCTP_FR_MARKED

#define SCTP_FR_MARKED   30

Definition at line 133 of file sctp_constants.h.

◆ SCTP_FR_MARKED_EARLY

#define SCTP_FR_MARKED_EARLY   57

Definition at line 160 of file sctp_constants.h.

◆ SCTP_FR_T3_MARK_TIME

#define SCTP_FR_T3_MARK_TIME   26

Definition at line 130 of file sctp_constants.h.

◆ SCTP_FR_T3_MARKED

#define SCTP_FR_T3_MARKED   27

Definition at line 131 of file sctp_constants.h.

◆ SCTP_FR_T3_STOPPED

#define SCTP_FR_T3_STOPPED   28

Definition at line 132 of file sctp_constants.h.

◆ SCTP_FR_T3_TIMEOUT

#define SCTP_FR_T3_TIMEOUT   20

Definition at line 124 of file sctp_constants.h.

◆ SCTP_FREE_SHOULD_USE_ABORT

#define SCTP_FREE_SHOULD_USE_ABORT   1

Definition at line 841 of file sctp_constants.h.

◆ SCTP_FREE_SHOULD_USE_GRACEFUL_CLOSE

#define SCTP_FREE_SHOULD_USE_GRACEFUL_CLOSE   0

Definition at line 842 of file sctp_constants.h.

◆ SCTP_FROM_SCTP6_USRREQ

#define SCTP_FROM_SCTP6_USRREQ   0x70000000

Definition at line 740 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_ASCONF

#define SCTP_FROM_SCTP_ASCONF   0x80000000

Definition at line 741 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_CC_FUNCTIONS

#define SCTP_FROM_SCTP_CC_FUNCTIONS   0xc0000000

Definition at line 745 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_INDATA

#define SCTP_FROM_SCTP_INDATA   0x30000000

Definition at line 736 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_INPUT

#define SCTP_FROM_SCTP_INPUT   0x10000000

Definition at line 734 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_OUTPUT

#define SCTP_FROM_SCTP_OUTPUT   0x90000000

Definition at line 742 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_PCB

#define SCTP_FROM_SCTP_PCB   0x20000000

Definition at line 735 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_PEELOFF

#define SCTP_FROM_SCTP_PEELOFF   0xa0000000

Definition at line 743 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_SYSCTL

#define SCTP_FROM_SCTP_SYSCTL   0xb0000000

Definition at line 744 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_TIMER

#define SCTP_FROM_SCTP_TIMER   0x40000000

Definition at line 737 of file sctp_constants.h.

◆ SCTP_FROM_SCTP_USRREQ

#define SCTP_FROM_SCTP_USRREQ   0x50000000

Definition at line 738 of file sctp_constants.h.

◆ SCTP_FROM_SCTPUTIL

#define SCTP_FROM_SCTPUTIL   0x60000000

Definition at line 739 of file sctp_constants.h.

◆ SCTP_FWD_TSN_CHECK

#define SCTP_FWD_TSN_CHECK   123

Definition at line 226 of file sctp_constants.h.

◆ SCTP_GET_STATE

#define SCTP_GET_STATE (   _stcb)     ((_stcb)->asoc.state & SCTP_STATE_MASK)

Definition at line 465 of file sctp_constants.h.

◆ SCTP_GETPTIME_TIMEVAL

#define SCTP_GETPTIME_TIMEVAL (   x)    (microuptime(x))

Definition at line 960 of file sctp_constants.h.

◆ SCTP_GETTIME_TIMEVAL

#define SCTP_GETTIME_TIMEVAL (   x)    (getmicrouptime(x))

Definition at line 959 of file sctp_constants.h.

◆ SCTP_HAS_NAT_SUPPORT

#define SCTP_HAS_NAT_SUPPORT   0xc007

Definition at line 431 of file sctp_constants.h.

◆ SCTP_HB_DEFAULT_MSEC

#define SCTP_HB_DEFAULT_MSEC   30000

Definition at line 587 of file sctp_constants.h.

◆ SCTP_HEARTBEAT_INFO

#define SCTP_HEARTBEAT_INFO   0x0001

Definition at line 387 of file sctp_constants.h.

◆ SCTP_HMAC

#define SCTP_HMAC   SCTP_AUTH_HMAC_ID_SHA1

Definition at line 298 of file sctp_constants.h.

◆ SCTP_HMAC_LIST

#define SCTP_HMAC_LIST   0x8004

Definition at line 415 of file sctp_constants.h.

◆ SCTP_HOSTNAME_ADDRESS

#define SCTP_HOSTNAME_ADDRESS   0x000b

Definition at line 393 of file sctp_constants.h.

◆ SCTP_HOW_MANY_SECRETS

#define SCTP_HOW_MANY_SECRETS   2 /* how many secrets I keep */

Definition at line 680 of file sctp_constants.h.

◆ SCTP_IGNORE_CWND_ON_FR

#define SCTP_IGNORE_CWND_ON_FR   1

Definition at line 323 of file sctp_constants.h.

◆ SCTP_IN_COOKIE_PROC

#define SCTP_IN_COOKIE_PROC   100

Definition at line 794 of file sctp_constants.h.

◆ SCTP_INCREASE_PEER_RWND

#define SCTP_INCREASE_PEER_RWND   36

Definition at line 139 of file sctp_constants.h.

◆ SCTP_INIT_SEC

#define SCTP_INIT_SEC   1

Definition at line 578 of file sctp_constants.h.

◆ SCTP_INITIAL_CWND

#define SCTP_INITIAL_CWND   4380

Definition at line 668 of file sctp_constants.h.

◆ SCTP_INITIAL_MAPPING_ARRAY

#define SCTP_INITIAL_MAPPING_ARRAY   16

Definition at line 503 of file sctp_constants.h.

◆ SCTP_INP_KILL_TIMEOUT

#define SCTP_INP_KILL_TIMEOUT   20 /* number of ms to retry kill of inpcb */

Definition at line 599 of file sctp_constants.h.

◆ SCTP_IPV4_ADDRESS

#define SCTP_IPV4_ADDRESS   0x0005

Definition at line 388 of file sctp_constants.h.

◆ SCTP_IPV6_ADDRESS

#define SCTP_IPV6_ADDRESS   0x0006

Definition at line 389 of file sctp_constants.h.

◆ SCTP_IS_TIMER_TYPE_VALID

#define SCTP_IS_TIMER_TYPE_VALID (   t)
Value:
(((t) > SCTP_TIMER_TYPE_NONE) && \
#define SCTP_TIMER_TYPE_LAST
#define SCTP_TIMER_TYPE_NONE

Definition at line 546 of file sctp_constants.h.

◆ SCTP_IS_TSN_PRESENT

#define SCTP_IS_TSN_PRESENT (   arry,
  gap 
)    ((arry[(gap >> 3)] >> (gap & 0x07)) & 0x01)

Definition at line 868 of file sctp_constants.h.

◆ SCTP_ISTREAM_INITIAL

#define SCTP_ISTREAM_INITIAL   2048

Definition at line 611 of file sctp_constants.h.

◆ SCTP_ITERATOR_MAX_AT_ONCE

#define SCTP_ITERATOR_MAX_AT_ONCE   20

Definition at line 312 of file sctp_constants.h.

◆ SCTP_ITERATOR_TICKS

#define SCTP_ITERATOR_TICKS   1

Definition at line 315 of file sctp_constants.h.

◆ SCTP_KTHREAD_PAGES

#define SCTP_KTHREAD_PAGES   0

Definition at line 90 of file sctp_constants.h.

◆ SCTP_KTRHEAD_NAME

#define SCTP_KTRHEAD_NAME   "sctp_iterator"

Definition at line 89 of file sctp_constants.h.

◆ SCTP_LAN_INTERNET

#define SCTP_LAN_INTERNET   2

Definition at line 912 of file sctp_constants.h.

◆ SCTP_LAN_LOCAL

#define SCTP_LAN_LOCAL   1

Definition at line 911 of file sctp_constants.h.

◆ SCTP_LAN_UNKNOWN

#define SCTP_LAN_UNKNOWN   0

Definition at line 910 of file sctp_constants.h.

◆ SCTP_LARGEST_INIT_ACCEPTED

#define SCTP_LARGEST_INIT_ACCEPTED   (65535 - 2048)

Definition at line 68 of file sctp_constants.h.

◆ SCTP_LOAD_ADDR_2

#define SCTP_LOAD_ADDR_2   2

Definition at line 796 of file sctp_constants.h.

◆ SCTP_LOAD_ADDR_3

#define SCTP_LOAD_ADDR_3   3

Definition at line 797 of file sctp_constants.h.

◆ SCTP_LOAD_ADDR_4

#define SCTP_LOAD_ADDR_4   4

Definition at line 798 of file sctp_constants.h.

◆ SCTP_LOAD_ADDR_5

#define SCTP_LOAD_ADDR_5   5

Definition at line 799 of file sctp_constants.h.

◆ SCTP_LOC_1

#define SCTP_LOC_1   0x00000001

Definition at line 748 of file sctp_constants.h.

◆ SCTP_LOC_10

#define SCTP_LOC_10   0x0000000a

Definition at line 757 of file sctp_constants.h.

◆ SCTP_LOC_11

#define SCTP_LOC_11   0x0000000b

Definition at line 758 of file sctp_constants.h.

◆ SCTP_LOC_12

#define SCTP_LOC_12   0x0000000c

Definition at line 759 of file sctp_constants.h.

◆ SCTP_LOC_13

#define SCTP_LOC_13   0x0000000d

Definition at line 760 of file sctp_constants.h.

◆ SCTP_LOC_14

#define SCTP_LOC_14   0x0000000e

Definition at line 761 of file sctp_constants.h.

◆ SCTP_LOC_15

#define SCTP_LOC_15   0x0000000f

Definition at line 762 of file sctp_constants.h.

◆ SCTP_LOC_16

#define SCTP_LOC_16   0x00000010

Definition at line 763 of file sctp_constants.h.

◆ SCTP_LOC_17

#define SCTP_LOC_17   0x00000011

Definition at line 764 of file sctp_constants.h.

◆ SCTP_LOC_18

#define SCTP_LOC_18   0x00000012

Definition at line 765 of file sctp_constants.h.

◆ SCTP_LOC_19

#define SCTP_LOC_19   0x00000013

Definition at line 766 of file sctp_constants.h.

◆ SCTP_LOC_2

#define SCTP_LOC_2   0x00000002

Definition at line 749 of file sctp_constants.h.

◆ SCTP_LOC_20

#define SCTP_LOC_20   0x00000014

Definition at line 767 of file sctp_constants.h.

◆ SCTP_LOC_21

#define SCTP_LOC_21   0x00000015

Definition at line 768 of file sctp_constants.h.

◆ SCTP_LOC_22

#define SCTP_LOC_22   0x00000016

Definition at line 769 of file sctp_constants.h.

◆ SCTP_LOC_23

#define SCTP_LOC_23   0x00000017

Definition at line 770 of file sctp_constants.h.

◆ SCTP_LOC_24

#define SCTP_LOC_24   0x00000018

Definition at line 771 of file sctp_constants.h.

◆ SCTP_LOC_25

#define SCTP_LOC_25   0x00000019

Definition at line 772 of file sctp_constants.h.

◆ SCTP_LOC_26

#define SCTP_LOC_26   0x0000001a

Definition at line 773 of file sctp_constants.h.

◆ SCTP_LOC_27

#define SCTP_LOC_27   0x0000001b

Definition at line 774 of file sctp_constants.h.

◆ SCTP_LOC_28

#define SCTP_LOC_28   0x0000001c

Definition at line 775 of file sctp_constants.h.

◆ SCTP_LOC_29

#define SCTP_LOC_29   0x0000001d

Definition at line 776 of file sctp_constants.h.

◆ SCTP_LOC_3

#define SCTP_LOC_3   0x00000003

Definition at line 750 of file sctp_constants.h.

◆ SCTP_LOC_30

#define SCTP_LOC_30   0x0000001e

Definition at line 777 of file sctp_constants.h.

◆ SCTP_LOC_31

#define SCTP_LOC_31   0x0000001f

Definition at line 778 of file sctp_constants.h.

◆ SCTP_LOC_32

#define SCTP_LOC_32   0x00000020

Definition at line 779 of file sctp_constants.h.

◆ SCTP_LOC_33

#define SCTP_LOC_33   0x00000021

Definition at line 780 of file sctp_constants.h.

◆ SCTP_LOC_34

#define SCTP_LOC_34   0x00000022

Definition at line 781 of file sctp_constants.h.

◆ SCTP_LOC_35

#define SCTP_LOC_35   0x00000023

Definition at line 782 of file sctp_constants.h.

◆ SCTP_LOC_36

#define SCTP_LOC_36   0x00000024

Definition at line 783 of file sctp_constants.h.

◆ SCTP_LOC_37

#define SCTP_LOC_37   0x00000025

Definition at line 784 of file sctp_constants.h.

◆ SCTP_LOC_4

#define SCTP_LOC_4   0x00000004

Definition at line 751 of file sctp_constants.h.

◆ SCTP_LOC_5

#define SCTP_LOC_5   0x00000005

Definition at line 752 of file sctp_constants.h.

◆ SCTP_LOC_6

#define SCTP_LOC_6   0x00000006

Definition at line 753 of file sctp_constants.h.

◆ SCTP_LOC_7

#define SCTP_LOC_7   0x00000007

Definition at line 754 of file sctp_constants.h.

◆ SCTP_LOC_8

#define SCTP_LOC_8   0x00000008

Definition at line 755 of file sctp_constants.h.

◆ SCTP_LOC_9

#define SCTP_LOC_9   0x00000009

Definition at line 756 of file sctp_constants.h.

◆ SCTP_LOCAL_LAN_RTT

#define SCTP_LOCAL_LAN_RTT   900

Definition at line 909 of file sctp_constants.h.

◆ SCTP_LOCK_UNKNOWN

#define SCTP_LOCK_UNKNOWN   2

Definition at line 261 of file sctp_constants.h.

◆ SCTP_LOG_CHUNK_PROC

#define SCTP_LOG_CHUNK_PROC   18

Definition at line 256 of file sctp_constants.h.

◆ SCTP_LOG_ERROR_RET

#define SCTP_LOG_ERROR_RET   19

Definition at line 257 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_BLOCK

#define SCTP_LOG_EVENT_BLOCK   2

Definition at line 240 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_CLOSE

#define SCTP_LOG_EVENT_CLOSE   16

Definition at line 254 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_CWND

#define SCTP_LOG_EVENT_CWND   1

Definition at line 239 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_FR

#define SCTP_LOG_EVENT_FR   4

Definition at line 242 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_MAP

#define SCTP_LOG_EVENT_MAP   5

Definition at line 243 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_MAXBURST

#define SCTP_LOG_EVENT_MAXBURST   6

Definition at line 244 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_MBCNT

#define SCTP_LOG_EVENT_MBCNT   8

Definition at line 246 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_MBUF

#define SCTP_LOG_EVENT_MBUF   17

Definition at line 255 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_NAGLE

#define SCTP_LOG_EVENT_NAGLE   13

Definition at line 251 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_RTT

#define SCTP_LOG_EVENT_RTT   11

Definition at line 249 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_RWND

#define SCTP_LOG_EVENT_RWND   7

Definition at line 245 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_SACK

#define SCTP_LOG_EVENT_SACK   9

Definition at line 247 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_SB

#define SCTP_LOG_EVENT_SB   12

Definition at line 250 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_STRM

#define SCTP_LOG_EVENT_STRM   3

Definition at line 241 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_UNKNOWN

#define SCTP_LOG_EVENT_UNKNOWN   0

Definition at line 238 of file sctp_constants.h.

◆ SCTP_LOG_EVENT_WAKE

#define SCTP_LOG_EVENT_WAKE   14

Definition at line 252 of file sctp_constants.h.

◆ SCTP_LOG_FREE_SENT

#define SCTP_LOG_FREE_SENT   71

Definition at line 174 of file sctp_constants.h.

◆ SCTP_LOG_INITIAL_RTT

#define SCTP_LOG_INITIAL_RTT   51

Definition at line 154 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_CREATE

#define SCTP_LOG_LOCK_CREATE   50

Definition at line 153 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_EVENT

#define SCTP_LOG_LOCK_EVENT   10

Definition at line 248 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_INP

#define SCTP_LOG_LOCK_INP   46

Definition at line 149 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_SOCK

#define SCTP_LOG_LOCK_SOCK   47

Definition at line 150 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_SOCKBUF_R

#define SCTP_LOG_LOCK_SOCKBUF_R   48

Definition at line 151 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_SOCKBUF_S

#define SCTP_LOG_LOCK_SOCKBUF_S   49

Definition at line 152 of file sctp_constants.h.

◆ SCTP_LOG_LOCK_TCB

#define SCTP_LOG_LOCK_TCB   45

Definition at line 148 of file sctp_constants.h.

◆ SCTP_LOG_MAX_EVENT

#define SCTP_LOG_MAX_EVENT   20

Definition at line 259 of file sctp_constants.h.

◆ SCTP_LOG_MAX_TYPES

#define SCTP_LOG_MAX_TYPES   124

Definition at line 227 of file sctp_constants.h.

◆ SCTP_LOG_MBCNT_CHKSET

#define SCTP_LOG_MBCNT_CHKSET   41

Definition at line 144 of file sctp_constants.h.

◆ SCTP_LOG_MBCNT_DECREASE

#define SCTP_LOG_MBCNT_DECREASE   40

Definition at line 143 of file sctp_constants.h.

◆ SCTP_LOG_MBCNT_INCREASE

#define SCTP_LOG_MBCNT_INCREASE   39

Definition at line 142 of file sctp_constants.h.

◆ SCTP_LOG_MISC_EVENT

#define SCTP_LOG_MISC_EVENT   15

Definition at line 253 of file sctp_constants.h.

◆ SCTP_LOG_NEW_SACK

#define SCTP_LOG_NEW_SACK   42

Definition at line 145 of file sctp_constants.h.

◆ SCTP_LOG_RTTVAR

#define SCTP_LOG_RTTVAR   52

Definition at line 155 of file sctp_constants.h.

◆ SCTP_LOG_SBALLOC

#define SCTP_LOG_SBALLOC   53

Definition at line 156 of file sctp_constants.h.

◆ SCTP_LOG_SBFREE

#define SCTP_LOG_SBFREE   54

Definition at line 157 of file sctp_constants.h.

◆ SCTP_LOG_SBRESULT

#define SCTP_LOG_SBRESULT   55

Definition at line 158 of file sctp_constants.h.

◆ SCTP_LOG_TSN_ACKED

#define SCTP_LOG_TSN_ACKED   43

Definition at line 146 of file sctp_constants.h.

◆ SCTP_LOG_TSN_REVOKED

#define SCTP_LOG_TSN_REVOKED   44

Definition at line 147 of file sctp_constants.h.

◆ SCTP_MAP_PREPARE_SLIDE

#define SCTP_MAP_PREPARE_SLIDE   21

Definition at line 125 of file sctp_constants.h.

◆ SCTP_MAP_SLIDE_CLEARED

#define SCTP_MAP_SLIDE_CLEARED   24

Definition at line 128 of file sctp_constants.h.

◆ SCTP_MAP_SLIDE_FROM

#define SCTP_MAP_SLIDE_FROM   22

Definition at line 126 of file sctp_constants.h.

◆ SCTP_MAP_SLIDE_NONE

#define SCTP_MAP_SLIDE_NONE   25

Definition at line 129 of file sctp_constants.h.

◆ SCTP_MAP_SLIDE_RESULT

#define SCTP_MAP_SLIDE_RESULT   23

Definition at line 127 of file sctp_constants.h.

◆ SCTP_MAP_TSN_ENTERS

#define SCTP_MAP_TSN_ENTERS   119

Definition at line 222 of file sctp_constants.h.

◆ SCTP_MAPPING_ARRAY

#define SCTP_MAPPING_ARRAY   512

Definition at line 500 of file sctp_constants.h.

◆ SCTP_MAPPING_ARRAY_INCR

#define SCTP_MAPPING_ARRAY_INCR   32

Definition at line 505 of file sctp_constants.h.

◆ SCTP_MAX_BURST_APPLIED

#define SCTP_MAX_BURST_APPLIED   33

Definition at line 136 of file sctp_constants.h.

◆ SCTP_MAX_BURST_ERROR_STOP

#define SCTP_MAX_BURST_ERROR_STOP   35

Definition at line 138 of file sctp_constants.h.

◆ SCTP_MAX_CAUSE_LENGTH

#define SCTP_MAX_CAUSE_LENGTH   0xffff

Definition at line 73 of file sctp_constants.h.

◆ SCTP_MAX_CHUNK_LENGTH

#define SCTP_MAX_CHUNK_LENGTH   0xffff

Definition at line 71 of file sctp_constants.h.

◆ SCTP_MAX_DATA_BUNDLING

#define SCTP_MAX_DATA_BUNDLING   256

Definition at line 848 of file sctp_constants.h.

◆ SCTP_MAX_DUP_TSNS

#define SCTP_MAX_DUP_TSNS   20

Definition at line 550 of file sctp_constants.h.

◆ SCTP_MAX_IFP_APPLIED

#define SCTP_MAX_IFP_APPLIED   34

Definition at line 137 of file sctp_constants.h.

◆ SCTP_MAX_NUM_OF_ASOC

#define SCTP_MAX_NUM_OF_ASOC   40000

Definition at line 264 of file sctp_constants.h.

◆ SCTP_MAX_RESET_PARAMS

#define SCTP_MAX_RESET_PARAMS   2

Definition at line 404 of file sctp_constants.h.

◆ SCTP_MBUF_IALLOC

#define SCTP_MBUF_IALLOC   91

Definition at line 194 of file sctp_constants.h.

◆ SCTP_MBUF_ICOPY

#define SCTP_MBUF_ICOPY   93

Definition at line 196 of file sctp_constants.h.

◆ SCTP_MBUF_IFREE

#define SCTP_MBUF_IFREE   92

Definition at line 195 of file sctp_constants.h.

◆ SCTP_MBUF_INPUT

#define SCTP_MBUF_INPUT   90

Definition at line 193 of file sctp_constants.h.

◆ SCTP_MBUF_SPLIT

#define SCTP_MBUF_SPLIT   94

Definition at line 197 of file sctp_constants.h.

◆ SCTP_MCORE_NAME

#define SCTP_MCORE_NAME   "sctp_core_worker"

Definition at line 92 of file sctp_constants.h.

◆ SCTP_MID_EQ

#define SCTP_MID_EQ (   i,
  a,
 
)    (((i) == 1) ? a == b : (uint16_t)a == (uint16_t)b)

Definition at line 865 of file sctp_constants.h.

◆ SCTP_MID_GE

#define SCTP_MID_GE (   i,
  a,
 
)    (((i) == 1) ? SCTP_UINT32_GE(a, b) : SCTP_UINT16_GE((uint16_t)a, (uint16_t)b))

Definition at line 864 of file sctp_constants.h.

◆ SCTP_MID_GT

#define SCTP_MID_GT (   i,
  a,
 
)    (((i) == 1) ? SCTP_UINT32_GT(a, b) : SCTP_UINT16_GT((uint16_t)a, (uint16_t)b))

Definition at line 863 of file sctp_constants.h.

◆ SCTP_MIN_RWND

#define SCTP_MIN_RWND   1500

Definition at line 672 of file sctp_constants.h.

◆ SCTP_MINFR_MSEC_FLOOR

#define SCTP_MINFR_MSEC_FLOOR   20

Definition at line 575 of file sctp_constants.h.

◆ SCTP_MINFR_MSEC_TIMER

#define SCTP_MINFR_MSEC_TIMER   250

Definition at line 573 of file sctp_constants.h.

◆ SCTP_MINIMAL_RWND

#define SCTP_MINIMAL_RWND   (4096) /* minimal rwnd */

Definition at line 618 of file sctp_constants.h.

◆ SCTP_NAGLE_APPLIED

#define SCTP_NAGLE_APPLIED   72

Definition at line 175 of file sctp_constants.h.

◆ SCTP_NAGLE_SKIPPED

#define SCTP_NAGLE_SKIPPED   73

Definition at line 176 of file sctp_constants.h.

◆ SCTP_NAT_VTAGS

#define SCTP_NAT_VTAGS   0xc008

Definition at line 432 of file sctp_constants.h.

◆ SCTP_NO_FR_UNLESS_SEGMENT_SMALLER

#define SCTP_NO_FR_UNLESS_SEGMENT_SMALLER   1

Definition at line 329 of file sctp_constants.h.

◆ SCTP_NO_HEARTBEAT

#define SCTP_NO_HEARTBEAT   0x40

Definition at line 441 of file sctp_constants.h.

◆ SCTP_NORMAL_PROC

#define SCTP_NORMAL_PROC   0

Definition at line 787 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASCONF_ADD_IP

#define SCTP_NOTIFY_ASCONF_ADD_IP   12

Definition at line 699 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASCONF_DELETE_IP

#define SCTP_NOTIFY_ASCONF_DELETE_IP   13

Definition at line 700 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASCONF_SET_PRIMARY

#define SCTP_NOTIFY_ASCONF_SET_PRIMARY   14

Definition at line 701 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASSOC_DOWN

#define SCTP_NOTIFY_ASSOC_DOWN   2

Definition at line 689 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASSOC_LOC_ABORTED

#define SCTP_NOTIFY_ASSOC_LOC_ABORTED   8

Definition at line 695 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASSOC_REM_ABORTED

#define SCTP_NOTIFY_ASSOC_REM_ABORTED   9

Definition at line 696 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASSOC_RESTART

#define SCTP_NOTIFY_ASSOC_RESTART   10

Definition at line 697 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASSOC_TIMEDOUT

#define SCTP_NOTIFY_ASSOC_TIMEDOUT   28

Definition at line 715 of file sctp_constants.h.

◆ SCTP_NOTIFY_ASSOC_UP

#define SCTP_NOTIFY_ASSOC_UP   1

Definition at line 688 of file sctp_constants.h.

◆ SCTP_NOTIFY_AUTH_FREE_KEY

#define SCTP_NOTIFY_AUTH_FREE_KEY   24

Definition at line 711 of file sctp_constants.h.

◆ SCTP_NOTIFY_AUTH_NEW_KEY

#define SCTP_NOTIFY_AUTH_NEW_KEY   23

Definition at line 710 of file sctp_constants.h.

◆ SCTP_NOTIFY_INTERFACE_CONFIRMED

#define SCTP_NOTIFY_INTERFACE_CONFIRMED   16

Definition at line 703 of file sctp_constants.h.

◆ SCTP_NOTIFY_INTERFACE_DOWN

#define SCTP_NOTIFY_INTERFACE_DOWN   3

Definition at line 690 of file sctp_constants.h.

◆ SCTP_NOTIFY_INTERFACE_UP

#define SCTP_NOTIFY_INTERFACE_UP   4

Definition at line 691 of file sctp_constants.h.

◆ SCTP_NOTIFY_NO_PEER_AUTH

#define SCTP_NOTIFY_NO_PEER_AUTH   25

Definition at line 712 of file sctp_constants.h.

◆ SCTP_NOTIFY_PARTIAL_DELVIERY_INDICATION

#define SCTP_NOTIFY_PARTIAL_DELVIERY_INDICATION   15

Definition at line 702 of file sctp_constants.h.

◆ SCTP_NOTIFY_PEER_SHUTDOWN

#define SCTP_NOTIFY_PEER_SHUTDOWN   11

Definition at line 698 of file sctp_constants.h.

◆ SCTP_NOTIFY_REMOTE_ERROR

#define SCTP_NOTIFY_REMOTE_ERROR   27

Definition at line 714 of file sctp_constants.h.

◆ SCTP_NOTIFY_SENDER_DRY

#define SCTP_NOTIFY_SENDER_DRY   26

Definition at line 713 of file sctp_constants.h.

◆ SCTP_NOTIFY_SENT_DG_FAIL

#define SCTP_NOTIFY_SENT_DG_FAIL   5

Definition at line 692 of file sctp_constants.h.

◆ SCTP_NOTIFY_SPECIAL_SP_FAIL

#define SCTP_NOTIFY_SPECIAL_SP_FAIL   7

Definition at line 694 of file sctp_constants.h.

◆ SCTP_NOTIFY_STR_RESET_DENIED_IN

#define SCTP_NOTIFY_STR_RESET_DENIED_IN   22

Definition at line 709 of file sctp_constants.h.

◆ SCTP_NOTIFY_STR_RESET_DENIED_OUT

#define SCTP_NOTIFY_STR_RESET_DENIED_OUT   21

Definition at line 708 of file sctp_constants.h.

◆ SCTP_NOTIFY_STR_RESET_FAILED_IN

#define SCTP_NOTIFY_STR_RESET_FAILED_IN   20

Definition at line 707 of file sctp_constants.h.

◆ SCTP_NOTIFY_STR_RESET_FAILED_OUT

#define SCTP_NOTIFY_STR_RESET_FAILED_OUT   19

Definition at line 706 of file sctp_constants.h.

◆ SCTP_NOTIFY_STR_RESET_RECV

#define SCTP_NOTIFY_STR_RESET_RECV   17

Definition at line 704 of file sctp_constants.h.

◆ SCTP_NOTIFY_STR_RESET_SEND

#define SCTP_NOTIFY_STR_RESET_SEND   18

Definition at line 705 of file sctp_constants.h.

◆ SCTP_NOTIFY_UNSENT_DG_FAIL

#define SCTP_NOTIFY_UNSENT_DG_FAIL   6

Definition at line 693 of file sctp_constants.h.

◆ SCTP_NOWAKE_FROM_SACK

#define SCTP_NOWAKE_FROM_SACK   76

Definition at line 179 of file sctp_constants.h.

◆ SCTP_NUM_TMRS

#define SCTP_NUM_TMRS   7

Definition at line 522 of file sctp_constants.h.

◆ SCTP_NUMBER_IN_VTAG_BLOCK

#define SCTP_NUMBER_IN_VTAG_BLOCK   15

Definition at line 889 of file sctp_constants.h.

◆ SCTP_NUMBER_OF_SECRETS

#define SCTP_NUMBER_OF_SECRETS   8 /* or 8 * 4 = 32 octets */

Definition at line 682 of file sctp_constants.h.

◆ SCTP_OSTREAM_INITIAL

#define SCTP_OSTREAM_INITIAL   10

Definition at line 610 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_ASCONF_TMR

#define SCTP_OUTPUT_FROM_ASCONF_TMR   8

Definition at line 366 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_AUTOCLOSE_TMR

#define SCTP_OUTPUT_FROM_AUTOCLOSE_TMR   10

Definition at line 368 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_CLOSING

#define SCTP_OUTPUT_FROM_CLOSING   16

Definition at line 374 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_CONTROL_PROC

#define SCTP_OUTPUT_FROM_CONTROL_PROC   3

Definition at line 361 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_COOKIE_ACK

#define SCTP_OUTPUT_FROM_COOKIE_ACK   14

Definition at line 372 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_DRAIN

#define SCTP_OUTPUT_FROM_DRAIN   15

Definition at line 373 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_EARLY_FR_TMR

#define SCTP_OUTPUT_FROM_EARLY_FR_TMR   11

Definition at line 369 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_HB_TMR

#define SCTP_OUTPUT_FROM_HB_TMR   6

Definition at line 364 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_INPUT_ERROR

#define SCTP_OUTPUT_FROM_INPUT_ERROR   2

Definition at line 360 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_SACK_TMR

#define SCTP_OUTPUT_FROM_SACK_TMR   4

Definition at line 362 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_SHUT_ACK_TMR

#define SCTP_OUTPUT_FROM_SHUT_ACK_TMR   7

Definition at line 365 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_SHUT_TMR

#define SCTP_OUTPUT_FROM_SHUT_TMR   5

Definition at line 363 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_SOCKOPT

#define SCTP_OUTPUT_FROM_SOCKOPT   17

Definition at line 375 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_STRRST_REQ

#define SCTP_OUTPUT_FROM_STRRST_REQ   12

Definition at line 370 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_STRRST_TMR

#define SCTP_OUTPUT_FROM_STRRST_TMR   9

Definition at line 367 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_T3

#define SCTP_OUTPUT_FROM_T3   1

Definition at line 359 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_USR_RCVD

#define SCTP_OUTPUT_FROM_USR_RCVD   13

Definition at line 371 of file sctp_constants.h.

◆ SCTP_OUTPUT_FROM_USR_SEND

#define SCTP_OUTPUT_FROM_USR_SEND   0

Definition at line 358 of file sctp_constants.h.

◆ SCTP_OVER_UDP_TUNNELING_PORT

#define SCTP_OVER_UDP_TUNNELING_PORT   9899

Definition at line 42 of file sctp_constants.h.

◆ SCTP_PAD

#define SCTP_PAD   0x8005

Definition at line 417 of file sctp_constants.h.

◆ SCTP_PARAM_BUFFER_SIZE

#define SCTP_PARAM_BUFFER_SIZE   512

Definition at line 675 of file sctp_constants.h.

◆ SCTP_PARTIAL_DELIVERY_SHIFT

#define SCTP_PARTIAL_DELIVERY_SHIFT   1

Definition at line 291 of file sctp_constants.h.

◆ SCTP_PCBFREE_FORCE

#define SCTP_PCBFREE_FORCE   2

Definition at line 789 of file sctp_constants.h.

◆ SCTP_PCBFREE_NOFORCE

#define SCTP_PCBFREE_NOFORCE   1

Definition at line 788 of file sctp_constants.h.

◆ SCTP_PCBHASHSIZE

#define SCTP_PCBHASHSIZE   256

Definition at line 820 of file sctp_constants.h.

◆ SCTP_PRSCTP_SUPPORTED

#define SCTP_PRSCTP_SUPPORTED   0xc000

Definition at line 422 of file sctp_constants.h.

◆ SCTP_RANDOM

#define SCTP_RANDOM   0x8002

Definition at line 413 of file sctp_constants.h.

◆ SCTP_RANDY_STUFF

#define SCTP_RANDY_STUFF   103

Definition at line 206 of file sctp_constants.h.

◆ SCTP_RANDY_STUFF1

#define SCTP_RANDY_STUFF1   104

Definition at line 207 of file sctp_constants.h.

◆ SCTP_REASON_FOR_SC

#define SCTP_REASON_FOR_SC   80

Definition at line 183 of file sctp_constants.h.

◆ SCTP_RECV_BUFFER_SPLITTING

#define SCTP_RECV_BUFFER_SPLITTING   0x00000002

Definition at line 915 of file sctp_constants.h.

◆ SCTP_RECV_MSEC

#define SCTP_RECV_MSEC   200

Definition at line 584 of file sctp_constants.h.

◆ SCTP_RETRAN_DONE

#define SCTP_RETRAN_DONE   -1

Definition at line 879 of file sctp_constants.h.

◆ SCTP_RETRAN_EXIT

#define SCTP_RETRAN_EXIT   -2

Definition at line 880 of file sctp_constants.h.

◆ SCTP_RETRY_DROPPED_THRESH

#define SCTP_RETRY_DROPPED_THRESH   4

Definition at line 556 of file sctp_constants.h.

◆ SCTP_RTO_INITIAL

#define SCTP_RTO_INITIAL   (1000) /* 1 sec in ms */

Definition at line 597 of file sctp_constants.h.

◆ SCTP_RTO_LOWER_BOUND

#define SCTP_RTO_LOWER_BOUND   (1000) /* 1 sec is ms */

Definition at line 596 of file sctp_constants.h.

◆ SCTP_RTO_UPPER_BOUND

#define SCTP_RTO_UPPER_BOUND   (60000) /* 60 sec in ms */

Definition at line 595 of file sctp_constants.h.

◆ SCTP_RTT_FROM_DATA

#define SCTP_RTT_FROM_DATA   1

Definition at line 340 of file sctp_constants.h.

◆ SCTP_RTT_FROM_NON_DATA

#define SCTP_RTT_FROM_NON_DATA   0

Definition at line 339 of file sctp_constants.h.

◆ SCTP_RWND_HIWAT_SHIFT

#define SCTP_RWND_HIWAT_SHIFT   3

Definition at line 281 of file sctp_constants.h.

◆ SCTP_SACK_LOG_EXPRESS

#define SCTP_SACK_LOG_EXPRESS   118

Definition at line 221 of file sctp_constants.h.

◆ SCTP_SACK_LOG_NORMAL

#define SCTP_SACK_LOG_NORMAL   117

Definition at line 220 of file sctp_constants.h.

◆ SCTP_SACK_RWND_UPDATE

#define SCTP_SACK_RWND_UPDATE   87

Definition at line 190 of file sctp_constants.h.

◆ SCTP_SCALE_FOR_ADDR

#define SCTP_SCALE_FOR_ADDR   2

Definition at line 266 of file sctp_constants.h.

◆ SCTP_SECRET_SIZE

#define SCTP_SECRET_SIZE   32 /* number of octets in a 256 bits */

Definition at line 683 of file sctp_constants.h.

◆ SCTP_SEND_BUFFER_SPLITTING

#define SCTP_SEND_BUFFER_SPLITTING   0x00000001

Definition at line 914 of file sctp_constants.h.

◆ SCTP_SEND_NOW_COMPLETES

#define SCTP_SEND_NOW_COMPLETES   68

Definition at line 171 of file sctp_constants.h.

◆ SCTP_SEND_SEC

#define SCTP_SEND_SEC   1

Definition at line 581 of file sctp_constants.h.

◆ SCTP_SET_PEER_RWND_VIA_SACK

#define SCTP_SET_PEER_RWND_VIA_SACK   38

Definition at line 141 of file sctp_constants.h.

◆ SCTP_SET_PRIM_ADDR

#define SCTP_SET_PRIM_ADDR   0xc004

Definition at line 427 of file sctp_constants.h.

◆ SCTP_SET_STATE

#define SCTP_SET_STATE (   _stcb,
  _state 
)     sctp_set_state(_stcb, _state)

Definition at line 467 of file sctp_constants.h.

◆ SCTP_SET_TSN_PRESENT

#define SCTP_SET_TSN_PRESENT (   arry,
  gap 
)    (arry[(gap >> 3)] |= (0x01 << ((gap & 0x07))))

Definition at line 869 of file sctp_constants.h.

◆ SCTP_SIGNATURE_ALOC_SIZE

#define SCTP_SIGNATURE_ALOC_SIZE   SCTP_SIGNATURE_SIZE

Definition at line 300 of file sctp_constants.h.

◆ SCTP_SIGNATURE_SIZE

#define SCTP_SIGNATURE_SIZE   SCTP_AUTH_DIGEST_LEN_SHA1

Definition at line 299 of file sctp_constants.h.

◆ SCTP_SIZE32

#define SCTP_SIZE32 (   x)    ((((x) + 3) >> 2) << 2)

Definition at line 380 of file sctp_constants.h.

◆ SCTP_SMALL_CHUNK_STORE

#define SCTP_SMALL_CHUNK_STORE   260

Definition at line 678 of file sctp_constants.h.

◆ SCTP_SO_LOCKED

#define SCTP_SO_LOCKED   1

Definition at line 931 of file sctp_constants.h.

◆ SCTP_SO_NOT_LOCKED

#define SCTP_SO_NOT_LOCKED   0

Definition at line 932 of file sctp_constants.h.

◆ SCTP_SOCKET_OPTION_LIMIT

#define SCTP_SOCKET_OPTION_LIMIT   (64 * 1024)

Definition at line 956 of file sctp_constants.h.

◆ SCTP_SORCV_ADJD

#define SCTP_SORCV_ADJD   101

Definition at line 204 of file sctp_constants.h.

◆ SCTP_SORCV_BOTWHILE

#define SCTP_SORCV_BOTWHILE   99

Definition at line 202 of file sctp_constants.h.

◆ SCTP_SORCV_DOESADJ

#define SCTP_SORCV_DOESADJ   98

Definition at line 201 of file sctp_constants.h.

◆ SCTP_SORCV_DOESCPY

#define SCTP_SORCV_DOESCPY   96

Definition at line 199 of file sctp_constants.h.

◆ SCTP_SORCV_DOESLCK

#define SCTP_SORCV_DOESLCK   97

Definition at line 200 of file sctp_constants.h.

◆ SCTP_SORCV_FREECTL

#define SCTP_SORCV_FREECTL   95

Definition at line 198 of file sctp_constants.h.

◆ SCTP_SORCV_PASSBF

#define SCTP_SORCV_PASSBF   100

Definition at line 203 of file sctp_constants.h.

◆ SCTP_SORECV_BLOCKSA

#define SCTP_SORECV_BLOCKSA   84

Definition at line 187 of file sctp_constants.h.

◆ SCTP_SORECV_BLOCKSB

#define SCTP_SORECV_BLOCKSB   85

Definition at line 188 of file sctp_constants.h.

◆ SCTP_SORECV_DONE

#define SCTP_SORECV_DONE   86

Definition at line 189 of file sctp_constants.h.

◆ SCTP_SORECV_ENTER

#define SCTP_SORECV_ENTER   88

Definition at line 191 of file sctp_constants.h.

◆ SCTP_SORECV_ENTERPL

#define SCTP_SORECV_ENTERPL   89

Definition at line 192 of file sctp_constants.h.

◆ sctp_sorwakeup

#define sctp_sorwakeup (   inp,
  so 
)
Value:
do { \
if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEINPUT; \
} else { \
sorwakeup(so); \
} \
} while (0)
#define SCTP_PCB_FLAGS_DONT_WAKE
Definition: sctp.h:516
#define SCTP_PCB_FLAGS_WAKEINPUT
Definition: sctp.h:518

Definition at line 983 of file sctp_constants.h.

◆ sctp_sorwakeup_locked

#define sctp_sorwakeup_locked (   inp,
  so 
)
Value:
do { \
if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEINPUT; \
SOCKBUF_UNLOCK(&((so)->so_rcv)); \
} else { \
sorwakeup_locked(so); \
} \
} while (0)

Definition at line 992 of file sctp_constants.h.

◆ sctp_sowwakeup

#define sctp_sowwakeup (   inp,
  so 
)
Value:
do { \
if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEOUTPUT; \
} else { \
sowwakeup(so); \
} \
} while (0)
#define SCTP_PCB_FLAGS_WAKEOUTPUT
Definition: sctp.h:517

Definition at line 964 of file sctp_constants.h.

◆ sctp_sowwakeup_locked

#define sctp_sowwakeup_locked (   inp,
  so 
)
Value:
do { \
if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
SOCKBUF_UNLOCK(&((so)->so_snd)); \
inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEOUTPUT; \
} else { \
sowwakeup_locked(so); \
} \
} while (0)

Definition at line 973 of file sctp_constants.h.

◆ SCTP_SSN_GE

#define SCTP_SSN_GE (   a,
 
)    SCTP_UINT16_GE(a, b)

Definition at line 860 of file sctp_constants.h.

◆ SCTP_SSN_GT

#define SCTP_SSN_GT (   a,
 
)    SCTP_UINT16_GT(a, b)

Definition at line 859 of file sctp_constants.h.

◆ SCTP_STACK_VTAG_HASH_SIZE

#define SCTP_STACK_VTAG_HASH_SIZE   32

Definition at line 896 of file sctp_constants.h.

◆ SCTP_STATE_ABOUT_TO_BE_FREED

#define SCTP_STATE_ABOUT_TO_BE_FREED   0x0200

Definition at line 459 of file sctp_constants.h.

◆ SCTP_STATE_CLOSED_SOCKET

#define SCTP_STATE_CLOSED_SOCKET   0x0100

Definition at line 458 of file sctp_constants.h.

◆ SCTP_STATE_COOKIE

#define SCTP_STATE_COOKIE   0x0007

Definition at line 390 of file sctp_constants.h.

◆ SCTP_STATE_COOKIE_ECHOED

#define SCTP_STATE_COOKIE_ECHOED   0x0004

Definition at line 452 of file sctp_constants.h.

◆ SCTP_STATE_COOKIE_WAIT

#define SCTP_STATE_COOKIE_WAIT   0x0002

Definition at line 451 of file sctp_constants.h.

◆ SCTP_STATE_EMPTY

#define SCTP_STATE_EMPTY   0x0000

Definition at line 449 of file sctp_constants.h.

◆ SCTP_STATE_IN_ACCEPT_QUEUE

#define SCTP_STATE_IN_ACCEPT_QUEUE   0x1000

Definition at line 462 of file sctp_constants.h.

◆ SCTP_STATE_INUSE

#define SCTP_STATE_INUSE   0x0001

Definition at line 450 of file sctp_constants.h.

◆ SCTP_STATE_MASK

#define SCTP_STATE_MASK   0x007f

Definition at line 463 of file sctp_constants.h.

◆ SCTP_STATE_OPEN

#define SCTP_STATE_OPEN   0x0008

Definition at line 453 of file sctp_constants.h.

◆ SCTP_STATE_PARTIAL_MSG_LEFT

#define SCTP_STATE_PARTIAL_MSG_LEFT   0x0400

Definition at line 460 of file sctp_constants.h.

◆ SCTP_STATE_SHUTDOWN_ACK_SENT

#define SCTP_STATE_SHUTDOWN_ACK_SENT   0x0040

Definition at line 456 of file sctp_constants.h.

◆ SCTP_STATE_SHUTDOWN_PENDING

#define SCTP_STATE_SHUTDOWN_PENDING   0x0080

Definition at line 457 of file sctp_constants.h.

◆ SCTP_STATE_SHUTDOWN_RECEIVED

#define SCTP_STATE_SHUTDOWN_RECEIVED   0x0020

Definition at line 455 of file sctp_constants.h.

◆ SCTP_STATE_SHUTDOWN_SENT

#define SCTP_STATE_SHUTDOWN_SENT   0x0010

Definition at line 454 of file sctp_constants.h.

◆ SCTP_STATE_WAS_ABORTED

#define SCTP_STATE_WAS_ABORTED   0x0800

Definition at line 461 of file sctp_constants.h.

◆ SCTP_STICKY_OPTIONS_MASK

#define SCTP_STICKY_OPTIONS_MASK   0x0c

Definition at line 444 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_EXPRS_DEL

#define SCTP_STR_LOG_FROM_EXPRS_DEL   16

Definition at line 120 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_IMMED_DEL

#define SCTP_STR_LOG_FROM_IMMED_DEL   11

Definition at line 115 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_INSERT_HD

#define SCTP_STR_LOG_FROM_INSERT_HD   12

Definition at line 116 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_INSERT_MD

#define SCTP_STR_LOG_FROM_INSERT_MD   13

Definition at line 117 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_INSERT_TL

#define SCTP_STR_LOG_FROM_INSERT_TL   14

Definition at line 118 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_INTO_STRD

#define SCTP_STR_LOG_FROM_INTO_STRD   10

Definition at line 114 of file sctp_constants.h.

◆ SCTP_STR_LOG_FROM_MARK_TSN

#define SCTP_STR_LOG_FROM_MARK_TSN   15

Definition at line 119 of file sctp_constants.h.

◆ SCTP_STR_RESET_ADD_IN_STREAMS

#define SCTP_STR_RESET_ADD_IN_STREAMS   0x0012

Definition at line 402 of file sctp_constants.h.

◆ SCTP_STR_RESET_ADD_OUT_STREAMS

#define SCTP_STR_RESET_ADD_OUT_STREAMS   0x0011

Definition at line 401 of file sctp_constants.h.

◆ SCTP_STR_RESET_IN_REQUEST

#define SCTP_STR_RESET_IN_REQUEST   0x000e

Definition at line 398 of file sctp_constants.h.

◆ SCTP_STR_RESET_OUT_REQUEST

#define SCTP_STR_RESET_OUT_REQUEST   0x000d

Definition at line 397 of file sctp_constants.h.

◆ SCTP_STR_RESET_RESPONSE

#define SCTP_STR_RESET_RESPONSE   0x0010

Definition at line 400 of file sctp_constants.h.

◆ SCTP_STR_RESET_TSN_REQUEST

#define SCTP_STR_RESET_TSN_REQUEST   0x000f

Definition at line 399 of file sctp_constants.h.

◆ SCTP_STREAM_RESET_TSN_DELTA

#define SCTP_STREAM_RESET_TSN_DELTA   0x1000

Definition at line 405 of file sctp_constants.h.

◆ SCTP_STRMOUT_LOG_ASSIGN

#define SCTP_STRMOUT_LOG_ASSIGN   105

Definition at line 208 of file sctp_constants.h.

◆ SCTP_STRMOUT_LOG_SEND

#define SCTP_STRMOUT_LOG_SEND   106

Definition at line 209 of file sctp_constants.h.

◆ SCTP_SUCCESS_REPORT

#define SCTP_SUCCESS_REPORT   0xc005

Definition at line 428 of file sctp_constants.h.

◆ SCTP_SUPPORTED_ADDRTYPE

#define SCTP_SUPPORTED_ADDRTYPE   0x000c

Definition at line 394 of file sctp_constants.h.

◆ SCTP_SUPPORTED_CHUNK_EXT

#define SCTP_SUPPORTED_CHUNK_EXT   0x8008

Definition at line 419 of file sctp_constants.h.

◆ SCTP_SWS_RECEIVER_DEF

#define SCTP_SWS_RECEIVER_DEF   3000

Definition at line 666 of file sctp_constants.h.

◆ SCTP_SWS_SENDER_DEF

#define SCTP_SWS_SENDER_DEF   1420

Definition at line 659 of file sctp_constants.h.

◆ SCTP_TCBHASHSIZE

#define SCTP_TCBHASHSIZE   1024

Definition at line 823 of file sctp_constants.h.

◆ SCTP_THRESHOLD_CLEAR

#define SCTP_THRESHOLD_CLEAR   120

Definition at line 223 of file sctp_constants.h.

◆ SCTP_THRESHOLD_INCR

#define SCTP_THRESHOLD_INCR   121

Definition at line 224 of file sctp_constants.h.

◆ SCTP_TIME_WAIT

#define SCTP_TIME_WAIT   60

Definition at line 901 of file sctp_constants.h.

◆ SCTP_TIMER_HEARTBEAT

#define SCTP_TIMER_HEARTBEAT   3

Definition at line 514 of file sctp_constants.h.

◆ SCTP_TIMER_INIT

#define SCTP_TIMER_INIT   0

Definition at line 511 of file sctp_constants.h.

◆ SCTP_TIMER_MAXSHUTDOWN

#define SCTP_TIMER_MAXSHUTDOWN   5

Definition at line 516 of file sctp_constants.h.

◆ SCTP_TIMER_PMTU

#define SCTP_TIMER_PMTU   4

Definition at line 515 of file sctp_constants.h.

◆ SCTP_TIMER_RECV

#define SCTP_TIMER_RECV   1

Definition at line 512 of file sctp_constants.h.

◆ SCTP_TIMER_SEND

#define SCTP_TIMER_SEND   2

Definition at line 513 of file sctp_constants.h.

◆ SCTP_TIMER_SIGNATURE

#define SCTP_TIMER_SIGNATURE   6

Definition at line 517 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_ADDR_WQ

#define SCTP_TIMER_TYPE_ADDR_WQ   16

Definition at line 541 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_ASCONF

#define SCTP_TIMER_TYPE_ASCONF   10

Definition at line 535 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_ASOCKILL

#define SCTP_TIMER_TYPE_ASOCKILL   15

Definition at line 540 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_AUTOCLOSE

#define SCTP_TIMER_TYPE_AUTOCLOSE   12

Definition at line 537 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_COOKIE

#define SCTP_TIMER_TYPE_COOKIE   6

Definition at line 531 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_HEARTBEAT

#define SCTP_TIMER_TYPE_HEARTBEAT   5

Definition at line 530 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_INIT

#define SCTP_TIMER_TYPE_INIT   2

Definition at line 527 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_INPKILL

#define SCTP_TIMER_TYPE_INPKILL   14

Definition at line 539 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_LAST

#define SCTP_TIMER_TYPE_LAST   18

Definition at line 544 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_NEWCOOKIE

#define SCTP_TIMER_TYPE_NEWCOOKIE   7

Definition at line 532 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_NONE

#define SCTP_TIMER_TYPE_NONE   0

Definition at line 525 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_PATHMTURAISE

#define SCTP_TIMER_TYPE_PATHMTURAISE   8

Definition at line 533 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_PRIM_DELETED

#define SCTP_TIMER_TYPE_PRIM_DELETED   17

Definition at line 542 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_RECV

#define SCTP_TIMER_TYPE_RECV   3

Definition at line 528 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_SEND

#define SCTP_TIMER_TYPE_SEND   1

Definition at line 526 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_SHUTDOWN

#define SCTP_TIMER_TYPE_SHUTDOWN   4

Definition at line 529 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_SHUTDOWNACK

#define SCTP_TIMER_TYPE_SHUTDOWNACK   9

Definition at line 534 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_SHUTDOWNGUARD

#define SCTP_TIMER_TYPE_SHUTDOWNGUARD   11

Definition at line 536 of file sctp_constants.h.

◆ SCTP_TIMER_TYPE_STRRESET

#define SCTP_TIMER_TYPE_STRRESET   13

Definition at line 538 of file sctp_constants.h.

◆ SCTP_TSN_GE

#define SCTP_TSN_GE (   a,
 
)    SCTP_UINT32_GE(a, b)

Definition at line 862 of file sctp_constants.h.

◆ SCTP_TSN_GT

#define SCTP_TSN_GT (   a,
 
)    SCTP_UINT32_GT(a, b)

Definition at line 861 of file sctp_constants.h.

◆ SCTP_UINT16_GE

#define SCTP_UINT16_GE (   a,
 
)    (SCTP_UINT16_GT(a, b) || (a == b))

Definition at line 854 of file sctp_constants.h.

◆ SCTP_UINT16_GT

#define SCTP_UINT16_GT (   a,
 
)
Value:
(((a < b) && ((uint16_t)(b - a) > (1U<<15))) || \
((a > b) && ((uint16_t)(a - b) < (1U<<15))))
__uint16_t uint16_t
Definition: in.h:57

Definition at line 852 of file sctp_constants.h.

◆ SCTP_UINT32_GE

#define SCTP_UINT32_GE (   a,
 
)    (SCTP_UINT32_GT(a, b) || (a == b))

Definition at line 857 of file sctp_constants.h.

◆ SCTP_UINT32_GT

#define SCTP_UINT32_GT (   a,
 
)
Value:
(((a < b) && ((uint32_t)(b - a) > (1U<<31))) || \
((a > b) && ((uint32_t)(a - b) < (1U<<31))))
__uint32_t uint32_t
Definition: in.h:62

Definition at line 855 of file sctp_constants.h.

◆ SCTP_ULP_ADAPTATION

#define SCTP_ULP_ADAPTATION   0xc006

Definition at line 429 of file sctp_constants.h.

◆ SCTP_UNKNOWN_MAX

#define SCTP_UNKNOWN_MAX   102

Definition at line 205 of file sctp_constants.h.

◆ SCTP_UNRECOG_PARAM

#define SCTP_UNRECOG_PARAM   0x0008

Definition at line 391 of file sctp_constants.h.

◆ SCTP_UNSET_TSN_PRESENT

#define SCTP_UNSET_TSN_PRESENT (   arry,
  gap 
)    (arry[(gap >> 3)] &= ((~(0x01 << ((gap & 0x07)))) & 0xff))

Definition at line 870 of file sctp_constants.h.

◆ SCTP_USER_RECV_SACKS

#define SCTP_USER_RECV_SACKS   83

Definition at line 186 of file sctp_constants.h.

◆ SCTP_VERSION_NUMBER

#define SCTP_VERSION_NUMBER   0x3

Definition at line 307 of file sctp_constants.h.

◆ SCTP_VERSION_STRING

#define SCTP_VERSION_STRING   "KAME-BSD 1.1"

Definition at line 85 of file sctp_constants.h.

◆ SCTP_WAKESND_FROM_FWDTSN

#define SCTP_WAKESND_FROM_FWDTSN   75

Definition at line 178 of file sctp_constants.h.

◆ SCTP_WAKESND_FROM_SACK

#define SCTP_WAKESND_FROM_SACK   74

Definition at line 177 of file sctp_constants.h.

◆ SCTP_ZERO_COPY_SENDQ_TICK_DELAY

#define SCTP_ZERO_COPY_SENDQ_TICK_DELAY   (((100 * hz) + 999) / 1000)

Definition at line 78 of file sctp_constants.h.

◆ SCTP_ZERO_COPY_TICK_DELAY

#define SCTP_ZERO_COPY_TICK_DELAY   (((100 * hz) + 999) / 1000)

Definition at line 77 of file sctp_constants.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )