Date: Mon, 31 Oct 2011 22:31:25 -0700 From: Julian Elischer <julian@freebsd.org> To: Arnaud Lacombe <lacombar@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Undocumented netgraph `cmd' flags ? Message-ID: <4EAF842D.3080909@freebsd.org> In-Reply-To: <CACqU3MU4-5dU-FG%2Bvq8QF=1PiCPa-tBRiYjQEmCHHHAWveLrnw@mail.gmail.com> References: <CACqU3MU4-5dU-FG%2Bvq8QF=1PiCPa-tBRiYjQEmCHHHAWveLrnw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/31/11 4:16 PM, Arnaud Lacombe wrote: > Hi Julian, > > For my information, is it documented anywhere that bit 28[0] and 29[1] > of Netgraph message's `cmd' shall not be used (the bits, not the > macros) ? > > Thanks, > - Arnaud > > [0]: NGM_READONLY > [1]: NGM_HASREPLY > Not really sure what you are asking. NGM_READONLY allows the base system to use a reader lock and not block other traffic while the message is bring processed. NGM_HASREPLY is not used that I can see in the kernel. It may be a historical artifact or maybe only used in the library as a hint. It has been so long since I was involved with netgraph (over a decade) that I really don't remember.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EAF842D.3080909>