svn commit: r302950 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Jul 17 13:33:36 UTC 2016


Author: tuexen
Date: Sun Jul 17 13:33:35 2016
New Revision: 302950
URL: https://svnweb.freebsd.org/changeset/base/302950

Log:
  Add a constant required by RFC 7496.
  
  MFC after:	3 days

Modified:
  head/sys/netinet/sctp_uio.h

Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h	Sun Jul 17 13:14:51 2016	(r302949)
+++ head/sys/netinet/sctp_uio.h	Sun Jul 17 13:33:35 2016	(r302950)
@@ -259,7 +259,8 @@ struct sctp_snd_all_completes {
 /* The lower four bits is an enumeration of PR-SCTP policies */
 #define SCTP_PR_SCTP_NONE 0x0000/* Reliable transfer */
 #define SCTP_PR_SCTP_TTL  0x0001/* Time based PR-SCTP */
-#define SCTP_PR_SCTP_BUF  0x0002/* Buffer based PR-SCTP */
+#define SCTP_PR_SCTP_PRIO 0x0002/* Buffer based PR-SCTP */
+#define SCTP_PR_SCTP_BUF  SCTP_PR_SCTP_PRIO	/* For backwards compatibility */
 #define SCTP_PR_SCTP_RTX  0x0003/* Number of retransmissions based PR-SCTP */
 #define SCTP_PR_SCTP_MAX  SCTP_PR_SCTP_RTX
 #define SCTP_PR_SCTP_ALL  0x000f/* Used for aggregated stats */


More information about the svn-src-head mailing list