Pre-emptively define IPPROTO_SPACER to 32767, the same value as PROTO_SPACER

to document that this value is globally assigned for a special purpose and
may not be reused within the IPPROTO number space.
This commit is contained in:
Andre Oppermann 2004-10-19 20:59:01 +00:00
parent a9c6886af6
commit 539be79a9d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136712

View File

@ -243,6 +243,12 @@ __END_DECLS
/* Only used internally, so can be outside the range of valid IP protocols. */
#define IPPROTO_DIVERT 258 /* divert pseudo-protocol */
/*
* Defined to avoid confusion. The master value is defined by
* PROTO_SPACER in sys/protosw.h.
*/
#define IPPROTO_SPACER 32767 /* spacer for loadable protos */
/*
* Local port number conventions:
*