summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-19 12:30:18 +0000
committerandre <andre@FreeBSD.org>2013-08-19 12:30:18 +0000
commit61082833e74ee0e5aecb11f25f544bf662618e6b (patch)
tree986d130b50c8a2f979b2bd6a0be8183c7c3cf6f5
parente1092223ba2a73c4a5457df5da754502e8ac7500 (diff)
downloadFreeBSD-src-61082833e74ee0e5aecb11f25f544bf662618e6b.zip
FreeBSD-src-61082833e74ee0e5aecb11f25f544bf662618e6b.tar.gz
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
-rw-r--r--sys/netinet/sctp_os_bsd.h5
-rw-r--r--sys/sys/mbuf.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h
index 9cb77b6..4eff47b 100644
--- a/sys/netinet/sctp_os_bsd.h
+++ b/sys/netinet/sctp_os_bsd.h
@@ -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) \
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 5a1530a..8cf94bd 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -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.
*/
OpenPOWER on IntegriCloud