hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/net/netns/sctp.h
....@@ -89,12 +89,26 @@
8989 */
9090 int pf_retrans;
9191
92
+ /* Primary.Switchover.Max.Retrans sysctl value
93
+ * taken from:
94
+ * https://tools.ietf.org/html/rfc7829
95
+ */
96
+ int ps_retrans;
97
+
9298 /*
9399 * Disable Potentially-Failed feature, the feature is enabled by default
94100 * pf_enable - 0 : disable pf
95101 * - >0 : enable pf
96102 */
97103 int pf_enable;
104
+
105
+ /*
106
+ * Disable Potentially-Failed state exposure, ignored by default
107
+ * pf_expose - 0 : compatible with old applications (by default)
108
+ * - 1 : disable pf state exposure
109
+ * - 2 : enable pf state exposure
110
+ */
111
+ int pf_expose;
98112
99113 /*
100114 * Policy for preforming sctp/socket accounting
....@@ -128,6 +142,9 @@
128142 /* Flag to indicate if stream interleave is enabled */
129143 int intl_enable;
130144
145
+ /* Flag to indicate if ecn is enabled */
146
+ int ecn_enable;
147
+
131148 /*
132149 * Policy to control SCTP IPv4 address scoping
133150 * 0 - Disable IPv4 address scoping