Author: andre
Date: Mon Aug 19 12:30:18 2013
New Revision: 254521
URL: http://svnweb.freebsd.org/changeset/base/254521

Log:
  Move the SCTP specific definition of M_NOTIFICATION onto a protocol
  specific mbuf flag from sys/mbuf.h to netinet/sctp_os_bsd.h.  It is
  only relevant within SCTP.
  
  Discussed with:       tuexen

Modified:
  head/sys/netinet/sctp_os_bsd.h
  head/sys/sys/mbuf.h

Modified: head/sys/netinet/sctp_os_bsd.h
==============================================================================
--- head/sys/netinet/sctp_os_bsd.h      Mon Aug 19 11:16:53 2013        
(r254520)
+++ head/sys/netinet/sctp_os_bsd.h      Mon Aug 19 12:30:18 2013        
(r254521)
@@ -429,6 +429,11 @@ typedef struct rtentry sctp_rtentry_t;
 #define SCTP_ZERO_COPY_SENDQ_EVENT(inp, so)
 
 /*
+ * SCTP protocol specific mbuf flags.
+ */
+#define        M_NOTIFICATION          M_PROTO5        /* SCTP notification */
+
+/*
  * IP output routines
  */
 #define SCTP_IP_OUTPUT(result, o_pak, ro, stcb, vrf_id) \

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h Mon Aug 19 11:16:53 2013        (r254520)
+++ head/sys/sys/mbuf.h Mon Aug 19 12:30:18 2013        (r254521)
@@ -207,8 +207,6 @@ struct mbuf {
 #define        M_FLOWID        0x00400000 /* deprecated: flowid is valid */
 #define        M_HASHTYPEBITS  0x0F000000 /* mask of bits holding flowid hash 
type */
 
-#define        M_NOTIFICATION  M_PROTO5    /* SCTP notification */
-
 /*
  * Flags to purge when crossing layers.
  */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to