aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:19:14 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:19:14 +0000
commit662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9 (patch)
tree5cffe4473640975abc443ef4b8047b34cdb4a039 /sys/netinet/sctp_constants.h
parent586ee69f09c5060621486b34722a4a806581f93d (diff)
Notes
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 158d49a75a6b..28c543f88045 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$");
#ifndef _NETINET_SCTP_CONSTANTS_H_
#define _NETINET_SCTP_CONSTANTS_H_
-
/* IANA assigned port number for SCTP over UDP encapsulation */
#define SCTP_OVER_UDP_TUNNELING_PORT 9899
@@ -87,13 +86,11 @@ __FBSDID("$FreeBSD$");
/* #define SCTP_AUDITING_ENABLED 1 used for debug/auditing */
#define SCTP_AUDIT_SIZE 256
-
#define SCTP_KTRHEAD_NAME "sctp_iterator"
#define SCTP_KTHREAD_PAGES 0
#define SCTP_MCORE_NAME "sctp_core_worker"
-
/* If you support Multi-VRF how big to
* make the initial array of VRF's to.
*/
@@ -263,7 +260,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_LOCK_UNKNOWN 2
-
/* number of associations by default for zone allocation */
#define SCTP_MAX_NUM_OF_ASOC 40000
/* how many addresses per assoc remote and local */
@@ -388,7 +384,6 @@ __FBSDID("$FreeBSD$");
#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))
-
/* SCTP parameter types */
/*************0x0000 series*************/
#define SCTP_HEARTBEAT_INFO 0x0001
@@ -450,7 +445,6 @@ __FBSDID("$FreeBSD$");
/* mask to get sticky */
#define SCTP_STICKY_OPTIONS_MASK 0x0c
-
/*
* SCTP states for internal state machine
*/
@@ -554,8 +548,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_IS_TIMER_TYPE_VALID(t) (((t) > SCTP_TIMER_TYPE_NONE) && \
((t) < SCTP_TIMER_TYPE_LAST))
-
-
/* max number of TSN's dup'd that I will hold */
#define SCTP_MAX_DUP_TSNS 20
@@ -606,7 +598,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_RTO_LOWER_BOUND (1000) /* 1 sec is ms */
#define SCTP_RTO_INITIAL (3000) /* 3 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 */
@@ -617,7 +608,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_DEF_PMTU_RAISE_SEC 600 /* 10 min between raise attempts */
-
/* How many streams I request initially by default */
#define SCTP_OSTREAM_INITIAL 10
#define SCTP_ISTREAM_INITIAL 2048
@@ -696,7 +686,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_NUMBER_OF_SECRETS 8 /* or 8 * 4 = 32 octets */
#define SCTP_SECRET_SIZE 32 /* number of octets in a 256 bits */
-
/*
* SCTP upper layer notifications
*/
@@ -815,7 +804,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_DONOT_SETSCOPE 0
#define SCTP_DO_SETSCOPE 1
-
/* This value determines the default for when
* we try to add more on the send queue., if
* there is room. This prevents us from cycling
@@ -893,7 +881,6 @@ __FBSDID("$FreeBSD$");
} \
} while (0)
-
#define SCTP_RETRAN_DONE -1
#define SCTP_RETRAN_EXIT -2
@@ -949,7 +936,6 @@ __FBSDID("$FreeBSD$");
#define SCTP_SO_LOCKED 1
#define SCTP_SO_NOT_LOCKED 0
-
/*-
* For address locks, do we hold the lock?
*/
@@ -974,7 +960,6 @@ __FBSDID("$FreeBSD$");
/* Maximum size of optval for IPPROTO_SCTP level socket options. */
#define SCTP_SOCKET_OPTION_LIMIT (64 * 1024)
-
#if defined(_KERNEL)
#define SCTP_GETTIME_TIMEVAL(x) (getmicrouptime(x))
#define SCTP_GETPTIME_TIMEVAL(x) (microuptime(x))