Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 17:36:10 -0700
From:      Sam Leffler <sam@errno.com>
To:        Craig Rodrigues <rodrigc@crodrigues.org>, freebsd-current@freebsd.org
Subject:   Re: M_NOTIFICATION in <sys/mbuf.h>?
Message-ID:  <608458837.1060796170@melange.errno.com>
In-Reply-To: <20030913233905.GA3834@crodrigues.org>
References:  <20030913233905.GA3834@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> While trying to port the SCTP-KAME code to CURRENT,
> I noticed that M_NOTIFICATION is missing from <sys/mbuf.h>
> in CURRENT, but it is present in the KAME version of this
> file.
>
> Any reason not to apply this patch?
>
>
> --- sys/sys/mbuf.h.orig	Sat Sep 13 19:34:07 2003
> +++ sys/sys/mbuf.h	Sat Sep 13 19:34:14 2003
> @@ -164,6 +164,8 @@
>  #define	M_FIRSTFRAG	0x1000	/* packet is first fragment */
>  #define	M_LASTFRAG	0x2000	/* packet is last fragment */
>
> +#define M_NOTIFICATION	0x8000	/* notification event */
> +
>  /*
>   * External buffer types: identify ext_buf type.
>   */

I don't know what M_NOTIFICATION is used for but if it's applied sparingly 
it might be better to use an m_tag instead.

	Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?608458837.1060796170>