Re: Xtables2 Netlink spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 16, 2010 at 03:22:07PM +0100, Jan Engelhardt wrote:
> On Thursday 2010-12-16 15:05, Thomas Graf wrote:
> >
> > -> FOO_GET (seq=1, NLM_F_REQUEST)
> > <- FOO_DEL (seq=1, NLM_F_MULTI)
> > <- FOO_ADD (seq=1, NLM_F_MULTI)
> > <- NLMSG_DONE (seq=1)
> 
> Oh great, now the confusion is complete. One person says this, another 
> says something else. Best of all, the Netlink RFC leaves it unspecified, 
> so it's all hearsay, beliefs and Perl5-style ("Source acts as normative 
> reference") referencing. I guess we are doomed until the original 
> Netlink3549 authors step up and tell us their intentions.
> 
> As I see it, we need a discussion to specify what is to be done with 
> unspecified parts, with 3549 as an origin.

The RFC was not written prior to the implementation but after it has
been around for a while.

The current netlink code implementation defines the standard. It is the
standard because we have not been breaking it and will never do.

Netlink is very open minded, it does not care if individual protocols
define their own semantics. Most will never make use of the above but
it is perfectly legal to do so.

NLM_F_MULTI && NLMSG_DONE is simply a way to have the receiver
continue recieving and parsing. The flag states "Wait, be patient,
my reply consists of multiple messages" and nothing more.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux