diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-07-08 19:43:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 19:43:29 -0400 |
commit | 32e8d4948bb0b5f3f0ac5cdb71d0ac8e305b29a5 (patch) | |
tree | d4cb1f8a08f65c49f93e99a780dc8e5b46744cc5 /Documentation/networking | |
parent | b2238566401f01eb796e75750213c7b0fce396b2 (diff) |
sctp: Add documentation for sctp sysctl variable
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/ip-sysctl.txt | 170 |
1 files changed, 170 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 17f1f91af35c..277437951e4d 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -1060,6 +1060,176 @@ bridge-nf-filter-pppoe-tagged - BOOLEAN | |||
1060 | Default: 1 | 1060 | Default: 1 |
1061 | 1061 | ||
1062 | 1062 | ||
1063 | proc/sys/net/sctp/* Variables: | ||
1064 | |||
1065 | addip_enable - BOOLEAN | ||
1066 | Enable or disable extension of Dynamic Address Reconfiguration | ||
1067 | (ADD-IP) functionality specified in RFC5061. This extension provides | ||
1068 | the ability to dynamically add and remove new addresses for the SCTP | ||
1069 | associations. | ||
1070 | |||
1071 | 1: Enable extension. | ||
1072 | |||
1073 | 0: Disable extension. | ||
1074 | |||
1075 | Default: 0 | ||
1076 | |||
1077 | addip_noauth_enable - BOOLEAN | ||
1078 | Dynamic Address Reconfiguration (ADD-IP) requires the use of | ||
1079 | authentication to protect the operations of adding or removing new | ||
1080 | addresses. This requirement is mandated so that unauthorized hosts | ||
1081 | would not be able to hijack associations. However, older | ||
1082 | implementations may not have implemented this requirement while | ||
1083 | allowing the ADD-IP extension. For reasons of interoperability, | ||
1084 | we provide this variable to control the enforcement of the | ||
1085 | authentication requirement. | ||
1086 | |||
1087 | 1: Allow ADD-IP extension to be used without authentication. This | ||
1088 | should only be set in a closed environment for interoperability | ||
1089 | with older implementations. | ||
1090 | |||
1091 | 0: Enforce the authentication requirement | ||
1092 | |||
1093 | Default: 0 | ||
1094 | |||
1095 | auth_enable - BOOLEAN | ||
1096 | Enable or disable Authenticated Chunks extension. This extension | ||
1097 | provides the ability to send and receive authenticated chunks and is | ||
1098 | required for secure operation of Dynamic Address Reconfiguration | ||
1099 | (ADD-IP) extension. | ||
1100 | |||
1101 | 1: Enable this extension. | ||
1102 | 0: Disable this extension. | ||
1103 | |||
1104 | Default: 0 | ||
1105 | |||
1106 | prsctp_enable - BOOLEAN | ||
1107 | Enable or disable the Partial Reliability extension (RFC3758) which | ||
1108 | is used to notify peers that a given DATA should no longer be expected. | ||
1109 | |||
1110 | 1: Enable extension | ||
1111 | 0: Disable | ||
1112 | |||
1113 | Default: 1 | ||
1114 | |||
1115 | max_burst - INTEGER | ||
1116 | The limit of the number of new packets that can be initially sent. It | ||
1117 | controls how bursty the generated traffic can be. | ||
1118 | |||
1119 | Default: 4 | ||
1120 | |||
1121 | association_max_retrans - INTEGER | ||
1122 | Set the maximum number for retransmissions that an association can | ||
1123 | attempt deciding that the remote end is unreachable. If this value | ||
1124 | is exceeded, the association is terminated. | ||
1125 | |||
1126 | Default: 10 | ||
1127 | |||
1128 | max_init_retransmits - INTEGER | ||
1129 | The maximum number of retransmissions of INIT and COOKIE-ECHO chunks | ||
1130 | that an association will attempt before declaring the destination | ||
1131 | unreachable and terminating. | ||
1132 | |||
1133 | Default: 8 | ||
1134 | |||
1135 | path_max_retrans - INTEGER | ||
1136 | The maximum number of retransmissions that will be attempted on a given | ||
1137 | path. Once this threshold is exceeded, the path is considered | ||
1138 | unreachable, and new traffic will use a different path when the | ||
1139 | association is multihomed. | ||
1140 | |||
1141 | Default: 5 | ||
1142 | |||
1143 | rto_initial - INTEGER | ||
1144 | The initial round trip timeout value in milliseconds that will be used | ||
1145 | in calculating round trip times. This is the initial time interval | ||
1146 | for retransmissions. | ||
1147 | |||
1148 | Default: 3000 | ||
1149 | |||
1150 | rto_max - INTEGER | ||
1151 | The maximum value (in milliseconds) of the round trip timeout. This | ||
1152 | is the largest time interval that can elapse between retransmissions. | ||
1153 | |||
1154 | Default: 60000 | ||
1155 | |||
1156 | rto_min - INTEGER | ||
1157 | The minimum value (in milliseconds) of the round trip timeout. This | ||
1158 | is the smallest time interval the can elapse between retransmissions. | ||
1159 | |||
1160 | Default: 1000 | ||
1161 | |||
1162 | hb_interval - INTEGER | ||
1163 | The interval (in milliseconds) between HEARTBEAT chunks. These chunks | ||
1164 | are sent at the specified interval on idle paths to probe the state of | ||
1165 | a given path between 2 associations. | ||
1166 | |||
1167 | Default: 30000 | ||
1168 | |||
1169 | sack_timeout - INTEGER | ||
1170 | The amount of time (in milliseconds) that the implementation will wait | ||
1171 | to send a SACK. | ||
1172 | |||
1173 | Default: 200 | ||
1174 | |||
1175 | valid_cookie_life - INTEGER | ||
1176 | The default lifetime of the SCTP cookie (in milliseconds). The cookie | ||
1177 | is used during association establishment. | ||
1178 | |||
1179 | Default: 60000 | ||
1180 | |||
1181 | cookie_preserve_enable - BOOLEAN | ||
1182 | Enable or disable the ability to extend the lifetime of the SCTP cookie | ||
1183 | that is used during the establishment phase of SCTP association | ||
1184 | |||
1185 | 1: Enable cookie lifetime extension. | ||
1186 | 0: Disable | ||
1187 | |||
1188 | Default: 1 | ||
1189 | |||
1190 | rcvbuf_policy - INTEGER | ||
1191 | Determines if the receive buffer is attributed to the socket or to | ||
1192 | association. SCTP supports the capability to create multiple | ||
1193 | associations on a single socket. When using this capability, it is | ||
1194 | possible that a single stalled association that's buffering a lot | ||
1195 | of data may block other associations from delivering their data by | ||
1196 | consuming all of the receive buffer space. To work around this, | ||
1197 | the rcvbuf_policy could be set to attribute the receiver buffer space | ||
1198 | to each association instead of the socket. This prevents the described | ||
1199 | blocking. | ||
1200 | |||
1201 | 1: rcvbuf space is per association | ||
1202 | 0: recbuf space is per socket | ||
1203 | |||
1204 | Default: 0 | ||
1205 | |||
1206 | sndbuf_policy - INTEGER | ||
1207 | Similar to rcvbuf_policy above, this applies to send buffer space. | ||
1208 | |||
1209 | 1: Send buffer is tracked per association | ||
1210 | 0: Send buffer is tracked per socket. | ||
1211 | |||
1212 | Default: 0 | ||
1213 | |||
1214 | sctp_mem - vector of 3 INTEGERs: min, pressure, max | ||
1215 | Number of pages allowed for queueing by all SCTP sockets. | ||
1216 | |||
1217 | min: Below this number of pages SCTP is not bothered about its | ||
1218 | memory appetite. When amount of memory allocated by SCTP exceeds | ||
1219 | this number, SCTP starts to moderate memory usage. | ||
1220 | |||
1221 | pressure: This value was introduced to follow format of tcp_mem. | ||
1222 | |||
1223 | max: Number of pages allowed for queueing by all SCTP sockets. | ||
1224 | |||
1225 | Default is calculated at boot time from amount of available memory. | ||
1226 | |||
1227 | sctp_rmem - vector of 3 INTEGERs: min, default, max | ||
1228 | See tcp_rmem for a description. | ||
1229 | |||
1230 | sctp_wmem - vector of 3 INTEGERs: min, default, max | ||
1231 | See tcp_wmem for a description. | ||
1232 | |||
1063 | UNDOCUMENTED: | 1233 | UNDOCUMENTED: |
1064 | 1234 | ||
1065 | dev_weight FIXME | 1235 | dev_weight FIXME |