Lines Matching +full:multi +full:- +full:cluster
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.
5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
44 /* Address limit - This variable is calculated
48 * for the init-ack and then finally a third one for the
52 * INIT-ACK plus all the values from INIT and INIT-ACK
56 * that will be 21600 bytes. In the INIT-ACK we will
57 * see the INIT-ACK 21600 + 43200 in the cookie. This leaves
65 #define SCTP_LARGEST_INIT_ACCEPTED (65535 - 2048)
82 #define SCTP_VERSION_STRING "KAME-BSD 1.1"
91 /* If you support Multi-VRF how big to
96 /* JRS - Values defined for the HTCP algorithm */
274 * to read 8k. This seems about right.. I hope :-D.. we do set a
317 * happens right away with-out waiting for the flightsize to drop below the
378 /* align to 32-bit sizes */
381 #define IS_SCTP_CONTROL(a) (((a)->chunk_type != SCTP_DATA) && ((a)->chunk_type != SCTP_IDATA))
382 #define IS_SCTP_DATA(a) (((a)->chunk_type == SCTP_DATA) || ((a)->chunk_type == SCTP_IDATA))
429 /* behave-nat-draft */
465 ((_stcb)->asoc.state & SCTP_STATE_MASK)
469 (_stcb)->asoc.state &= ~(_substate)
482 /* JRS 5/13/07 - Added potentially failed state for CMT PF */
491 * a cluster
495 /* How long a cookie lives in milli-seconds */
542 /* add new timers here - and increment LAST */
554 /* How many drop re-attempts we make on INIT/COOKIE-ECHO */
729 /* ABORT CODES and other tell-tale location
848 #define IPPROTO_SCTP 132 /* the Official IANA number :-) */
855 #define SCTP_UINT16_GT(a, b) (((a < b) && ((uint16_t)(b - a) > (1U<<15))) || \
856 ((a > b) && ((uint16_t)(a - b) < (1U<<15))))
858 #define SCTP_UINT32_GT(a, b) (((a < b) && ((uint32_t)(b - a) > (1U<<31))) || \
859 ((a > b) && ((uint32_t)(a - b) < (1U<<31))))
876 gap = tsn - mapping_tsn; \
878 gap = (MAX_TSN - mapping_tsn) + tsn + 1; \
882 #define SCTP_RETRAN_DONE -1
883 #define SCTP_RETRAN_EXIT -2
930 /*-
937 /*-
944 ((((uint8_t *)&(a)->s_addr)[0] == 10) || \
945 ((((uint8_t *)&(a)->s_addr)[0] == 172) && \
946 (((uint8_t *)&(a)->s_addr)[1] >= 16) && \
947 (((uint8_t *)&(a)->s_addr)[1] <= 32)) || \
948 ((((uint8_t *)&(a)->s_addr)[0] == 192) && \
949 (((uint8_t *)&(a)->s_addr)[1] == 168)))
952 (((uint8_t *)&(a)->s_addr)[0] == 127)
955 ((((uint8_t *)&(a)->s_addr)[0] == 169) && \
956 (((uint8_t *)&(a)->s_addr)[1] == 254))
969 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
978 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
980 SOCKBUF_UNLOCK(&((so)->so_snd)); \
988 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
997 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
999 SOCKBUF_UNLOCK(&((so)->so_rcv)); \