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
This commit is contained in:
Andre Oppermann 2013-08-19 12:30:18 +00:00
parent aa3cb8fb64
commit 678d7b9461
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254521
2 changed files with 5 additions and 2 deletions

View File

@ -428,6 +428,11 @@ typedef struct rtentry sctp_rtentry_t;
/* This is re-pulse ourselves for sendbuf */
#define SCTP_ZERO_COPY_SENDQ_EVENT(inp, so)
/*
* SCTP protocol specific mbuf flags.
*/
#define M_NOTIFICATION M_PROTO5 /* SCTP notification */
/*
* IP output routines
*/

View File

@ -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.
*/