42/* SCTP Kernel structures */
43
44/*
45 * Names for SCTP sysctl objects
46 */
47#define SCTPCTL_MAXDGRAM 1 /* max datagram size */
48#define SCTPCTL_RECVSPACE 2 /* default receive buffer space */
49#define SCTPCTL_AUTOASCONF 3 /* auto asconf enable/disable flag */
50#define SCTPCTL_ECN_ENABLE 4 /* Is ecn allowed */
51#define SCTPCTL_ECN_NONCE 5 /* Is ecn nonce allowed */
52#define SCTPCTL_STRICT_SACK 6 /* strictly require sack'd TSN's to be
53 * smaller than sndnxt. */
54#define SCTPCTL_NOCSUM_LO 7 /* Require that the Loopback NOT have
55 * the crc32 checksum on packets
56 * routed over it. */
57#define SCTPCTL_STRICT_INIT 8
58#define SCTPCTL_PEER_CHK_OH 9
59#define SCTPCTL_MAXBURST 10
60#define SCTPCTL_MAXCHUNKONQ 11
61#define SCTPCTL_DELAYED_SACK 12
62#define SCTPCTL_HB_INTERVAL 13
63#define SCTPCTL_PMTU_RAISE 14
64#define SCTPCTL_SHUTDOWN_GUARD 15
65#define SCTPCTL_SECRET_LIFETIME 16
66#define SCTPCTL_RTO_MAX 17
67#define SCTPCTL_RTO_MIN 18
68#define SCTPCTL_RTO_INITIAL 19
69#define SCTPCTL_INIT_RTO_MAX 20
70#define SCTPCTL_COOKIE_LIFE 21
71#define SCTPCTL_INIT_RTX_MAX 22
72#define SCTPCTL_ASSOC_RTX_MAX 23
73#define SCTPCTL_PATH_RTX_MAX 24
74#define SCTPCTL_NR_OUTGOING_STREAMS 25
75#define SCTPCTL_CMT_ON_OFF 26
76#define SCTPCTL_CWND_MAXBURST 27
77#define SCTPCTL_EARLY_FR 28
78#define SCTPCTL_RTTVAR_CC 29
79#define SCTPCTL_DEADLOCK_DET 30
80#define SCTPCTL_EARLY_FR_MSEC 31
81#define SCTPCTL_ASCONF_AUTH_NOCHK 32
82#define SCTPCTL_AUTH_DISABLE 33
83#define SCTPCTL_AUTH_RANDOM_LEN 34
84#define SCTPCTL_AUTH_HMAC_ID 35
85#define SCTPCTL_ABC_L_VAR 36
86#define SCTPCTL_MAX_MBUF_CHAIN 37
87#define SCTPCTL_CMT_USE_DAC 38
88#define SCTPCTL_DO_DRAIN 39
89#define SCTPCTL_WARM_CRC32 40
90#define SCTPCTL_QLIMIT_ABORT 41
91#define SCTPCTL_STRICT_ORDER 42
92#define SCTPCTL_TCBHASHSIZE 43
93#define SCTPCTL_PCBHASHSIZE 44
94#define SCTPCTL_CHUNKSCALE 45
95#define SCTPCTL_MINSPLIT 46
96#define SCTPCTL_ADD_MORE 47
97#define SCTPCTL_SYS_RESC 48
98#define SCTPCTL_ASOC_RESC 49
99#define SCTPCTL_NAT_FRIENDLY 50
100#ifdef SCTP_DEBUG
101#define SCTPCTL_DEBUG 51
102#define SCTPCTL_MAXID 51
103#else
104#define SCTPCTL_MAXID 50
105#endif
106
107#ifdef SCTP_DEBUG
108#define SCTPCTL_NAMES { \
109 { 0, 0 }, \
110 { "sendspace", CTLTYPE_INT }, \
111 { "recvspace", CTLTYPE_INT }, \
112 { "autoasconf", CTLTYPE_INT }, \
113 { "ecn_enable", CTLTYPE_INT }, \
114 { "ecn_nonce", CTLTYPE_INT }, \
115 { "strict_sack", CTLTYPE_INT }, \
116 { "looback_nocsum", CTLTYPE_INT }, \
117 { "strict_init", CTLTYPE_INT }, \
118 { "peer_chkoh", CTLTYPE_INT }, \
119 { "maxburst", CTLTYPE_INT }, \
120 { "maxchunks", CTLTYPE_INT }, \
121 { "delayed_sack_time", CTLTYPE_INT }, \
122 { "heartbeat_interval", CTLTYPE_INT }, \
123 { "pmtu_raise_time", CTLTYPE_INT }, \
124 { "shutdown_guard_time", CTLTYPE_INT }, \
125 { "secret_lifetime", CTLTYPE_INT }, \
126 { "rto_max", CTLTYPE_INT }, \
127 { "rto_min", CTLTYPE_INT }, \
128 { "rto_initial", CTLTYPE_INT }, \
129 { "init_rto_max", CTLTYPE_INT }, \
130 { "valid_cookie_life", CTLTYPE_INT }, \
131 { "init_rtx_max", CTLTYPE_INT }, \
132 { "assoc_rtx_max", CTLTYPE_INT }, \
133 { "path_rtx_max", CTLTYPE_INT }, \
134 { "nr_outgoing_streams", CTLTYPE_INT }, \
135 { "cmt_on_off", CTLTYPE_INT }, \
136 { "cwnd_maxburst", CTLTYPE_INT }, \
137 { "early_fast_retran", CTLTYPE_INT }, \
138 { "use_rttvar_congctrl", CTLTYPE_INT }, \
139 { "deadlock_detect", CTLTYPE_INT }, \
140 { "early_fast_retran_msec", CTLTYPE_INT }, \
141 { "asconf_auth_nochk", CTLTYPE_INT }, \
142 { "auth_disable", CTLTYPE_INT }, \
143 { "auth_random_len", CTLTYPE_INT }, \
144 { "auth_hmac_id", CTLTYPE_INT }, \
145 { "abc_l_var", CTLTYPE_INT }, \
146 { "max_mbuf_chain", CTLTYPE_INT }, \
147 { "cmt_use_dac", CTLTYPE_INT }, \
148 { "do_sctp_drain", CTLTYPE_INT }, \
149 { "warm_crc_table", CTLTYPE_INT }, \
150 { "abort_at_limit", CTLTYPE_INT }, \
151 { "strict_data_order", CTLTYPE_INT }, \
152 { "tcbhashsize", CTLTYPE_INT }, \
153 { "pcbhashsize", CTLTYPE_INT }, \
154 { "chunkscale", CTLTYPE_INT }, \
155 { "min_split_point", CTLTYPE_INT }, \
156 { "add_more_on_output", CTLTYPE_INT }, \
157 { "sys_resource", CTLTYPE_INT }, \
158 { "asoc_resource", CTLTYPE_INT }, \
159 { "nat_friendly", CTLTYPE_INT }, \
160 { "debug", CTLTYPE_INT }, \
161}
162#else
163#define SCTPCTL_NAMES { \
164 { 0, 0 }, \
165 { "sendspace", CTLTYPE_INT }, \
166 { "recvspace", CTLTYPE_INT }, \
167 { "autoasconf", CTLTYPE_INT }, \
168 { "ecn_enable", CTLTYPE_INT }, \
169 { "ecn_nonce", CTLTYPE_INT }, \
170 { "strict_sack", CTLTYPE_INT }, \
171 { "looback_nocsum", CTLTYPE_INT }, \
172 { "strict_init", CTLTYPE_INT }, \
173 { "peer_chkoh", CTLTYPE_INT }, \
174 { "maxburst", CTLTYPE_INT }, \
175 { "maxchunks", CTLTYPE_INT }, \
176 { "delayed_sack_time", CTLTYPE_INT }, \
177 { "heartbeat_interval", CTLTYPE_INT }, \
178 { "pmtu_raise_time", CTLTYPE_INT }, \
179 { "shutdown_guard_time", CTLTYPE_INT }, \
180 { "secret_lifetime", CTLTYPE_INT }, \
181 { "rto_max", CTLTYPE_INT }, \
182 { "rto_min", CTLTYPE_INT }, \
183 { "rto_initial", CTLTYPE_INT }, \
184 { "init_rto_max", CTLTYPE_INT }, \
185 { "valid_cookie_life", CTLTYPE_INT }, \
186 { "init_rtx_max", CTLTYPE_INT }, \
187 { "assoc_rtx_max", CTLTYPE_INT }, \
188 { "path_rtx_max", CTLTYPE_INT }, \
189 { "nr_outgoing_streams", CTLTYPE_INT }, \
190 { "cmt_on_off", CTLTYPE_INT }, \
191 { "cwnd_maxburst", CTLTYPE_INT }, \
192 { "early_fast_retran", CTLTYPE_INT }, \
193 { "use_rttvar_congctrl", CTLTYPE_INT }, \
194 { "deadlock_detect", CTLTYPE_INT }, \
195 { "early_fast_retran_msec", CTLTYPE_INT }, \
196 { "asconf_auth_nochk", CTLTYPE_INT }, \
197 { "auth_disable", CTLTYPE_INT }, \
198 { "auth_random_len", CTLTYPE_INT }, \
199 { "auth_hmac_id", CTLTYPE_INT }, \
200 { "abc_l_var", CTLTYPE_INT }, \
201 { "max_mbuf_chain", CTLTYPE_INT }, \
202 { "cmt_use_dac", CTLTYPE_INT }, \
203 { "do_sctp_drain", CTLTYPE_INT }, \
204 { "warm_crc_table", CTLTYPE_INT }, \
205 { "abort_at_limit", CTLTYPE_INT }, \
206 { "strict_data_order", CTLTYPE_INT }, \
207 { "tcbhashsize", CTLTYPE_INT }, \
208 { "pcbhashsize", CTLTYPE_INT }, \
209 { "chunkscale", CTLTYPE_INT }, \
210 { "min_split_point", CTLTYPE_INT }, \
211 { "add_more_on_output", CTLTYPE_INT }, \
212 { "sys_resource", CTLTYPE_INT }, \
213 { "asoc_resource", CTLTYPE_INT }, \
214 { "nat_friendly", CTLTYPE_INT }, \
215}
216#endif
217
218
|