Merge tag 'spi-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
[platform/kernel/linux-starfive.git] / include / net / sctp / constants.h
index 823afc4..15b4d9a 100644 (file)
@@ -286,6 +286,18 @@ enum { SCTP_MAX_GABS = 16 };
                                 * functions simpler to write.
                                 */
 
+/* These are the values for pf exposure, UNUSED is to keep compatible with old
+ * applications by default.
+ */
+enum {
+       SCTP_PF_EXPOSE_UNSET,
+       SCTP_PF_EXPOSE_DISABLE,
+       SCTP_PF_EXPOSE_ENABLE,
+};
+#define SCTP_PF_EXPOSE_MAX     SCTP_PF_EXPOSE_ENABLE
+
+#define SCTP_PS_RETRANS_MAX    0xffff
+
 /* These return values describe the success or failure of a number of
  * routines which form the lower interface to SCTP_outqueue.
  */